{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"AuroraAppKt.AuroraApp (cyclomatic 211): AuroraAppKt.AuroraApp has cyclomatic complexity 211 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f11495b269cd67553fa762de0904f02f5b6067612ddf9324b0fc9cb8c01dd8"}},{"ruleId":"D1","level":"warning","message":{"text":"AuroraAppKt.Shell (cyclomatic 209): AuroraAppKt.Shell has cyclomatic complexity 209 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26915ba14d56b51806d5da13339dd2075f4b1b6c59a7b0b11f33e6d8ba8ae05"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackAudioOutput.reportLocal (cyclomatic 167): PlaybackAudioOutput.reportLocal has cyclomatic complexity 167 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a74e207febcc0355ab1642390253cb73bfeb9c4acd6ef07ab7fda9e204963"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerScreenKt.PlayerScreen (cyclomatic 128): PlayerScreenKt.PlayerScreen has cyclomatic complexity 128 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2720dd93cfc5694b2f13f38707dbc02423af67d85daf3736014647125c7c58a"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cyclomatic 105): DetailScreenKt.DetailScreen has cyclomatic complexity 105 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9efc1e185683d9079795de524f6f62104acd7d69f429f0f44e1813b54322d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerScreenKt.PlayerScreen (cyclomatic 102): PlayerScreenKt.PlayerScreen has cyclomatic complexity 102 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d324169963ce6996ec2b3d075d30609a11804393bd589fa2185d212c222b8f3"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cyclomatic 88): DetailScreenKt.DetailScreen has cyclomatic complexity 88 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"10df3e0baf4f21d711d73b431d52d24076d015b7ee402632180554d55738d7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbAudioDescriptors.parse (cyclomatic 85): UsbAudioDescriptors.parse has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8565161f2c45cf141eae782f19cc9d3a2c5ac5799d3ff9d033f4610bc7193"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceAligner.place (cyclomatic 68): VoiceAligner.place has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"39591fb55679d098133a2a40bdb9c01e66590377b712e10ee39e33144d825e16"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductionSerialRack.compile (cyclomatic 61): ProductionSerialRack.compile has cyclomatic complexity 61 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acce57688c36e451e9432484fcceeae696dcb93fecd3d0cde6c228851bf8f51"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectsScreen (cyclomatic 60): TuningProjectsScreenKt.TuningProjectsScreen has cyclomatic complexity 60 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a231200ff42c602008539226ca3566789071c4533d7c0478542545f81320be4"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectsScreen (cyclomatic 60): TuningProjectsScreenKt.TuningProjectsScreen has cyclomatic complexity 60 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12cd15f3fdf4d5dfdf45a8910e45ba0d4226b554721851693051813b974766f"}},{"ruleId":"D1","level":"warning","message":{"text":"MainKt.main (cyclomatic 57): MainKt.main has cyclomatic complexity 57 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee7b454e4cbd2f51ec88d1e137b7fd2f410135d6639cd44c445479987beb6ef"}},{"ruleId":"D1","level":"warning","message":{"text":"SignInScreenKt.SignInScreen (cyclomatic 54): SignInScreenKt.SignInScreen has cyclomatic complexity 54 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3edf4d24c0d160a1e559b646b1927c918373113f368ac38c2f30b2658d4cf57"}},{"ruleId":"D1","level":"warning","message":{"text":"ListItemsKt.SongRow (cyclomatic 53): ListItemsKt.SongRow has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d8598d33a257c6d0cbf343edfeaefaf157f7426c0eeb4a4fe261d1fa9cf86d"}},{"ruleId":"D1","level":"warning","message":{"text":"PodcastClient.parseFeed (cyclomatic 52): PodcastClient.parseFeed has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f293a38348673f2be8f38354d5a3b3988cd9d398f3c872e5d038a800e5dc3ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"PodcastClient.parseFeed (cyclomatic 52): PodcastClient.parseFeed has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5afd373e5fb27546f50bb6a21a2407a46b4761643b561a8ed8a36e3e16d47"}},{"ruleId":"D1","level":"warning","message":{"text":"ListItemsKt.SongRow (cyclomatic 50): ListItemsKt.SongRow has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e665eb9d99bd81fd96890ec58215d9b1eb44f6819b0d09f7c16ddf6d2729ed98"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.ProcessingRackScreen (cyclomatic 48): ProcessingRackScreenKt.ProcessingRackScreen has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b041048ffa7200813eabafb76ad439c4f38fb12fa0ba2a815a318e39d5b0dfc9"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcertAcoustics.room (cyclomatic 47): ConcertAcoustics.room has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1090abcbe9c3cd8a6d718efe5ec4a79752b4918f619f119595bc3f0ebf1e1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"MixScreenKt.MixScreen (cyclomatic 47): MixScreenKt.MixScreen has cyclomatic complexity 47 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96b19fb9c560a903911e11c138e9bf684c23892e69d635f5e95ea44526cb1e"}},{"ruleId":"D1","level":"warning","message":{"text":"LyricsScreenKt.ImmersiveLyrics (cyclomatic 46): LyricsScreenKt.ImmersiveLyrics has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5891328b1b2cc7e1569c6d656aa29bf0cd992797e0f1fbdac1b72c7617d4e2"}},{"ruleId":"D1","level":"warning","message":{"text":"MixScreenKt.MixScreen (cyclomatic 46): MixScreenKt.MixScreen has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef739c7243ced4f7a7926ab0bf5d487aaa3e6a735194c4d5290f65205d4f266"}},{"ruleId":"D1","level":"warning","message":{"text":"DjPicker.rate (cyclomatic 46): DjPicker.rate has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2c9b00df8cebfc887fb407574de499428a1157cdf80752e79769511ac06ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.ProcessingRackScreen (cyclomatic 45): ProcessingRackScreenKt.ProcessingRackScreen has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6043e4fbe56a5748ebb4485b69f3e25c49fd641f5c458b8ae7217fd54a6c043"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetRuleEngine.evaluate (cyclomatic 43): PresetRuleEngine.evaluate has cyclomatic complexity 43 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/rules/PresetRuleEngine.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fb6d4ed6082d1169e4d4cbecde2ca0f07bd073a677d9aae50a80a7ab5e9e5f"}},{"ruleId":"D1","level":"warning","message":{"text":"DjKeywords.parse (cyclomatic 42): DjKeywords.parse has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjKeywords.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5649e30d7b57c5fa0f7301290608d4cfae79791650196d1cc899d9bc5833ce7"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackService.serviceListener (cyclomatic 41): PlaybackService.serviceListener has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92e78164adfafcdb344eda2942c853f7db2572c28b3debf589b1fc65585ada9"}},{"ruleId":"D1","level":"warning","message":{"text":"MeasurementTextImporter.parsePoints (cyclomatic 41): MeasurementTextImporter.parsePoints has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/MeasurementTextImporter.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c2b5925dac29e822ff4c099cf0bbe17ff0ee94d0cb5fe6a7cf88e8857cc9f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cyclomatic 39): SettingsScreenKt.SettingsScreen has cyclomatic complexity 39 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bf6a571b71efd689b501911c3205c24f90b2f4f1f51d30d05b994178bca962"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackSwipeActionsKt.TrackSwipeActions (cyclomatic 38): TrackSwipeActionsKt.TrackSwipeActions has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593b9da5ffd00e307a355bd9417c1ea8c1a025ebbf3923cdaa57c55b282109c"}},{"ruleId":"D1","level":"warning","message":{"text":"SignInScreenKt.SignInScreen (cyclomatic 38): SignInScreenKt.SignInScreen has cyclomatic complexity 38 (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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc1ff85428dbd3e779ed69d7aa0fc724fc06570a647804ed708c80f1a42a22"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cyclomatic 38): HomeScreenKt.HomeScreen has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f60068ad490be04dca56c5ac2cc8abc521b18a3269b8927d1001b37f154ec"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopConnectHost.execute (cyclomatic 38): DesktopConnectHost.execute has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnectHost.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe356759f5f0f224249e2fa323c4300f338f5179b5bde4617abd34a01d05a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutsKt.macShortcut (cyclomatic 38): ShortcutsKt.macShortcut has cyclomatic complexity 38 (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":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e28da7a080166efbd2e521728a9ee2a13b132e80a1a22ab6c17c808c2e947a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalLibrary.scan (cyclomatic 37): LocalLibrary.scan has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a215d8da199b58fde4dfb267c18c119260b37d50db50da4904dbabead1d6d8d"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cyclomatic 37): SettingsScreenKt.SettingsScreen has cyclomatic complexity 37 (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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8f53047cae01183124b8caa4405682d337aa7e7c4fd32bf61e58875a7a8276"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerCanvasKt.VisualizerCanvas (cyclomatic 37): VisualizerCanvasKt.VisualizerCanvas has cyclomatic complexity 37 (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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ad4ca535c5f002635091c3b9576356052f598ec10f80017a5a8d66fd84ba3a"}},{"ruleId":"D1","level":"warning","message":{"text":"SignalPathKt.buildSignalPath (cyclomatic 37): SignalPathKt.buildSignalPath has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SignalPath.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f715e1c105cdff48d4b7393014bfa7e0c95fe7b268a75cfb15a121e0c77582ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ReverbKernel.process (cyclomatic 37): ReverbKernel.process has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d987eb6152e2004b10c2ce23dcb88334b10f94c2386877b1a8285bf1f5021"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutsKt.pcShortcut (cyclomatic 37): ShortcutsKt.pcShortcut has cyclomatic complexity 37 (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":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad5928099a634fda430059e8aca4c846693659b3a40c5e88da227143788361"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackDockKt.PlaybackDock (cyclomatic 37): PlaybackDockKt.PlaybackDock has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9e2455572de773b80e161e7cc88208fc79542827db1045f648b52c20e42d93"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerCanvasKt.VisualizerCanvas (cyclomatic 37): VisualizerCanvasKt.VisualizerCanvas has cyclomatic complexity 37 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f37f991e971801d416a195ec0a78e1f2b759d842caf9c92c72f85edae395a"}},{"ruleId":"D1","level":"warning","message":{"text":"MixPlayer.tick (cyclomatic 36): MixPlayer.tick has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixPlayer.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef76bfb6b07b85596df3f71f2354cdf1d4591b484f2cc3123babd77deb8f40"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cyclomatic 36): LibraryScreenKt.LibraryScreen has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e150bfa38359fec76a56a0032140fe3921771553281c093f63a7ed6f60e335c0"}},{"ruleId":"D1","level":"warning","message":{"text":"SourcesSettingsScreenKt.SourcesSettingsScreen (cyclomatic 36): SourcesSettingsScreenKt.SourcesSettingsScreen has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7536042ad0ad76f238428a2b0b8eb43f83618ff70e0878db00a074b1e712292"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ConvolutionLibraryScreen (cyclomatic 35): ConvolutionLibraryScreenKt.ConvolutionLibraryScreen has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b093e56b925d9f1bcd19812ac0f5d91267633583aecb338f0b9242411c1c43b"}},{"ruleId":"D1","level":"warning","message":{"text":"EqEditorKt.EqCurve (cyclomatic 35): EqEditorKt.EqCurve has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a081d2617e217f724bbd1586877a6775c14d493b08fdd5ba2c9f2660e4de8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"EqEditorKt.EqCurve (cyclomatic 35): EqEditorKt.EqCurve has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d325b3f19ec09591f1a82eac92b026db754410e49c74b1755e247831236e8784"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkCompressedDecoder.decode (cyclomatic 34): NetworkCompressedDecoder.decode has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/audio/NetworkCompressedDecoder.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40053989886a3f59ccd74238f23bceb95db7b4aae3e69014f507078badc21d8"}},{"ruleId":"D1","level":"warning","message":{"text":"CrowdNoise.events (cyclomatic 34): CrowdNoise.events has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb71558fd9a39e9725c54520303c28925b0e8b74a12ff69342d466bf852c21c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImpulseResponse.loadWavResult (cyclomatic 33): ImpulseResponse.loadWavResult has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/ImpulseResponse.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"936d890c9fdf3174fc33a03bdf8c89f09ae526189f9c08f19bcf13db8f359fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"LyricsScreenKt.ImmersiveLyrics (cyclomatic 33): LyricsScreenKt.ImmersiveLyrics has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0e15a54d52cb7d4c71bb40682c923e57fb86de99227a0cf71c33b3f721e53c"}},{"ruleId":"D1","level":"warning","message":{"text":"SonicFeatures.analyzeSamples (cyclomatic 32): SonicFeatures.analyzeSamples has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"33900d6d277ba684a0edca1bf1729916c6aa557fb2b36773d4819169a6c9e3fe"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueScreenKt.QueueContent (cyclomatic 32): QueueScreenKt.QueueContent has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30eda8745c0097ac2468cce317eacc255bbac6e1db0112e41db11ac511367ee"}},{"ruleId":"D1","level":"warning","message":{"text":"AppUpdateCardKt.AppUpdateCardContent (cyclomatic 32): AppUpdateCardKt.AppUpdateCardContent has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ee7a48536341c1bb12a0ae99bcaabc92cca45af0b114b9d854db7ad81b14d"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointServer.handle (cyclomatic 32): EndpointServer.handle has cyclomatic complexity 32 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/EndpointServer.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fec09a2bd022856d89555c973a453ef3a0d905e310541ccc03233ab4bbd46b"}},{"ruleId":"D1","level":"warning","message":{"text":"SonicFeatures.analyzeSamples (cyclomatic 32): SonicFeatures.analyzeSamples has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0edae6b847c8c1a74d673053d9d43440e773fa7ca88b2b679581e26cf50064"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayer.run (cyclomatic 32): VideoPlayer.run has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f37c699366dd8a1852c014643978cf18cd9181bc0e3312b91e515b7654d2e8d"}},{"ruleId":"D1","level":"warning","message":{"text":"DjEngine.nextSet (cyclomatic 31): DjEngine.nextSet has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"607a9f90690442b5880dbd563b7b84da3ad8cabd7fa1d61463ec0ac2ea1b70e6"}},{"ruleId":"D1","level":"warning","message":{"text":"RackEqTextCodec.parse (cyclomatic 31): RackEqTextCodec.parse has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/RackEqTextCodec.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e3e9f003c2343ab1474563993c3663182597cb9578384da3f518dae147af9"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtworkRepository.open (cyclomatic 31): ArtworkRepository.open has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc72d5f01bae5a404fb6480fcc7a1a5f5af5861e226f9b64bae1083ec6877ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ConvolutionLibraryScreen (cyclomatic 31): ConvolutionLibraryScreenKt.ConvolutionLibraryScreen has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3c339f8e9562e40f0853fe3aa5c2ddb410c57a22e2f65ff71ddc8a1ad272a6"}},{"ruleId":"D1","level":"warning","message":{"text":"DsdExtractor.readDffChunk (cyclomatic 30): DsdExtractor.readDffChunk has cyclomatic complexity 30 (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":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1bac8b482388a87316d68e51bc69680973414fe2aff406c9f5933a7c65097c"}},{"ruleId":"D1","level":"warning","message":{"text":"SongSourcesMenuKt.SourcesMenu (cyclomatic 30): SongSourcesMenuKt.SourcesMenu has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd56e77e3e2c3a702434957e8e9df24fb0dd739dd289329cf891503ea85458"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerController.analyseLoop (cyclomatic 30): VisualizerController.analyseLoop has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/VisualizerController.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3df0fbaf6d51e3bd14a16c3a3adc0d96a5f321445c0cbc423cbfc6dafcebc84"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectJson.command (cyclomatic 30): ConnectJson.command has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/ConnectProtocol.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"529fb660fc7ff0268965023ead6dbf2b40c0e116fa42487b935066978c5115b9"}},{"ruleId":"D1","level":"warning","message":{"text":"SongSourcesMenuKt.SongSourcesMenu (cyclomatic 30): SongSourcesMenuKt.SongSourcesMenu has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0d84d9cec2b912d82581033d877a553e4ae39fc5648e048fbeec70d6ad0d54"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackFades.maybeBeginXfade (cyclomatic 29): PlaybackFades.maybeBeginXfade has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackFades.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcb463572456fb937c27e4bf68af8f19cbec6d7e6b41cf1a5465b7d58af22ff"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkPlaybackBridge.executeAuthorized (cyclomatic 29): NetworkPlaybackBridge.executeAuthorized has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkPlaybackBridge.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"88458c09614fb1cc44177e64897762d5a505ce6194ca152a1d89e0200070b268"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackPlaylistsSheetKt.TrackPlaylistsSheet (cyclomatic 29): TrackPlaylistsSheetKt.TrackPlaylistsSheet has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fe10597d2b0e502a0c25de30180e772aa7e2cc421ae2376ac257d4d706c404"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningFitSettingsDialogKt.TuningFitSettingsDialog (cyclomatic 29): TuningFitSettingsDialogKt.TuningFitSettingsDialog has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17b522be06ab2857456cbfc210f4af03811078c0bca7f93e0db1762859caf1"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartPlaylistEngine.matches (cyclomatic 29): SmartPlaylistEngine.matches has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SmartPlaylists.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e4fe3dc4dbecfd89dbb3b1f28d741cb437d17ab949cb660e8a62c120ee8417"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoMixPlanner.plan (cyclomatic 29): AutoMixPlanner.plan has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/mix/AutoMixPlanner.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3cbbdd5678ebe657a13700a3dbc94d4ebe44eb340b9d96a650dc67d21c2d67"}},{"ruleId":"D1","level":"warning","message":{"text":"RendererJson.command (cyclomatic 29): RendererJson.command has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererJson.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e7ad1d817c4603cf081dff3fa4020b26098b1b921d4107c0573c6cc51382ea"}},{"ruleId":"D1","level":"warning","message":{"text":"EngineSignalPathKt.signalPath (cyclomatic 29): EngineSignalPathKt.signalPath has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6b4b0e5a3d37e1884062662f6cd92ec30b7173e5aa9c3326c7db31cd762cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppUpdateCardKt.AppUpdateCardContent (cyclomatic 29): AppUpdateCardKt.AppUpdateCardContent has cyclomatic complexity 29 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b6481442301f37026f1a62418bd0422546e3813f0ccb9f11e658ffb2cb1d0"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningFitSettingsDialogKt.TuningFitSettingsDialog (cyclomatic 29): TuningFitSettingsDialogKt.TuningFitSettingsDialog has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0624f4ddb14f0951e7a19b79dd1b7cbaa5c3acb6bffbc665ce46c61588a270"}},{"ruleId":"D1","level":"warning","message":{"text":"ListeningStatsScreenKt.ListeningStatsScreen (cyclomatic 29): ListeningStatsScreenKt.ListeningStatsScreen has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ea53ea345a458953db588ca96565667aadf60335f5de462618896d69daaa9"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbAudioSink.handleBuffer (cyclomatic 29): UsbAudioSink.handleBuffer has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f54c24ba3c54787a91018a3b7857645e8d5d42e466ee21d3c6aa450677885c"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackListeningDetails.context (cyclomatic 28): PlaybackListeningDetails.context has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab49038a808054b18c90e207c5c24bc2fded30c2e6804a8e1fb10a369b0713"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidConnectHost.apply (cyclomatic 28): AndroidConnectHost.apply has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6933e6b8f8ebc04f9862fa504f68d7fb864b681acd853faec30199b8a0bdbe"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectNetworkPreparer.inspect (cyclomatic 28): DirectNetworkPreparer.inspect has cyclomatic complexity 28 (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":"app/src/main/java/com/aurora/music/playback/network/audio/DirectNetworkPreparer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dca0d58725fe16aac23073eac216f5612383dab29c7eaee8215910a79e9676"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeKt.auroraTypography (cyclomatic 28): TypeKt.auroraTypography has cyclomatic complexity 28 (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":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"638f42990577440ff794ac86fd583708a573aa0eff9e6c319be3c960540fbb1f"}},{"ruleId":"D1","level":"warning","message":{"text":"LyricTimingKt.syllables (cyclomatic 28): LyricTimingKt.syllables has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72d5bf683e88ba9ad6862ad761c672d3a54831a1e9ce2d4ee273389b5850c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"RackHeadroomAnalyzer.analyze (cyclomatic 28): RackHeadroomAnalyzer.analyze has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19bbb7ac8945bdccf00fb084a6d99cc6bbfd59d211bc3c8e9bff43e053c0a67"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackPlaylistsSheetKt.TrackPlaylistsSheet (cyclomatic 28): TrackPlaylistsSheetKt.TrackPlaylistsSheet has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3083b9466193aae062f7f774ab8f8c593929a19cb0ad9ea2eeb4998633402047"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessedNetworkRenderer.decode (cyclomatic 27): ProcessedNetworkRenderer.decode has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/audio/ProcessedNetworkRenderer.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2cbe0bbf20141e7d2995d934e8c88514eb46acf527a06d6a6cb16acd5fb1e9"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualizerScreenKt.AutoEqPanel (cyclomatic 27): EqualizerScreenKt.AutoEqPanel has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3afb59f434920b6c7ef49947d982dc921babf68ce83a7be06b34ae965dde300"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackService.customCommand (cyclomatic 26): PlaybackService.customCommand has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e686621566074e568100fa2644ecb73af9b143ddd0f5188c987a6efe13af6"}},{"ruleId":"D1","level":"warning","message":{"text":"DragToDismissKt.DragToDismiss (cyclomatic 26): DragToDismissKt.DragToDismiss has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"85de61e0a50e26f19fe687d378f70ec462e3a01103f9c4281669240eeeceaec1"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupArchive.decodeJson (cyclomatic 26): BackupArchive.decodeJson has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65445ca6c08031624cfded0864cfe56c592606b6c57ef04a0a3663f3394566c"}},{"ruleId":"D1","level":"warning","message":{"text":"RackHeadroomAnalyzer.graphBound (cyclomatic 26): RackHeadroomAnalyzer.graphBound has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6c7c32839873fe570f2ada0da32db2023f9a442b11f43029a9fd7c26dd651"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonRenderer.decode (cyclomatic 25): ComparisonRenderer.decode has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bb6f23b7f1c20fa94485cafebd8fcbfe490be886b3193d67474c9662a2176d"}},{"ruleId":"D1","level":"warning","message":{"text":"RackAdvancedControlsKt.RackAdvancedControls (cyclomatic 25): RackAdvancedControlsKt.RackAdvancedControls has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e82010351b732cebaf3915085725086d5ae1b7c60a3eb9fd1fb5f57f4c1fb51"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectEditor (cyclomatic 25): TuningProjectsScreenKt.TuningProjectEditor has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7e45f3dd59b8721134784d7903e681bd408e7aa9bff2e21946140cb8d0406"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopListeningDetails.context (cyclomatic 25): DesktopListeningDetails.context has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"840a078ee78686489bd517ffaf7d1dd00c6cdd21d954a166dcf035dd86b34bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"RackAdvancedControlsKt.RackAdvancedControls (cyclomatic 25): RackAdvancedControlsKt.RackAdvancedControls has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"173ce03059f28d79d15868c59f056caabde73c90b7e8b6329fbe84ffdc88b22e"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectEditor (cyclomatic 25): TuningProjectsScreenKt.TuningProjectEditor has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"df36fbee6824eb43220b9c8e11fa60e42f3e4dd22f6317b5150cdf0d81f3bb45"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingPresetsScreenKt.ProcessingPresetsScreen (cyclomatic 24): ProcessingPresetsScreenKt.ProcessingPresetsScreen has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dfb1072a5ef5e61c8cb2e682edaccb0f4a4eaee8dcf9c095fca134fe589c10"}},{"ruleId":"D1","level":"warning","message":{"text":"RackEqTextDialogsKt.RackEqImportDialog (cyclomatic 24): RackEqTextDialogsKt.RackEqImportDialog has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e8c472d57d9bc06c17226e761c072e5c2ebc1f44119111f23ca4d6061f477b"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningMeasurementDialogsKt.TuningMeasurementImportDialog (cyclomatic 24): TuningMeasurementDialogsKt.TuningMeasurementImportDialog has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d9f73c78dca013dae940ea9203030d4aa12857736f9f943d28578b5b4b9618"}},{"ruleId":"D1","level":"warning","message":{"text":"CueSheets.parse (cyclomatic 24): CueSheets.parse has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/CueSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb541dda72ddc6cd5b3e6aa2248e1e8d4e229020ef987c5c2030417a4c08af82"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeKt.auroraTypography (cyclomatic 24): TypeKt.auroraTypography has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcd028a89a3658c30158c2bfbb4a970ff47b09f52f1ec04be7496ae64213b4"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchScreenKt.SearchScreen (cyclomatic 23): SearchScreenKt.SearchScreen has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe508de6d703d558312727605f6a8566a43a283ff841566cc94f195550396f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonScreenKt.ComparisonScreen (cyclomatic 23): ComparisonScreenKt.ComparisonScreen has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed687ff2734cb75c3a7cc4c05b30be33f555031bc2a7019eefba1a5610e789e2"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ImpulseDetails (cyclomatic 23): ConvolutionLibraryScreenKt.ImpulseDetails has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110e7f770e4e078e9c2b4ed23dd3afdda5515d628e4117b39aaf5fceb8a7a8f"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerViewModel.syncFromController (cyclomatic 23): PlayerViewModel.syncFromController has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a276973a2608de29014e5cecc27786852d45aa346b59e36267219a668c26aeb2"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeMusicPlaybackTracker.report (cyclomatic 23): YouTubeMusicPlaybackTracker.report has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/YouTubeMusicPlaybackTracker.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9837abe242646c5564fadca67928bd6c8aece725b43246b5c88e980f15a29cc3"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeMatcher.playbackCandidates (cyclomatic 23): MergeMatcher.playbackCandidates has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/MergeMatcher.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1ea1da16dfb88c6873a643722a32c79f35a202151ebffbb27ed7bdf827c9e4"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedHttpServer.writeResponse (cyclomatic 23): BoundedHttpServer.writeResponse has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/BoundedHttpServer.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae6e7894675887064c8f82d7c66c63983d84bcf5678e30c6cf7d06d65286b37"}},{"ruleId":"D1","level":"warning","message":{"text":"MixDeck.render (cyclomatic 23): MixDeck.render has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/MixDeck.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a796e247c7bc6abeb2baaea813d8ff7b61d0d745e795b15c146660ae122269"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cyclomatic 23): HomeScreenKt.HomeScreen has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6fc5c1c2a21dd28469830dedd6b0755ca5af426a2b00acbe42bf9b8db50abc"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchScreenKt.Results (cyclomatic 23): SearchScreenKt.Results has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edfa24efccdda61dedbf169f25a67d911de6fb153e77f6066b46fa8be20f91b"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonScreenKt.ComparisonScreen (cyclomatic 23): ComparisonScreenKt.ComparisonScreen has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"704724b20f6f9476b3be1f4b60c99cc0bc4b144cffde76dac8cf820376a06991"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ImpulseDetails (cyclomatic 23): ConvolutionLibraryScreenKt.ImpulseDetails has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3e126c25e079d8efcd666dd06d1e0a68b88e9bdff6549e20794a898ca9c46"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningMeasurementDialogsKt.TuningMeasurementImportDialog (cyclomatic 23): TuningMeasurementDialogsKt.TuningMeasurementImportDialog has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e98c8cb547aec226c746766a59a5232244dbe40d921bf9db8ff3d383c688a86"}},{"ruleId":"D1","level":"warning","message":{"text":"HapticOutput.tap (cyclomatic 22): HapticOutput.tap has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/MusicHaptics.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4f99bb6656b723ff9536c15757def79de712caf5b69b6b6418e4c6c3d85946"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackService.updateSignalPathSnapshot (cyclomatic 22): PlaybackService.updateSignalPathSnapshot has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1aaedc0c9d91e4c7ade399c685592910876a17ab605d9fb764fc1dc30180ca"}},{"ruleId":"D1","level":"warning","message":{"text":"YoutubeResolver.findMusicVideo (cyclomatic 22): YoutubeResolver.findMusicVideo has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b256eaadda4f60828839d21bf72fc7891f5d40004382650b6e58b3165f7a873"}},{"ruleId":"D1","level":"warning","message":{"text":"RendererMediaCache.receive (cyclomatic 22): RendererMediaCache.receive has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/RendererMediaCache.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfcd97e46101c3ea2f6062e5ce9012b4218bc5fc0fa39af1b87765a6cf78a83"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.RackNodeEditor (cyclomatic 22): ProcessingRackScreenKt.RackNodeEditor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce42952c7b860c01f3bc6593d8b411c39f45e3aadebd020ff1a3c67a8ea70bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileLyrics.fromSylt (cyclomatic 22): FileLyrics.fromSylt has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/FileLyrics.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"57453e5bdfe323a5bf0586074870f8bfceab5f04636f32c8f19583b66517b1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"LyricsRepository.lookup (cyclomatic 22): LyricsRepository.lookup has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc5ceafdb4b0e75dec530c4380b68ee0a72124666afe3f06556f71541967570"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingPresetBundle.validateImpulseResponse (cyclomatic 22): ProcessingPresetBundle.validateImpulseResponse has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7026872ef9b832f787fef0f8bb84210d77905d026340498213c56a9c57fe136c"}},{"ruleId":"D1","level":"warning","message":{"text":"PcmLevelMeter.observe (cyclomatic 22): PcmLevelMeter.observe has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"12290457a194a132e0b91aee7ff3d7c5f15e418f432b78922e3a2f39f3187a05"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedHttpServer.readRequest (cyclomatic 22): BoundedHttpServer.readRequest has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/BoundedHttpServer.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d72133cd78137856ecc46267a672e56d1cac45db8086b56357765277c9a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptionFrame.onFrame (cyclomatic 22): CaptionFrame.onFrame has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/platform/CaptionFrame.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404979a8eddfac457519a2cb1dbbd4f849ad4cb18ae3296d6405c4eb9c43b03"}},{"ruleId":"D1","level":"warning","message":{"text":"YoutubeResolver.findMusicVideo (cyclomatic 22): YoutubeResolver.findMusicVideo has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce0361ce1aa4246fd7f83b26fecd3b48dfa7afd2fa45f762c65bd82e216652"}},{"ruleId":"D1","level":"warning","message":{"text":"WaveformKt.Waveform (cyclomatic 22): WaveformKt.Waveform has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea8faafed08760390cf3e34198d327c538ae785578540f053c21a3c94a3cd57"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cyclomatic 22): LibraryScreenKt.LibraryScreen has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2054d06b712ab8c3e1f83afe91e6994a93b480c254a3409a49ed420bd15b65a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.RackNodeEditor (cyclomatic 22): ProcessingRackScreenKt.RackNodeEditor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be0b8bb5b74ae6e853847d0957366c4343315582c6fb79510f94cee427c9199"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerScreenKt.VisualizerScreen (cyclomatic 22): VisualizerScreenKt.VisualizerScreen has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d641b640f82cab4c0cf479a2193135bf2c1089deb4343cd39551d6ac145840c"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeStylesKt.auroraPanel (cyclomatic 22): ThemeStylesKt.auroraPanel has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b7c15d6d453da0af85b01355a9fcfa6862e08ab46a14ec44a4503dce24d589"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkQueuePlayer.load (cyclomatic 21): NetworkQueuePlayer.load has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"455c7f24509f4f4a6399ddc652daeb6a0ffbdd869ff1be88e837617b813e505a"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeMusicStepKt.YouTubeMusicBrowser (cyclomatic 21): YouTubeMusicStepKt.YouTubeMusicBrowser has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a419084d03ee27ee9dac4845a19ebc4db06fd15e165b19465153aa01e9ffc6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportPlaylistSheetKt.ImportPlaylistSheet (cyclomatic 21): ImportPlaylistSheetKt.ImportPlaylistSheet has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ad3cc00dac4356847e94488debf85e7083f408f3519fc435a24cbc7236adca"}},{"ruleId":"D1","level":"warning","message":{"text":"LyricsScreenKt.LyricsScreen (cyclomatic 21): LyricsScreenKt.LyricsScreen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7145933f09c6f8b5509988d5bcdfbcebbd961439167ab8761a32d6a34987460"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerScreenKt.VisualizerScreen (cyclomatic 21): VisualizerScreenKt.VisualizerScreen has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5219ea53daaef416c6e81c577aefb932031d86667b0fcd72bd7dc2561ddfdc8c"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoEqController.apply (cyclomatic 21): AutoEqController.apply has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7d4e740707a470879939a371017d1b88439cf173bef718e8c8fdbf72ee17e6"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistLinks.parse (cyclomatic 21): PlaylistLinks.parse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistLinks.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ff681309e036f485044e9c1e34d882def611f57561c8ebcd4c3673b7347d87"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicsEffectKernel.process (cyclomatic 21): DynamicsEffectKernel.process has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5cd88ca3e2e51868f483ac2b57181557657aa226f0b27eedfdf58b9b7dc22e"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkWaveSource.inspect (cyclomatic 21): NetworkWaveSource.inspect has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/audio/NetworkWaveSource.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e136f698aa3226db95e865ce03a7be0770ec3d80eb7c1aaaef9cc8a166997b5"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopMixPlayer.run (cyclomatic 21): DesktopMixPlayer.run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/DesktopMixPlayer.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"925a054b225cdfa9cabae1a59ff5e1a92ddf740cc5b0317e91c1b56aec9c08be"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopPlayer.sync (cyclomatic 21): DesktopPlayer.sync has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be6b0e297e61d677c0e19cadee0dcb57d59bfdb2157381fe836db2547711e85"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileImages.import (cyclomatic 20): ProfileImages.import has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/ProfileImages.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef0e05613817ece5c70d2586a9e3395aec6211f65c416ce838b684b07579111"}},{"ruleId":"D1","level":"warning","message":{"text":"YoutubeResolver.resolvePlayback (cyclomatic 20): YoutubeResolver.resolvePlayback 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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8116236436f7f13a919cd3196d6df0d66a53454f8cbacd0f59b109553cf56c5"}},{"ruleId":"D1","level":"warning","message":{"text":"WaveformKt.Waveform (cyclomatic 20): WaveformKt.Waveform has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"103946299fdccdd884b9039422759547671af866f5e4cf9838dc349d836ea1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.RackBandDialog (cyclomatic 20): ProcessingRackScreenKt.RackBandDialog has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9f5876dd5cec970ca62aefa70099efe0f0fe600f7b9718e0befeda9b6deb7"}},{"ruleId":"D1","level":"warning","message":{"text":"InsightsScreenKt.InsightsScreen (cyclomatic 20): InsightsScreenKt.InsightsScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f63b457c76f61844eadd900bab4de68f2519e1111bc5eac2e868f0f077b8294"}},{"ruleId":"D1","level":"warning","message":{"text":"ListeningStatsScreenKt.ListeningStatsScreen (cyclomatic 20): ListeningStatsScreenKt.ListeningStatsScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"70611ffc7e9864f9bbf0d2a7ec9d9d15a94b854c6c4754af6f6deebb34442e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ListeningMath.estimate (cyclomatic 20): ListeningMath.estimate has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/listening/ListeningLevels.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"acda46429d67a8528b799e520298e5ccf48062de3eb63134a6253890f798ff7e"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetSettingsStore.transitionPresetRule (cyclomatic 20): PresetSettingsStore.transitionPresetRule has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b04aa4c49d2276a116ec1f020b1ffdb0b047cfd953731fbeead57b0c4194c6"}},{"ruleId":"D1","level":"warning","message":{"text":"PrecisionDspCoeffBuilder.cascade (cyclomatic 20): PrecisionDspCoeffBuilder.cascade has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionDspCoefficients.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aabb5b69acbc62ba1bd343029fecda3725f8bbe221ee3f5f1d5de7ff8788568"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeDownloader.remux (cyclomatic 20): YouTubeDownloader.remux has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"125343c1d59220ce030c9c2000c0b870b3c54c83a0c3c3584eb4d618a423fe5c"}},{"ruleId":"D1","level":"warning","message":{"text":"MixAnalyzer.decode (cyclomatic 20): MixAnalyzer.decode has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"57577ed77614114f7228a11c6569f2e304e38659edb07b2bf550373d1c92d35d"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportPlaylistDialogKt.ImportPlaylistDialog (cyclomatic 20): ImportPlaylistDialogKt.ImportPlaylistDialog has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfab7049e3d6a3d38017396794e19dd7c330a758ba6f80019eca54618a303554"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueScreenKt.QueueContent (cyclomatic 20): QueueScreenKt.QueueContent has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"556dfe530bee7976ee37dbb8b581a1a21871e524f09e9e87545b4e518168894f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingRackScreenKt.RackBandDialog (cyclomatic 20): ProcessingRackScreenKt.RackBandDialog has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd80594f6eb1a78d09e79bf3f252f65451b4053b1ad7eac69f7d0f8236313d88"}},{"ruleId":"D1","level":"warning","message":{"text":"RackEqTextDialogsKt.RackEqImportDialog (cyclomatic 20): RackEqTextDialogsKt.RackEqImportDialog has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3ee81a34288e2cb1296514de39ad95d2ca93943f10c87986213f443a91f813"}},{"ruleId":"D1","level":"warning","message":{"text":"SourcesSettingsScreenKt.SourcesSettingsScreen (cyclomatic 20): SourcesSettingsScreenKt.SourcesSettingsScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c5186945633cc96a1e4cee46bb2c844f5512950afaa4f847de6993b8f64d29"}},{"ruleId":"D1","level":"warning","message":{"text":"InsightsScreenKt.InsightsScreen (cyclomatic 20): InsightsScreenKt.InsightsScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fc088cfcb4db9a478413f4806805ceed14b8a834f669558f9b2a80425e4b70"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryViewModel.load (cyclomatic 20): LibraryViewModel.load has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af586c93f1f582821612d6a065aa4627fbdaf7be15868fd70b4bc2aa476eafb"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbStreamingThread.run (cyclomatic 20): UsbStreamingThread.run has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbStreamingThread.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"97acf4120bc7d333c32edfe66af64aad582aca9f19be1065dc482bc9168121d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionManager.loadTracks (cyclomatic 19): ExtensionManager.loadTracks has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/extensions/ExtensionManager.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5395c51e6efdf312c7b3dc38581c0d8d58d735d5edff44cebd0c2083c955f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackService.startAudioObservers (cyclomatic 19): PlaybackService.startAudioObservers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b1b8472afd7a82a171404e2e15e2b41d35dfa1b33f19a61eb1c2c78d76368"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoFingerprintMatch.plan (cyclomatic 19): VideoFingerprintMatch.plan has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb0f2958d171a61e4539fbafe60183576cf85a41d4f6057654290862f317afc"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountsScreenKt.AccountsScreen (cyclomatic 19): AccountsScreenKt.AccountsScreen has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b34a0577d540fed4c6d482a2e1f73b8d8ca5d0667faab90e82c602a713b13e"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonViewModel.start (cyclomatic 19): ComparisonViewModel.start has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a96597f07d67f54dd948a4974267553b7096b850a0651c29b8b6a204450646"}},{"ruleId":"D1","level":"warning","message":{"text":"DjPicker.pick (cyclomatic 19): DjPicker.pick has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa29b22ddd8d2dbc1ca0c2a784df72c40c3f805dd295c11db41009b13d284823"}},{"ruleId":"D1","level":"warning","message":{"text":"AppleMusicClient.request (cyclomatic 19): AppleMusicClient.request has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/AppleMusicClient.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a1fdc786b8c5aac2fb86b0ddfb7e461ac6f313079da61882db4c87d836724d"}},{"ruleId":"D1","level":"warning","message":{"text":"PrecisionBlockProcessor.queueInput (cyclomatic 19): PrecisionBlockProcessor.queueInput has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb8551aea42adc72239ab893b221dad7759dc1bee46021a8c4677809d9f7735"}},{"ruleId":"D1","level":"warning","message":{"text":"DsdHeaders.dffSoundProperties (cyclomatic 19): DsdHeaders.dffSoundProperties has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/dsd/DsdFormat.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231bc572462f0db0c84f82e2d5868be6cf816447f0d734d0ce8179031ad5c80"}},{"ruleId":"D1","level":"warning","message":{"text":"Download.run (cyclomatic 19): Download.run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/AudioCache.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88edefe1806beaad7878c4a4e0fea31f0ef477226152417dd389c30aaf7171e"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoFingerprintMatch.plan (cyclomatic 19): VideoFingerprintMatch.plan has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e545f6c65f78b3afc975ff4b620ed1740a37bee9b39f0de8e41801377e199508"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessingPresetsScreenKt.ProcessingPresetsScreen (cyclomatic 19): ProcessingPresetsScreenKt.ProcessingPresetsScreen has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d49132442d5d6907e29396d2dee0df25037cd28adda18d0f152bfac625b6cb"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackService.completeNetworkOutputSwitch (cyclomatic 18): PlaybackService.completeNetworkOutputSwitch has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2636096ba9fa55ffa88fac3d9ee5bac61ae763b25c63253169c609fb435ab11"}},{"ruleId":"D1","level":"warning","message":{"text":"TagEditScreenKt.TagEditScreen (cyclomatic 18): TagEditScreenKt.TagEditScreen has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc73be5368ab8f675db7eeab4875de331e5b2ec8f07ebe3e4ef0795f9852343"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.buildRows (cyclomatic 18): LibraryScreenKt.buildRows has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11e68c802929988332632afb81b5a33b169cfd6bda1e87eb6c5799fc121d9c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ImpulsePreparationDialogKt.ImpulsePreparationDialog (cyclomatic 18): ImpulsePreparationDialogKt.ImpulsePreparationDialog has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b0b0444f886d1badb26e7486413e6c4922f39960cb089c231ba31a4c18f57"}},{"ruleId":"D1","level":"warning","message":{"text":"RackEqResponseCardKt.RackEqResponseCard (cyclomatic 18): RackEqResponseCardKt.RackEqResponseCard has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79bf3f3b2ed3d41efea63e678eea6a0ff15ab0faf1aa4b4e333bb353ae2772"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningTargetLibraryDialogKt.TuningTargetLibraryDialog (cyclomatic 18): TuningTargetLibraryDialogKt.TuningTargetLibraryDialog has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3551a3318432a49bdbd5edec854271c3583da85182e6fd17b827ef0d67560313"}},{"ruleId":"D1","level":"warning","message":{"text":"DjMode.onQueueChanged (cyclomatic 18): DjMode.onQueueChanged has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjMode.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac9bc45b85712a91207784c74fac5e3a1599510f0cacfc618a097f16d7616d1"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceAligner.window (cyclomatic 18): VoiceAligner.window has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85c6f0df3bab99f355578b62834e8038274392649341ae07235d592ae582be1"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeMusicBackend.detail (cyclomatic 18): YouTubeMusicBackend.detail has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be84b57c528644fee6d3b110c27168a6305c78b443cbb01048a8eaa6c32fba4"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaSearchRequest.parse (cyclomatic 18): MediaSearchRequest.parse has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/MediaSearchRequest.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ad50f7cb795b9b5a2d56f353f81cf69d5412c65e8ee2ea9b44509fcdb101a2"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackReportTracker.update (cyclomatic 18): PlaybackReportTracker.update has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PlaybackReportTracker.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0678707d33467cb9d2a601873f2445889a22e1fb109075166293d0c2b22b161"}},{"ruleId":"D1","level":"warning","message":{"text":"PrecisionBlockProcessor.takeOutput (cyclomatic 18): PrecisionBlockProcessor.takeOutput has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8cc0414521ec2bc7975a3b35294a1682fb605a903570fb62255623bb097c53"}},{"ruleId":"D1","level":"warning","message":{"text":"DsdPcmDecoder.push (cyclomatic 18): DsdPcmDecoder.push has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/dsd/DsdPcmDecoder.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f901383b77f43084a98cc71ac7eeeafeaef98a36d189c45ef5f3fa29d92831ec"}},{"ruleId":"D1","level":"warning","message":{"text":"CrowdNoise.next (cyclomatic 18): CrowdNoise.next has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a859dc4b3bdceb6a8d238a2bbdcf663e82a6b8aabe1dbbd227ccf6ddaa6d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.SongsTab (cyclomatic 18): LibraryScreenKt.SongsTab has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"641db1cf8f6e8194faf1d124e2d9924e43d4b91b4df5dd547ee66419209bb929"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualizerScreenKt.AutoEqPanel (cyclomatic 18): EqualizerScreenKt.AutoEqPanel has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"785872b5639a190b72eac3eda61d719e18b9a211d56d4eed0fae6b34730fdb35"}},{"ruleId":"D1","level":"warning","message":{"text":"ImpulsePreparationDialogKt.ImpulsePreparationDialog (cyclomatic 18): ImpulsePreparationDialogKt.ImpulsePreparationDialog has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e976616aee24d8bc6085208e14e72793dad17be165714bc1f773837c45662ed"}},{"ruleId":"D1","level":"warning","message":{"text":"RackEqResponseCardKt.RackEqResponseCard (cyclomatic 18): RackEqResponseCardKt.RackEqResponseCard has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ada94dfe55dd3294448cca91f90fd53a13b17d7b91ce5798403ecaad22ae91e"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningTargetLibraryDialogKt.TuningTargetLibraryDialog (cyclomatic 18): TuningTargetLibraryDialogKt.TuningTargetLibraryDialog has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c28baccb817f2100a88722b386d012b91e79d788f35b6cdff9fdc6b8c9f2a"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbAudioFormat.transportUnsupportedReason (cyclomatic 18): UsbAudioFormat.transportUnsupportedReason has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a34db38d5178cffb9e23bf95ce80cb6ddbe75e2a5a9ef5edd47f296d84087b7"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioDecoder.decodeTrack (cyclomatic 17): AudioDecoder.decodeTrack 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":"app/src/main/java/com/aurora/music/data/AudioDecoder.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"445b744b26d476b4c5396c2a067715993423a08e3501d0a21ffc839e62f72ddb"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioCache.factory (cyclomatic 17): AudioCache.factory 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":"app/src/main/java/com/aurora/music/data/cache/AudioCache.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe1248058b3011cc1b3ecf58e2ec5f1b7397a69921f689e9eaddc534040028"}},{"ruleId":"D1","level":"warning","message":{"text":"MixAnalyzer.decode (cyclomatic 17): MixAnalyzer.decode has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb979b3be2e8dcc1e928cc67c7b3920c22607b5dc0937860e42435693952e46"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkPlaybackBridge.enableReceiver (cyclomatic 17): NetworkPlaybackBridge.enableReceiver 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":"app/src/main/java/com/aurora/music/playback/network/NetworkPlaybackBridge.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b06cb786473a5bb530bf7f845ff9f01ab5a1efcb763383031461c8a41e39d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackDockKt.PlaybackDock (cyclomatic 17): PlaybackDockKt.PlaybackDock has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162f02d3e1307c9ad693a77116321e627b47f32be99b9d917ec43862c98816e"}},{"ruleId":"D1","level":"warning","message":{"text":"AiDjControlsKt.setLine (cyclomatic 17): AiDjControlsKt.setLine 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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ef270ed6f8fb9efe6436a46f4dac1a8cd49c04ef26235ba0580501c49bd368"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.SongsTab (cyclomatic 17): LibraryScreenKt.SongsTab has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78a24cde8840836050d3fcd45ebf08ad78f9a41932e238d16fa743c2fff677"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionsScreenKt.PermissionsScreen (cyclomatic 17): PermissionsScreenKt.PermissionsScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd411f40a5cb0da129aa0ef30fbf16d44a0685f15a582912aa6a1952d67b4e8"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerSettingsScreenKt.VisualizerSettingsScreen (cyclomatic 17): VisualizerSettingsScreenKt.VisualizerSettingsScreen 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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6499df52cd7315031c882c79624b5cbfc664dbec727c003a35f7d493a797b64"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerViewModel.persistQueue (cyclomatic 17): PlayerViewModel.persistQueue has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"227c0860f02783adedb362b7c6eccf0ad468f9d73786893133eece8225a947aa"}},{"ruleId":"D1","level":"warning","message":{"text":"SoundCloudClient.attempt (cyclomatic 17): SoundCloudClient.attempt has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"440c3ca3f1f0a106d1c331d5791f6e9773cf48633c11a5d95dc35efae71bf677"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectCodec.validateFit (cyclomatic 17): TuningProjectCodec.validateFit has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e8c814bc5fd634389ecf3653ae50e75c2b7a308c3ee58233c9e167c8f900a"}},{"ruleId":"D1","level":"warning","message":{"text":"PrecisionEffectsKernel.process (cyclomatic 17): PrecisionEffectsKernel.process has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionEffectsKernel.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc62255072818c081fb68aff4e81a4f23b2d5fbb382a233abdb543196c58b84"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaControls.attach (cyclomatic 17): MediaControls.attach 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":"desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e1ba473db8e0fc399bd94823b5d11ca71be71bb02050fcdcff6218a09b3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"AiDjControlsKt.setLine (cyclomatic 17): AiDjControlsKt.setLine 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c9af737fff3574caa1135622d64ee539e12acd762b064ca9227c27f23604e2"}},{"ruleId":"D1","level":"warning","message":{"text":"AppearanceScreenKt.AppearanceScreen (cyclomatic 17): AppearanceScreenKt.AppearanceScreen has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa0a73077998fad32c2ce9898720f5b2d6316845a33788323b32d515225b97a"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizerSettingsScreenKt.VisualizerSettingsScreen (cyclomatic 17): VisualizerSettingsScreenKt.VisualizerSettingsScreen 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd3d2b30020b4263ed02ce78578ba9c77bd337cfc002705416c5cbeca84e947"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbAudioSink.getCurrentPositionUs (cyclomatic 17): UsbAudioSink.getCurrentPositionUs 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":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb7f3ed8e9d99ccb72549445f0883eaada22ec15f5dc2d4423b4f955d9ae7c"}},{"ruleId":"D1","level":"warning","message":{"text":"SonicEngine.buildAutoDj (cyclomatic 16): SonicEngine.buildAutoDj has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b09e79a536bf43f306379bf7d694d349fdc568b3c8f1e432e54164a5a08d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchPickerKt.MatchPickerSheet (cyclomatic 16): MatchPickerKt.MatchPickerSheet has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a06686ddad7c31d77b110d7057bbbbd278827a88198eece6cb521b08dd0d38"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniPlayerKt.MiniPlayer (cyclomatic 16): MiniPlayerKt.MiniPlayer has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d4e787d83cd39972508df16310cdacec0dd9591ab3316217c13d7b7d163636"}},{"ruleId":"D1","level":"warning","message":{"text":"SignInScreenKt.CredentialsStep (cyclomatic 16): SignInScreenKt.CredentialsStep has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0594777793cc203c12e54125ea99c2d8aef6e5fad667c40c5bac5ca5a77c466"}},{"ruleId":"D1","level":"warning","message":{"text":"MixScreenKt.MixTimeline (cyclomatic 16): MixScreenKt.MixTimeline has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ef0f0c3b2ab46010a2f485cda12dbd69c0c8664ac6f12a0cd9486260a04226"}},{"ruleId":"D1","level":"warning","message":{"text":"RadioScreenKt.RadioScreen (cyclomatic 16): RadioScreenKt.RadioScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e68e2970776ef3fc9111fe22729604333b3ded449cd37b79b4920232825263"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchScreenKt.Results (cyclomatic 16): SearchScreenKt.Results 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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb858701a6be0077417399de5247ae623ae239b395094ed8560cd2f9c264493"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputPresetBindingsScreenKt.OutputPresetBindingsScreen (cyclomatic 16): OutputPresetBindingsScreenKt.OutputPresetBindingsScreen 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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"94004e2614047c1fab4dcdc4e3e4470b69845d1582ebd2e6b24ea4e5e14a29df"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetRulesScreenKt.PresetRulesScreen (cyclomatic 16): PresetRulesScreenKt.PresetRulesScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: PresetRulesScreenKt.currentCondition (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a5a258e81ad314526a40abaea70cc832328685f9d4186bd3b4bc0e94682f50"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningApplyDialog (cyclomatic 16): TuningProjectsScreenKt.TuningApplyDialog has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4399cccf7f17d974de0ee0e9d71227d3fa9e6013937df7162c9d3823eea4eaa8"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeStylesKt.styleColorScheme (cyclomatic 16): ThemeStylesKt.styleColorScheme has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f753e6be126b310a0f44b5a66d39272fc3dc133784aa19e784f533f47fb57ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamBandCodec.read (cyclomatic 16): ParamBandCodec.read has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ParametricFilter.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520d9b1f73681e7047eebb08c00b303994d24e5bed9b2e3ec832367aba7886a"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistMatcher.score (cyclomatic 16): PlaylistMatcher.score has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistImport.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"308099a81de933d0f64123ac7bf26fafcce1d86edb82956c3ecb278e1d0a073b"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTubeMusicParser.results (cyclomatic 16): YouTubeMusicParser.results 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":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cb60d51fb094b5f762c9f499a1c6644645a0940dbfdca3eb8574e5c6093555"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductionRackProcessor.blendOutput (cyclomatic 16): ProductionRackProcessor.blendOutput has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionRackProcessor.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60b6f6823c5d377c0ac7c4a395978060bec10d352a1009d83e79a30a5a3d67"}},{"ruleId":"D1","level":"warning","message":{"text":"ScopedMediaServer.handle (cyclomatic 16): ScopedMediaServer.handle has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/ScopedMediaServer.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0665e1e7b18c555b076aec4959c5aef15ebb2a3ab2d11f79bd58d611f65728bb"}},{"ruleId":"D1","level":"warning","message":{"text":"SonicEngine.buildAutoDj (cyclomatic 16): SonicEngine.buildAutoDj has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55837e9927012a38f569544dd441fa3ad734be718ee8854a091ee3d76263706"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopPlaybackEngine.pump (cyclomatic 16): DesktopPlaybackEngine.pump has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"47171ed541b275b8837b4191b60fa299c13a516adc05fdbf20be11651bd33cde"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchPickerKt.MatchPickerDialog (cyclomatic 16): MatchPickerKt.MatchPickerDialog has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0986e403da654e13cc43b59c988d8f96beb8b40ba2ec83e26f93aeba2eb9d97b"}},{"ruleId":"D1","level":"warning","message":{"text":"SignInScreenKt.CredentialsStep (cyclomatic 16): SignInScreenKt.CredentialsStep has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaceeade4423466ae535764ae2980ec95b74b60609fbdcd50adc2cece3b1f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.QuickTileCard (cyclomatic 16): LibraryScreenKt.QuickTileCard has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ceda40135f8c46943eea5aa5a02cff9f37a2b71264ae1fa1aaa9f7127b4345"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.LibCard (cyclomatic 16): LibraryScreenKt.LibCard has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b6d28c50989d5d719bc68eb135902d74802947dac91f5fc44875fd304836f"}},{"ruleId":"D1","level":"warning","message":{"text":"MixScreenKt.MixTimeline (cyclomatic 16): MixScreenKt.MixTimeline has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fdb3fdb03c3e4046b10ed72d704dbb19d0d12213111ab831a0e0998307cccf"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueScreenKt.QueueTrackRow (cyclomatic 16): QueueScreenKt.QueueTrackRow has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b9728eca2853ea3587ed4f0c634b2af2db15398fab90a094ad353de30f32f7"}},{"ruleId":"D1","level":"warning","message":{"text":"RadioScreenKt.RadioScreen (cyclomatic 16): RadioScreenKt.RadioScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ed55847e485b4c876c8e9389d3df0fc0c72bb387058cac6c4f8e663cf73fc"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountsScreenKt.AccountRow (cyclomatic 16): AccountsScreenKt.AccountRow has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeeb5daa2718d6e7885a2d21e625200a9b5cddb3f82e71d6e2cccf37bf59154"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioOutputSettingsScreenKt.AudioOutputSettingsScreen (cyclomatic 16): AudioOutputSettingsScreenKt.AudioOutputSettingsScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"859af29c7f617b67366767a8a0fb09773f378ec04f856aa3ca883af754cfe314"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputPresetBindingsScreenKt.OutputPresetBindingsScreen (cyclomatic 16): OutputPresetBindingsScreenKt.OutputPresetBindingsScreen 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd82662d990b62a3de1699728646d8a4fdc4588a7c685e0d25759e5ab15d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetRulesScreenKt.PresetRulesScreen (cyclomatic 16): PresetRulesScreenKt.PresetRulesScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: PresetRulesScreenKt.currentCondition (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f08a93a226024b0cd06f6baafdf71e6c5c03351572ac62473e4838a2100f63"}},{"ruleId":"D1","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningApplyDialog (cyclomatic 16): TuningProjectsScreenKt.TuningApplyDialog has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f67de89b61db2d2389d691a878aede8a7a825fce36296c322147f345ecdcd"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonViewModel.start (cyclomatic 16): ComparisonViewModel.start has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b595fe768dbfe75440e6c07f0b5fdb6adf5a8b9c9f980ad8c9fb8f81c4d5062"}},{"ruleId":"D1","level":"warning","message":{"text":"SftpDataSource.open (cyclomatic 16): SftpDataSource.open has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7826a1e1313a63c75293712b3e951826c698991a5aed65cb79d0486b04b49c1"}},{"ruleId":"D1","level":"warning","message":{"text":"UsbAudioSink.configureUsbBitPerfect (cyclomatic 16): UsbAudioSink.configureUsbBitPerfect has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb622c71eddd15d8162d8fbb14385cb63778648c3d7fa7cb8082456b968a3d0"}},{"ruleId":"D2","level":"warning","message":{"text":"AuroraAppKt.AuroraApp (cognitive 278): AuroraAppKt.AuroraApp has cognitive complexity 278 (threshold 15). Drivers by points: if/else 189 (218 pts), boolean chains 50, match/switch 8 (10 pts) (nesting depth added 31). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"53146f9779d58a8ef3ae60a10f903b87306e0f24d14e9d7f841acbe618db515f"}},{"ruleId":"D2","level":"warning","message":{"text":"AuroraAppKt.Shell (cognitive 262): AuroraAppKt.Shell has cognitive complexity 262 (threshold 15). Drivers by points: if/else 179 (206 pts), boolean chains 48, match/switch 6 (7 pts), loops 1 (nesting depth added 28). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d1a88874aa42956a04a4a43a4e28a6041b44d56dfb900091d46dcd4fd758ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackAudioOutput.reportLocal (cognitive 233): PlaybackAudioOutput.reportLocal has cognitive complexity 233 (threshold 15). Drivers by points: if/else 134 (169 pts), boolean chains 59, match/switch 4 (5 pts) (nesting depth added 36). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0c73c9f12168b4f8ed4ffb607d242606166acfad76f787772df4de32e6a07"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerScreenKt.PlayerScreen (cognitive 225): PlayerScreenKt.PlayerScreen has cognitive complexity 225 (threshold 15). Drivers by points: if/else 150 (199 pts), boolean chains 24, match/switch 2 (nesting depth added 49). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"42afdca6c748c78b91264761c435cda1d5e57159ba94445dade9ba7a67db86a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cognitive 184): DetailScreenKt.DetailScreen has cognitive complexity 184 (threshold 15). Drivers by points: if/else 119 (157 pts), boolean chains 24, match/switch 3 (nesting depth added 38). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b288b53b82ec7cadc4be361e45a4e39c9c4a30fabef38a0a6d42efbe16115545"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerScreenKt.PlayerScreen (cognitive 177): PlayerScreenKt.PlayerScreen has cognitive complexity 177 (threshold 15). Drivers by points: if/else 124 (155 pts), boolean chains 21, match/switch 1 (nesting depth added 31). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4129af30cf69de0358792575f2fc86660596e2b8b27ce4a9820ea12d96afdbb"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioDescriptors.parse (cognitive 167): UsbAudioDescriptors.parse has cognitive complexity 167 (threshold 15). Drivers by points: if/else 59 (138 pts), boolean chains 25, match/switch 2 (3 pts), loops 1 (nesting depth added 80). 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":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6b3d97b3b97a6d946a8bfce249025971c90f4926eb2fee9135bdd1d2a867a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailScreenKt.DetailScreen (cognitive 166): DetailScreenKt.DetailScreen has cognitive complexity 166 (threshold 15). Drivers by points: if/else 113 (149 pts), boolean chains 17 (nesting depth added 36). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c721e8473552e4bef85422fd86c6c33e3bbc800a879e3d2d8bc57a68d53960"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceAligner.place (cognitive 119): VoiceAligner.place has cognitive complexity 119 (threshold 15). Drivers by points: if/else 48 (75 pts), loops 16 (27 pts), boolean chains 15, match/switch 2 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d635391247f0623faae6d276a278d50ad7ec66fc806acc644d80924c496cef2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcertAcoustics.room (cognitive 108): ConcertAcoustics.room has cognitive complexity 108 (threshold 15). Drivers by points: if/else 50 (83 pts), loops 11 (18 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcee1f5637fabece77772b7bd6471558af93c8e022070fbea43ffa4b3de7d79"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItemsKt.SongRow (cognitive 97): ListItemsKt.SongRow has cognitive complexity 97 (threshold 15). Drivers by points: if/else 62 (88 pts), boolean chains 9 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd9c75d8f8fb12f4f2ea30d446f01a359b2ef5a7a9f38ccf532e794dd0798e"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItemsKt.SongRow (cognitive 97): ListItemsKt.SongRow has cognitive complexity 97 (threshold 15). Drivers by points: if/else 55 (83 pts), boolean chains 13, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"90830325bd53ca220ba35c72f0a7473257b00e28971ae7191e39f9dd67ef7f32"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.ProcessingRackScreen (cognitive 95): ProcessingRackScreenKt.ProcessingRackScreen has cognitive complexity 95 (threshold 15). Drivers by points: if/else 52 (76 pts), boolean chains 12, error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7d9894a24a5f211aa336f8400d4d8d11281ef9629bb70522aee3391927f368"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.ProcessingRackScreen (cognitive 90): ProcessingRackScreenKt.ProcessingRackScreen has cognitive complexity 90 (threshold 15). Drivers by points: if/else 50 (75 pts), boolean chains 10, loops 2 (3 pts), error handling 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca976fccb0a5f36039ed3b831383b92473e0b4523336848d986efd38989c9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastClient.parseFeed (cognitive 79): PodcastClient.parseFeed has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (54 pts), boolean chains 16, match/switch 3 (8 pts), loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e09f544464475c321b1aced12bcbd6313fc68a87e4ddb5faf44d896835d4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ReverbKernel.process (cognitive 79): ReverbKernel.process has cognitive complexity 79 (threshold 15). Drivers by points: if/else 29 (50 pts), loops 11 (26 pts), boolean chains 3 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4792f5f0cc9f0cfa96d43621e2010b8c20ac0ce0d07976f8f8caafe1a0d4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastClient.parseFeed (cognitive 79): PodcastClient.parseFeed has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (54 pts), boolean chains 16, match/switch 3 (8 pts), loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4db4865c78091862e2538155b3153d266d5e691d91824d8ae64e519567bd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.MixScreen (cognitive 77): MixScreenKt.MixScreen has cognitive complexity 77 (threshold 15). Drivers by points: if/else 52 (66 pts), boolean chains 11 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d84d979d88871fb9b6a786dce99850db379aff6467216e1c87d849a0aef3ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.MixScreen (cognitive 75): MixScreenKt.MixScreen has cognitive complexity 75 (threshold 15). Drivers by points: if/else 50 (64 pts), boolean chains 11 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f2a493cc8b25151327411d74a6373e3adf5fe60e5a46cc8c5a0087cbcb121b"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerController.analyseLoop (cognitive 71): VisualizerController.analyseLoop has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (49 pts), loops 8 (17 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/VisualizerController.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12ad8cb1f2f6fa425e381bd60800154ad6956ee862f9b32d71d4246d8c99d20"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLibrary.scan (cognitive 69): LocalLibrary.scan has cognitive complexity 69 (threshold 15). Drivers by points: if/else 41 (58 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4b54899706c089813d8a82175dab1ad1b094f60e533dfa67b8651a4d3dc7a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductionSerialRack.compile (cognitive 68): ProductionSerialRack.compile has cognitive complexity 68 (threshold 15). Drivers by points: if/else 33 (38 pts), boolean chains 27, match/switch 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68b9818509b2b3725b4917c6f57c2db3856456aca2fe93f71ca42396ca14a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MixDeck.render (cognitive 66): MixDeck.render has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (53 pts), loops 5 (10 pts), boolean chains 3 (nesting depth added 41). 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":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/MixDeck.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbeb4e015f8fc3f2056086f49e825e61478de00fa4e79d503b735d3ddb33ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricsScreenKt.ImmersiveLyrics (cognitive 65): LyricsScreenKt.ImmersiveLyrics has cognitive complexity 65 (threshold 15). Drivers by points: if/else 45 (49 pts), boolean chains 14, match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa9c1ab8655ec4252f9e7bc05f4ff2e7dae82229bca1bad201a3e77d17d9388"}},{"ruleId":"D2","level":"warning","message":{"text":"MainKt.main (cognitive 65): MainKt.main has cognitive complexity 65 (threshold 15). Drivers by points: if/else 29 (35 pts), boolean chains 26, loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d18c77a36fe9122cfbf7f04949d02277e4f80ac25ac95f77b4ae9dc043ba5f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackDockKt.PlaybackDock (cognitive 65): PlaybackDockKt.PlaybackDock has cognitive complexity 65 (threshold 15). Drivers by points: if/else 53 (62 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20dc9ecd32938d29e0dece88deb859ac42c00969fb69cbe28056b2e3ee292cf"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectsScreen (cognitive 64): TuningProjectsScreenKt.TuningProjectsScreen has cognitive complexity 64 (threshold 15). Drivers by points: if/else 42 (43 pts), boolean chains 14, error handling 5, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0789a6f4d0513fce87a9567bf2f74c710fc0609ba9f310c8377811a846deb9db"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectsScreen (cognitive 64): TuningProjectsScreenKt.TuningProjectsScreen has cognitive complexity 64 (threshold 15). Drivers by points: if/else 42 (43 pts), boolean chains 14, error handling 5, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c363b5f2cd379a08cb048f08263f1119286af3e25ba0c400d25f1932cba1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"DjPicker.rate (cognitive 63): DjPicker.rate has cognitive complexity 63 (threshold 15). Drivers by points: if/else 31 (45 pts), boolean chains 12, match/switch 4 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3e585bea0cee83205fabd0ae61e44d76441dc5469097cb85ea12f99db80b1"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioSink.handleBuffer (cognitive 63): UsbAudioSink.handleBuffer has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (56 pts), boolean chains 7 (nesting depth added 32). 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":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"af130e2f0bb9d2c8569221f429725d967564624a892770d9e475909eb0928736"}},{"ruleId":"D2","level":"warning","message":{"text":"SonicFeatures.analyzeSamples (cognitive 62): SonicFeatures.analyzeSamples has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 17 (29 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddef96b6bf1b0cb97e6534fe16d7d0f80bcfb6217eb9db5fa51f86636f9a5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalPathKt.buildSignalPath (cognitive 62): SignalPathKt.buildSignalPath has cognitive complexity 62 (threshold 15). Drivers by points: if/else 47 (56 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SignalPath.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e93b0cf057676367202ad56a3fc04c255b00d512c9b9fba793c4fdda4e4637"}},{"ruleId":"D2","level":"warning","message":{"text":"SonicFeatures.analyzeSamples (cognitive 62): SonicFeatures.analyzeSamples has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 17 (29 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf02dfbabbe1c44f0fc204322ce828080e38bbf6bd5cf397cd45f3258b07667"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cognitive 61): HomeScreenKt.HomeScreen has cognitive complexity 61 (threshold 15). Drivers by points: if/else 37 (49 pts), boolean chains 12 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae3085c9feb880bfb6376eef3286497162773fde1527d58b4d376446c0ab0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ListeningStatsScreenKt.ListeningStatsScreen (cognitive 61): ListeningStatsScreenKt.ListeningStatsScreen has cognitive complexity 61 (threshold 15). Drivers by points: if/else 40 (59 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1001ffa6aabd3d1d57ad4bd2f6d9d8919796e7a232f00490d4d986c3f4add8d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonRenderer.decode (cognitive 59): ComparisonRenderer.decode has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (45 pts), boolean chains 6, loops 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ca69250fb8dd43f06a8b19ef880b965a0f01ea5c0eb3a0a9ac998968c7fc24"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackSwipeActionsKt.TrackSwipeActions (cognitive 59): TrackSwipeActionsKt.TrackSwipeActions has cognitive complexity 59 (threshold 15). Drivers by points: if/else 30 (48 pts), boolean chains 5, match/switch 3 (5 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c321dd89a214a052d37f7380f7237eefe5607d5281bba763c895693f527decfe"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcesSettingsScreenKt.SourcesSettingsScreen (cognitive 59): SourcesSettingsScreenKt.SourcesSettingsScreen has cognitive complexity 59 (threshold 15). Drivers by points: if/else 37 (48 pts), boolean chains 4, error handling 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a7113eb3ddf76ce92e25b11adda17f58f64301ae1d85a3c087bdb189280d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicsEffectKernel.process (cognitive 59): DynamicsEffectKernel.process has cognitive complexity 59 (threshold 15). Drivers by points: if/else 29 (54 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a7cbd03d5fbbda4e3f6243d3ec01b00438581c4c0389a5a97edb231e16cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"EqEditorKt.EqCurve (cognitive 56): EqEditorKt.EqCurve has cognitive complexity 56 (threshold 15). Drivers by points: if/else 39 (48 pts), boolean chains 4, loops 3, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ac799a1f07680d6b3287082d1f836c2165737f87112dafac1e9b7cb4b3aac"}},{"ruleId":"D2","level":"warning","message":{"text":"EqEditorKt.EqCurve (cognitive 56): EqEditorKt.EqCurve has cognitive complexity 56 (threshold 15). Drivers by points: if/else 39 (48 pts), boolean chains 4, loops 3, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b999365fe69395e85f59937395f0b35ebad06f2ba921cf21a238510471b8d48"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackPlaylistsSheetKt.TrackPlaylistsSheet (cognitive 55): TrackPlaylistsSheetKt.TrackPlaylistsSheet has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (39 pts), error handling 6 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d193fd4cd247bee45d7dbfeff849d7a0b2d7a823343e7a6c8fe5309e35d417"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cognitive 55): LibraryScreenKt.LibraryScreen has cognitive complexity 55 (threshold 15). Drivers by points: if/else 33 (45 pts), match/switch 3 (6 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58415a23d4f0c313e4ec168d3b54541743b01056b0c5738d534a29acec31125"}},{"ruleId":"D2","level":"warning","message":{"text":"SongSourcesMenuKt.SourcesMenu (cognitive 55): SongSourcesMenuKt.SourcesMenu has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (45 pts), error handling 2 (4 pts), boolean chains 3, match/switch 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5bd8848582999282a3cbaa293db5bc36a6e3e225add5b36dc285afd67cc688"}},{"ruleId":"D2","level":"warning","message":{"text":"SongSourcesMenuKt.SongSourcesMenu (cognitive 55): SongSourcesMenuKt.SongSourcesMenu has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (45 pts), error handling 2 (4 pts), boolean chains 3, match/switch 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de879ce0bdd485905148239072795ca9b838846ebf86b753cb609a472381b1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueScreenKt.QueueContent (cognitive 54): QueueScreenKt.QueueContent has cognitive complexity 54 (threshold 15). Drivers by points: if/else 31 (45 pts), boolean chains 7, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d34e43e12046a4ff096733529ed2f20e8dc01ee8521a08b2ee99a022b21acb4"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackPlaylistsSheetKt.TrackPlaylistsSheet (cognitive 54): TrackPlaylistsSheetKt.TrackPlaylistsSheet has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (39 pts), error handling 6 (10 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d765225a4103cff8ccef1677b7cf2ff6f4d6577dc83a2855f51db135b75203cf"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdPcmDecoder.push (cognitive 53): DsdPcmDecoder.push has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 6 (22 pts), boolean chains 1 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/dsd/DsdPcmDecoder.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"13deea3932360b2aa73745b0ce73f720c0975f20f429d498563db09f9669b9da"}},{"ruleId":"D2","level":"warning","message":{"text":"DjKeywords.parse (cognitive 51): DjKeywords.parse has cognitive complexity 51 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 10, match/switch 5 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjKeywords.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5801fb6fa64eb942f631067da6cee9c24ca5275f3895032cdc20860195a2184f"}},{"ruleId":"D2","level":"warning","message":{"text":"MixPlayer.tick (cognitive 50): MixPlayer.tick has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (38 pts), boolean chains 11, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixPlayer.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b437ef2e010440a4bb53c7c75c28a3069fcc69eadfd0c302bb051104f99fc83e"}},{"ruleId":"D2","level":"warning","message":{"text":"RackHeadroomAnalyzer.analyze (cognitive 49): RackHeadroomAnalyzer.analyze has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 8, loops 4 (6 pts), match/switch 3 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c449e20825f89bad693a3305979c99d7828e4d50c7032faef37ee5e619b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkCompressedDecoder.decode (cognitive 48): NetworkCompressedDecoder.decode has cognitive complexity 48 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 7, loops 4, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/audio/NetworkCompressedDecoder.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fd127110c67fd5ec379168bec16e2d040249e0e1f419c84a8a585733dcb66a"}},{"ruleId":"D2","level":"warning","message":{"text":"RackHeadroomAnalyzer.graphBound (cognitive 48): RackHeadroomAnalyzer.graphBound has cognitive complexity 48 (threshold 15). Drivers by points: if/else 24 (39 pts), match/switch 2 (6 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1079d622ce3f4fb359b4e301febcf9a37a4ff3c6241ac31bbf18d0c4f315f1f8"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayer.run (cognitive 48): VideoPlayer.run has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 7, loops 3 (4 pts), error handling 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39a80e78215f0ebfe3b8934520489e611f3448d730597e0ab608c1d3c649aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"MeasurementTextImporter.parsePoints (cognitive 47): MeasurementTextImporter.parsePoints has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (31 pts), boolean chains 15, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/MeasurementTextImporter.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc54fe66feb662b7fb59965f219e84aff076558b7c67954c2122d59c95228a6"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioDecoder.decodeTrack (cognitive 46): AudioDecoder.decodeTrack has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (35 pts), loops 2 (6 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AudioDecoder.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d79244b6eaafabd9fe6e7a6ccfa24acf970f05d990f30472cffd454193aab27"}},{"ruleId":"D2","level":"warning","message":{"text":"ToneKernel.process (cognitive 46): ToneKernel.process has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 6 (18 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f41ae8849e2bc6e4b7dddfed444bac465df21a39a56b353af6563554a42563"}},{"ruleId":"D2","level":"warning","message":{"text":"RackEqTextDialogsKt.RackEqImportDialog (cognitive 44): RackEqTextDialogsKt.RackEqImportDialog has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (30 pts), error handling 4 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d43a62b293cf1662bbb1a61b36de03d2b2b583c7df4de71dcc34e3afa7007"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricsScreenKt.ImmersiveLyrics (cognitive 44): LyricsScreenKt.ImmersiveLyrics has cognitive complexity 44 (threshold 15). Drivers by points: if/else 32, boolean chains 11, match/switch 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb02c1c8f134529a36a8dc093720c8b78fe447907519a9b43ed1f301f335fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.updateSignalPathSnapshot (cognitive 43): PlaybackService.updateSignalPathSnapshot has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (38 pts), boolean chains 5 (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":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c579ec927d9b23f1e27e2638128cd2740da534155c1d6e498383283c70eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"CrowdNoise.events (cognitive 43): CrowdNoise.events has cognitive complexity 43 (threshold 15). Drivers by points: if/else 36 (37 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c54b4763cef31bd64cd35e06797356168e51d4a66b785d0ebbcf86da1c75f05"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ConvolutionLibraryScreen (cognitive 42): ConvolutionLibraryScreenKt.ConvolutionLibraryScreen has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (27 pts), boolean chains 11, error handling 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591974e4f3a59068c9cc124ac58faecf8030526063fc26104fced390cf4c48d"}},{"ruleId":"D2","level":"warning","message":{"text":"SignInScreenKt.SignInScreen (cognitive 42): SignInScreenKt.SignInScreen has cognitive complexity 42 (threshold 15). Drivers by points: if/else 29 (33 pts), match/switch 5 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9fb9ada4fb5eba692c8487914e9d426e3467f966217e8ed906acc22d325fe"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackListeningDetails.context (cognitive 41): PlaybackListeningDetails.context has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28, boolean chains 9, match/switch 2 (4 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e780213504a4c078a857bed1cb19df5163047b84bcc42560f39c150f5072e99"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.serviceListener (cognitive 41): PlaybackService.serviceListener has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 18 (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":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e57f50a8c9938e9a562961f7fb375f9d1f960f76c2c463e5e3e18f793dee90"}},{"ruleId":"D2","level":"warning","message":{"text":"ListeningStatsScreenKt.ListeningStatsScreen (cognitive 41): ListeningStatsScreenKt.ListeningStatsScreen has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28 (40 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a13fe574b1faf1d3e297636547a4a53caea53a613531c4384b350ed22e0be07"}},{"ruleId":"D2","level":"warning","message":{"text":"CueSheets.parse (cognitive 41): CueSheets.parse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/CueSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"efecf8cf988d08cc00545b5fa53c225bd569278cb0919fe671bae096624116ae"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointServer.handle (cognitive 41): EndpointServer.handle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 11, error handling 5, loops 1 (3 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/EndpointServer.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2782638484a7d015cee34aac10b08837254929a06d18c7aa89f954863f76c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningMeasurementDialogsKt.TuningMeasurementImportDialog (cognitive 40): TuningMeasurementDialogsKt.TuningMeasurementImportDialog has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (32 pts), error handling 3 (5 pts), boolean chains 3 (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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d83efffeb8ad7e76c816d0d3d81a5dbbad2c714e5602d6f221b7801f28325e3"}},{"ruleId":"D2","level":"warning","message":{"text":"OversampledSaturator.process (cognitive 40): OversampledSaturator.process has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 5 (15 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/OversampledSaturator.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e5c5eb16588d55580962d98ce15273a8b01b4cfaa4f98becee7896e11c7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonScreenKt.ComparisonScreen (cognitive 40): ComparisonScreenKt.ComparisonScreen has cognitive complexity 40 (threshold 15). Drivers by points: if/else 26 (36 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2e1c5597fc29e46041ba6bc94bb1e4e29efd9949681e918404c515ccf352e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtworkRepository.open (cognitive 39): ArtworkRepository.open has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 8, error handling 5 (7 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8efe89ddc0684819034117054a55328c3fec2e8a9dc98afd5af9bb11612edf"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopListeningDetails.context (cognitive 39): DesktopListeningDetails.context has cognitive complexity 39 (threshold 15). Drivers by points: if/else 28 (29 pts), boolean chains 10 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"112378864a215c8f129eae470b21cd4c0bc34faaca44d5cb40c08d359f9d3040"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.auroraPanel (cognitive 39): ThemeStylesKt.auroraPanel has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26 (35 pts), boolean chains 2, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e8b2441a1c4f51801fc41c43d42fc385c37b0f8c904794bb491a477c5a5c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonScreenKt.ComparisonScreen (cognitive 38): ComparisonScreenKt.ComparisonScreen has cognitive complexity 38 (threshold 15). Drivers by points: if/else 26 (35 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cd494b277d528efce751e36049a137f8bd5bc5693988e11ced1965b74f1ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"RackAdvancedControlsKt.RackAdvancedControls (cognitive 38): RackAdvancedControlsKt.RackAdvancedControls has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (37 pts), match/switch 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bba0e7d2828a1bd504f08fd9992f4f3ccbbea58bf27cdc7509882973cc05d82"}},{"ruleId":"D2","level":"warning","message":{"text":"CrowdNoise.next (cognitive 38): CrowdNoise.next has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0974e68f5f258d3f2248ec1d87473ab43a5a712a483e9be9447ffede13dd3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"RackAdvancedControlsKt.RackAdvancedControls (cognitive 38): RackAdvancedControlsKt.RackAdvancedControls has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (37 pts), match/switch 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63af3daf0a5b0203661fba2a1ad99ca76cabb0b5c907f4ef66245492000919f"}},{"ruleId":"D2","level":"warning","message":{"text":"RendererMediaCache.receive (cognitive 37): RendererMediaCache.receive has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/RendererMediaCache.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"04881a41c966c07aa770403b37aa6851aeaa3187d04dd27d0eae2a3354122093"}},{"ruleId":"D2","level":"warning","message":{"text":"TagEditScreenKt.TagEditScreen (cognitive 37): TagEditScreenKt.TagEditScreen has cognitive complexity 37 (threshold 15). Drivers by points: if/else 29 (37 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1169830963c44fbe420131ee53e0f3b078bc8f2fd7a9350ab9949aa26c0d885"}},{"ruleId":"D2","level":"warning","message":{"text":"DragToDismissKt.DragToDismiss (cognitive 37): DragToDismissKt.DragToDismiss has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 11, 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":"app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb68e0ef609c051a283b583b7baefac5894dd0bdfbf575e8e84c11b4dd35cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.RackNodeEditor (cognitive 37): ProcessingRackScreenKt.RackNodeEditor has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"40027c54607d069298c5286f2de5bd74897d25ebd322e15e6011ed8f8d78c472"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoMixPlanner.plan (cognitive 37): AutoMixPlanner.plan has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 11, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/mix/AutoMixPlanner.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d15e64c738d8d09b68a4e4a0c9a03051fff0f03b0cfb0b8f126736c46d9421b"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionEffectsKernel.process (cognitive 37): PrecisionEffectsKernel.process has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionEffectsKernel.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3594e6d363f4a2217fbcf37f458694145f78c50a690c0366f595c5fbc297013"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopMixPlayer.run (cognitive 37): DesktopMixPlayer.run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 4 (7 pts), boolean chains 4, error handling 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/DesktopMixPlayer.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fab072494d70b1187409599aac911813c21b68de37ddab3fc354727997cd12"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.RackNodeEditor (cognitive 37): ProcessingRackScreenKt.RackNodeEditor has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a2b31e938a331f8dcc4af9a1ae740657e812d4031907c499edcfb8b819c101"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningMeasurementDialogsKt.TuningMeasurementImportDialog (cognitive 37): TuningMeasurementDialogsKt.TuningMeasurementImportDialog has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 3, error handling 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc50585ceac4c2ac0a328dea8a19ec4b26ba911199ee0241023de7b595d448"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ImpulseDetails (cognitive 36): ConvolutionLibraryScreenKt.ImpulseDetails has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 3, match/switch 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f59c53419f1c94beccfe0320f4c5cb56fe2a5d700416cfc5235a63ca0a94fc"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricsRepository.lookup (cognitive 36): LyricsRepository.lookup has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0ace6edc0e6057b1691fd96be6b330d8f46c04574fcc34a93d690d1414fa7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ConvolutionLibraryScreen (cognitive 36): ConvolutionLibraryScreenKt.ConvolutionLibraryScreen has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 10, error handling 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b6bd1a6f44246a2171189377e3c81754be2879ee1fb1364d87c092bc932943"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionLibraryScreenKt.ImpulseDetails (cognitive 36): ConvolutionLibraryScreenKt.ImpulseDetails has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 3, match/switch 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8202bbe0e76dfb989f09b20b209f154e3fde7b0a9a6312d08faa289fbe2d9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcesSettingsScreenKt.SourcesSettingsScreen (cognitive 36): SourcesSettingsScreenKt.SourcesSettingsScreen has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 3, 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c82c9bb37e5ab74e22a917cc78cddd4f939ed6a5bccd4bc3277035364a3615"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackFades.maybeBeginXfade (cognitive 35): PlaybackFades.maybeBeginXfade has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 11 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackFades.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a78d15d007192153dba898a6dc7d1737a02ab6d692b6862a4b09fcc921e96"}},{"ruleId":"D2","level":"warning","message":{"text":"YoutubeResolver.findMusicVideo (cognitive 35): YoutubeResolver.findMusicVideo has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 9, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e67f7596b715ad33f356d70e7c63b462dcbb3028e255c7b6df0a5b8657108a"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningFitSettingsDialogKt.TuningFitSettingsDialog (cognitive 35): TuningFitSettingsDialogKt.TuningFitSettingsDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 4, error handling 2, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d6b3bf0f1d1039901d977f42532a82000d2c3225df496214898cc4a0777c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ImpulseResponse.loadWavResult (cognitive 35): ImpulseResponse.loadWavResult has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 13, match/switch 3 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/ImpulseResponse.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd0cafe4e5ebfab034db5f20033709d3d5de3df647ff0b7660ecf270165ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"PcmLevelMeter.observe (cognitive 35): PcmLevelMeter.observe has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 5, loops 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e50f8c24f8f2d20ef26aca4c39dc0a333667cbf030813170c54dcbb90737e00"}},{"ruleId":"D2","level":"warning","message":{"text":"YoutubeResolver.findMusicVideo (cognitive 35): YoutubeResolver.findMusicVideo has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 9, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b7b51b174805b94a12b1ce1ee53a592655f8dd003d631db8cd8eef04b96531"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningFitSettingsDialogKt.TuningFitSettingsDialog (cognitive 35): TuningFitSettingsDialogKt.TuningFitSettingsDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 4, error handling 2, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"881b10288ba114a9b31a559d6ebe680256f2a0d5eaefd3fbf4ffe823fb0f82d8"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricTimingKt.syllables (cognitive 34): LyricTimingKt.syllables has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 7, match/switch 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"0095badb4d8b3b564853410e92466e6f13eae357931a480ca519d9cf2e011f24"}},{"ruleId":"D2","level":"warning","message":{"text":"EngineSignalPathKt.signalPath (cognitive 34): EngineSignalPathKt.signalPath has cognitive complexity 34 (threshold 15). Drivers by points: if/else 28, boolean chains 4, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb75d06308c7776980646472cc14c2d6a065c5cab2bf05ca9abb746c4bbfa41"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptionFrame.onFrame (cognitive 34): CaptionFrame.onFrame has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 1, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/platform/CaptionFrame.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1915dfebfde02fdd43261f97f9a30f24579af72072a36ef8223c24929faadd1c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchScreenKt.Results (cognitive 34): SearchScreenKt.Results has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 3, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc271d4ac602c7b100220dcf722d73075b42749bd87575a3ca24cdbdcb1f0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioSink.getCurrentPositionUs (cognitive 34): UsbAudioSink.getCurrentPositionUs has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"158a9cbc1d3968d3456829303d65e389537968a1799d7f3443495d126b13500d"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioCache.factory (cognitive 33): AudioCache.factory has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/cache/AudioCache.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64ebdb15c3857f7e2448ffac5ed750b30ca1a29e2f447f10780b74dc4e999b9"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectEditor (cognitive 33): TuningProjectsScreenKt.TuningProjectEditor has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"918e4f99c26264a7a8b81ddb1109016ab279492ad7d0f755ab918c55373f97de"}},{"ruleId":"D2","level":"warning","message":{"text":"DjPicker.pick (cognitive 33): DjPicker.pick has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e4eff506963c9958d264dcc252d51a9fe91e0d6e2c33d20eb0632cf85e191d"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoEqController.apply (cognitive 33): AutoEqController.apply has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb6abf220f927d59d75f3b34c37ed9c68e02af2d07873558afef95c01cce4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"FileLyrics.fromSylt (cognitive 33): FileLyrics.fromSylt has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (19 pts), loops 3 (7 pts), boolean chains 6, match/switch 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/FileLyrics.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"432ebfd7bbb37ab355ed1d5c9694cfb8e8951e5ca4901b3e89e5959d68c0edd6"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionBlockProcessor.takeOutput (cognitive 33): PrecisionBlockProcessor.takeOutput has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 6 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fd2a3ce15baf730c1f52ff5ad6dcdae46cab14adb815fe427a50d168fd2ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveformKt.Waveform (cognitive 33): WaveformKt.Waveform has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (26 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16fa530caa9dc937b612badfc2aa8ee3436005a658ed1272b2f73df287daa75"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningProjectEditor (cognitive 33): TuningProjectsScreenKt.TuningProjectEditor has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba8fd1587e3e79cd5c94eaf1d87bc8f73c68f4547cc208cc02bbe5dbadbcb1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdExtractor.readDffChunk (cognitive 32): DsdExtractor.readDffChunk has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 14, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1551bfe7c04451a6c42564ad7759609cf15006ca559fb590297e5c8a51b1db24"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkQueuePlayer.load (cognitive 32): NetworkQueuePlayer.load has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 2, error handling 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"884ac97c07e6fe9c2fdf11c2e8e0da17907ce276e0857a979b3a2c9444d4d6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"SignInScreenKt.SignInScreen (cognitive 32): SignInScreenKt.SignInScreen has cognitive complexity 32 (threshold 15). Drivers by points: if/else 22 (24 pts), match/switch 5 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a189a8b540276f46398f29d06964088981d8b0079da0f44676597b8916ad38"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportPlaylistSheetKt.ImportPlaylistSheet (cognitive 32): ImportPlaylistSheetKt.ImportPlaylistSheet has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3, error handling 3, match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3046675edf514ccf06fb6e08c127d16688bc9a0e11be13a198f0ae6ad6b8d829"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedHttpServer.readRequest (cognitive 32): BoundedHttpServer.readRequest has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 4, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/BoundedHttpServer.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac74be96d0a4853d19a4a8f493d567ea6f26907ecf6e6ca9a85fb91d1a14bd04"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopConnectHost.execute (cognitive 32): DesktopConnectHost.execute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 3, match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnectHost.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f386e29336cf2c1269665c5f48cc5b40e87b9df7f58905dcc9ccfa1fb2f87ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cognitive 32): HomeScreenKt.HomeScreen has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 8 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8eee1e5159a7c796e71d135ae1b3ce90375f1580e422cef52758121510b73"}},{"ruleId":"D2","level":"warning","message":{"text":"RackEqTextDialogsKt.RackEqImportDialog (cognitive 32): RackEqTextDialogsKt.RackEqImportDialog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (23 pts), error handling 4 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"155733e236cd98f2413910d2b178947f53fd61b2e99410d7abc99225a07f0bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualizerScreenKt.AutoEqPanel (cognitive 31): EqualizerScreenKt.AutoEqPanel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22, boolean chains 5, error handling 2, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c868eb854363c3c155d9cf1d75ea87a3cb50ba723d6e6ec813147cccfbb546"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.RackBandDialog (cognitive 31): ProcessingRackScreenKt.RackBandDialog has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"159f2aa6a7d9ff6a3f4250863be9d03097fda18959c908d6b0030eeca2aecf85"}},{"ruleId":"D2","level":"warning","message":{"text":"InsightsScreenKt.InsightsScreen (cognitive 31): InsightsScreenKt.InsightsScreen has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c3dfede9e4cb014ba8daca342fffda1b2d20c309f264251eb4f54822b78df2"}},{"ruleId":"D2","level":"warning","message":{"text":"RecapInsightsKt.RecapInsights (cognitive 31): RecapInsightsKt.RecapInsights has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3a8e9b2e1e18a6f19d668c59e73f74968f3ee96162613da74794e00f3c2f24"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetRuleEngine.evaluate (cognitive 31): PresetRuleEngine.evaluate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 6 (11 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/rules/PresetRuleEngine.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f94582bff606cfdd1c28e5d9384235dbc50cedf0fbc8e6880bdd7ff7b48da6"}},{"ruleId":"D2","level":"warning","message":{"text":"RendererJson.command (cognitive 31): RendererJson.command has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 6, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererJson.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ee0ee8bb97a520249a73617ec32ccbcd54f1b9df1342303cfd737596c42e31"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAnalyzer.decode (cognitive 31): MixAnalyzer.decode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ccd8fac6c5f260d1cf96fa9f1fe5766a0fafde27df3487ec89ea312ec06f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueScreenKt.QueueContent (cognitive 31): QueueScreenKt.QueueContent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e0f550e9f76059b5ac245b5ff4a20e0c5878bebfdcb782f22982e9672319cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackScreenKt.RackBandDialog (cognitive 31): ProcessingRackScreenKt.RackBandDialog has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf8614a814828022393aedafbb9f99ddc6fffb42361317d7e79cec5e255efe0"}},{"ruleId":"D2","level":"warning","message":{"text":"InsightsScreenKt.InsightsScreen (cognitive 31): InsightsScreenKt.InsightsScreen has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f16432cf39c5f302bed8e2381932ff691b08c0e5e9b6322d0dfb9ccbeb4f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbStreamingThread.run (cognitive 31): UsbStreamingThread.run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, loops 2 (3 pts), match/switch 1 (3 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbStreamingThread.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"874e9612369d22263cb33251a4624d94c86471081d94d7a879817f838f4f28d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessedNetworkRenderer.decode (cognitive 30): ProcessedNetworkRenderer.decode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 3 (6 pts), boolean chains 5, match/switch 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/audio/ProcessedNetworkRenderer.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"782d4ea11ed03c646b7fea9a160dc70bb3801243119d935f98d0c21b66f590ac"}},{"ruleId":"D2","level":"warning","message":{"text":"DjEngine.nextSet (cognitive 30): DjEngine.nextSet has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 12, loops 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"585341fa9523fa1909679f4d6707340224039b98dd877fccbed8b156ec8d1446"}},{"ruleId":"D2","level":"warning","message":{"text":"Download.run (cognitive 30): Download.run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/AudioCache.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ee291149728acaa428637a1a98522b3746312f30249fb343a82720b7cf0374"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportPlaylistDialogKt.ImportPlaylistDialog (cognitive 30): ImportPlaylistDialogKt.ImportPlaylistDialog has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (22 pts), error handling 3, match/switch 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaa9573173948ec56e78d58e98156ad2c322e50a187eb62026f11f07ad75b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"WaveformKt.Waveform (cognitive 29): WaveformKt.Waveform has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8abcbcad651f73a8aae13575d3eab9f25648f6af48b11234135990fd016d5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"RackEqTextCodec.parse (cognitive 29): RackEqTextCodec.parse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 7, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/RackEqTextCodec.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"628ba75443623cda3397fd024dd8cdfb284dd025ede4de4da861b356cf32abac"}},{"ruleId":"D2","level":"warning","message":{"text":"SpaceKernel.process (cognitive 29): SpaceKernel.process has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (12 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8df5d929354422eab2a596682e419e5a3f185d1c1d3ab0c6b674b2cf02f3e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModulationKernel.process (cognitive 29): ModulationKernel.process has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (7 pts), match/switch 2 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3954931239df1dbaae0467795cf8f902b98a223855b6697eb55de84c1c699525"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerScreenKt.VisualizerScreen (cognitive 29): VisualizerScreenKt.VisualizerScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 4, match/switch 2, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf451edd35e986e04831aecbf3f28a800db491300601a6b4fba9e484cb21e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoFingerprintMatch.plan (cognitive 28): VideoFingerprintMatch.plan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, 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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f07ebb18f80cd10dcfb6add6d878ccbe82d17b3fe72a79fcb3f54ffb2f6d9"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectNetworkPreparer.inspect (cognitive 28): DirectNetworkPreparer.inspect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14, boolean chains 13, match/switch 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":"app/src/main/java/com/aurora/music/playback/network/audio/DirectNetworkPreparer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cfcd88de266c995124db91c008fb3b7a9bb479fb848f4ebe5ac2a874cbcca1"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricsScreenKt.LyricsScreen (cognitive 28): LyricsScreenKt.LyricsScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 5, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7455c7862d694968549fd979835618daf09f266415df1abe0ad4eca70e5108"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsScreenKt.AccountsScreen (cognitive 28): AccountsScreenKt.AccountsScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (25 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a182e623b287ec6efcb20b10f8e327d713b6aaa5cf3fa53629fdb71b0dea244"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.styleColorScheme (cognitive 28): ThemeStylesKt.styleColorScheme has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"782ddc75017bcd507573fb0f7020a628d49214b6d348c0a00b9671c8de35097a"}},{"ruleId":"D2","level":"warning","message":{"text":"DjModelStore.fetchPart (cognitive 28): DjModelStore.fetchPart has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjModelStore.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7676e8c3a0c723300eaf6bd40162d9ee8ba144f72238300dc069bf1ec49090"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeMusicPlaybackTracker.report (cognitive 28): YouTubeMusicPlaybackTracker.report has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 9 (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":"core/src/main/kotlin/com/aurora/music/data/YouTubeMusicPlaybackTracker.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a949bcd8e515fcd6bdae6baf63d98d7d1fb8f19758b7f2fff46079b5c01a3b21"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeMatcher.playbackCandidates (cognitive 28): MergeMatcher.playbackCandidates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 9, error handling 2 (4 pts), loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/MergeMatcher.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c674023953b0753c5f54cf593dc32252b8b19522f0fc6c71ac35daf2d409e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoFingerprintMatch.plan (cognitive 28): VideoFingerprintMatch.plan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, 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":"desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d26b664e1f94723eb209763ffe5ded8b8fe12ee90bcbe07b1e0866aa83b2b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeDownloader.remux (cognitive 28): YouTubeDownloader.remux has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a98855be9ed8aa6e75c8f4b994f0e4719bda240ebaa6f5829b84a4eadb52e7"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchPickerKt.MatchPickerDialog (cognitive 28): MatchPickerKt.MatchPickerDialog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa969960e8ac5f181770e704c719d75eb5f825235097bdf27f7642a0a65b265"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cognitive 28): LibraryScreenKt.LibraryScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 4, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d61ddd94b91d077f860743ae4512f6403e5d5f33e3e79f3494f475fcf52aec"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkPlaybackBridge.executeAuthorized (cognitive 27): NetworkPlaybackBridge.executeAuthorized has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 4, error handling 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkPlaybackBridge.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"653d0a02ae8aee45b26760c01ad0ee58b1e8f25522acf1bdeddeb0928fe9f3f6"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassControlsKt.GlassToggle (cognitive 27): GlassControlsKt.GlassToggle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25 (27 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1537fdf83ff339c7540af0ece769f7a2acfb49ee8ba8642e32b16379c373b0f4"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchScreenKt.SearchScreen (cognitive 27): SearchScreenKt.SearchScreen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe0929f11444d094d9a5ac6754d8703abcf35dcc232d1cb75191e9c220934b5"}},{"ruleId":"D2","level":"warning","message":{"text":"RackEqResponseCardKt.RackEqResponseCard (cognitive 27): RackEqResponseCardKt.RackEqResponseCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 4 (7 pts), error handling 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0e0238f0d4ced4a497ad1ea2609edc3950feea35b26039d93019df1c4a9d50"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningCurveChartKt.TuningCurveChart (cognitive 27): TuningCurveChartKt.TuningCurveChart has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"69502779e14453748bd10cb1438e3468335ce840b1e8c400177d7dbb1ac56604"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerScreenKt.VisualizerScreen (cognitive 27): VisualizerScreenKt.VisualizerScreen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 4, match/switch 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b051bf4abb87612ded10e74dbc20a9d00487162971893a474a57fdd4cf724bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.syncFromController (cognitive 27): PlayerViewModel.syncFromController has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 12, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"16514fded072c5654b06eeb66906bc830d66e079fba13b4455be93c09990cf72"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupArchive.decodeJson (cognitive 27): BackupArchive.decodeJson has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 4 (7 pts), match/switch 1 (nesting depth added 3). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dd2e620295329559ba0eca56a0616969140b70bdc2753ba0396b3fcd03ac98"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverArtClient.candidates (cognitive 27): CoverArtClient.candidates has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/CoverArtClient.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7380a05163906279165efa4780a3f839834014346726954061ea576ba2472"}},{"ruleId":"D2","level":"warning","message":{"text":"SacdImage.compressedFrame (cognitive 27): SacdImage.compressedFrame has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/sacd/SacdImage.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3e9fcdcd176944cf3e7f810b757aa51ec29e516b8b2678c90d23afb30fdaf0"}},{"ruleId":"D2","level":"warning","message":{"text":"TagEditScreenKt.TagEditScreen (cognitive 27): TagEditScreenKt.TagEditScreen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c97985c34f85b81e62cee9422b34b84b26a3bd69de3bff0eea25b56cd2a11e2"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderScreenKt.FolderScreen (cognitive 27): FolderScreenKt.FolderScreen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 4, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d214661d812425edb4329e44e0f672d2f866b3af0855d68b405a570b7b08f53f"}},{"ruleId":"D2","level":"warning","message":{"text":"RackEqResponseCardKt.RackEqResponseCard (cognitive 27): RackEqResponseCardKt.RackEqResponseCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 4 (7 pts), error handling 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc779b46b2000d9841edee06e935e1777d364b12699211a6490cda7e1d0015a"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningCurveChartKt.TuningCurveChart (cognitive 27): TuningCurveChartKt.TuningCurveChart has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningCurveChart.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd73df4ea5346c3d99cf02cf4e4a213172de6d0df4e63a72f7ed11039c517fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.styleColorScheme (cognitive 27): ThemeStylesKt.styleColorScheme has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22 (26 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"da808ca3742b0619da99014f008a522be93966ee781df49aeae3a44a0b3e650e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcertControlsKt.ConcertVenueMap (cognitive 26): ConcertControlsKt.ConcertVenueMap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2 (3 pts), boolean chains 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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6736e12e9836606425447ecb215ce54e8d03bc8070b23d30696758dfc2ff6681"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.MixTimeline (cognitive 26): MixScreenKt.MixTimeline has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22 (23 pts), loops 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e08e710ef1ad45030cbe6b3f92381e233df721826daa162b042219dc5ab6814"}},{"ruleId":"D2","level":"warning","message":{"text":"AppUpdateCardKt.AppUpdateCardContent (cognitive 26): AppUpdateCardKt.AppUpdateCardContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 5, match/switch 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"56449e819f77d5feb2c4117464599370b1043b7f0ca24dafbe956e99a45a7351"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundCloudBackend.sync (cognitive 26): SoundCloudBackend.sync has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 3 (6 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a4f18ea3db4305f55475bfcf1100c5ef3dfb61bfb801d1989fb54890c9afdf"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeMusicBackend.detail (cognitive 26): YouTubeMusicBackend.detail has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b17f81ce249715608743056b41958adb16ecdc6be62044be8428c0071923d7"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetSettingsStore.transitionPresetRule (cognitive 26): PresetSettingsStore.transitionPresetRule has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d395c415016439b9f6ba8e41fe12e1efbbfd7dd56cefb7b9a4e5dbfdf1a8f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"StemSpectrogram.decode (cognitive 26): StemSpectrogram.decode has cognitive complexity 26 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 3 (11 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/mix/StemSpectrogram.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e44d07fcbec52223e50794c08f3ec99161f7fe846a7bbba59c39a47cd2621"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionDspCoeffBuilder.cascade (cognitive 26): PrecisionDspCoeffBuilder.cascade has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionDspCoefficients.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0fb651cdc72549686473d6dabbf0ceb2c349050fa30af48187c527c2a85255"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.AlphabetRail (cognitive 26): LibraryScreenKt.AlphabetRail has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b63749111f87a32c4aad816d021d427bab2875080dbd41f1e41543bfaaa832"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.MixTimeline (cognitive 26): MixScreenKt.MixTimeline has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22 (23 pts), loops 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ef324eb5bea5fc7b8dae815eee5153acc37d5687bd0c28e6ee14464cf4724d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcertControlsKt.ConcertVenueMap (cognitive 26): ConcertControlsKt.ConcertVenueMap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2 (3 pts), boolean chains 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d1bc7c67a2f97e76bf39ae76a8c6c4c36fcad3a38a37cd99a16423911f2739"}},{"ruleId":"D2","level":"warning","message":{"text":"MusicHaptics.run (cognitive 25): MusicHaptics.run has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/MusicHaptics.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8af63c7d3c30ea4e77210411d6f4de8cd36d4307030468ba55fcc8050a85e93"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.startAudioObservers (cognitive 25): PlaybackService.startAudioObservers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 5 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5127b3ddadca34d417ac004679aee1adb5511d9ce99b23b4139de20e96d0b88a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.customCommand (cognitive 25): PlaybackService.customCommand has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc462a4d726019815a72a7b3d984ce940c3d0d18d57ef8eea4507f8aea4d7674"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackDockKt.PlaybackDock (cognitive 25): PlaybackDockKt.PlaybackDock has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"75daa10cd74d7d29014b880d6d8b1781a66bfdee5095f3e198962c4e4435ba7b"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.buildRows (cognitive 25): LibraryScreenKt.buildRows has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (21 pts), loops 1 (2 pts), match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2899464f0cea88202ab285abafa0873a7402820690099efdd1e7a6833ee011"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingPresetBundle.validateImpulseResponse (cognitive 25): ProcessingPresetBundle.validateImpulseResponse has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, loops 3 (6 pts), if/else 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ef06d01e245890838822e32ca75a6f05bcf326aa8750e599bc8f4e36738377"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartPlaylistEngine.matches (cognitive 25): SmartPlaylistEngine.matches has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 5 (11 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SmartPlaylists.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e872f47e9f007614b29284c65136368e8b8f403b8e34d0c13cf2634d4df8d505"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutsKt.macShortcut (cognitive 25): ShortcutsKt.macShortcut has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, match/switch 5 (9 pts), if/else 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0519cb4b78eec8ccce06546cf1d3dc965b49bc4e76bc20f4ed75b5ea7ca38fea"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutsKt.pcShortcut (cognitive 25): ShortcutsKt.pcShortcut has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 5 (9 pts), boolean chains 8, if/else 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5408f81a9e87651a872f582a1e887eb6226f22ed868a6469fe2e6e2097016b9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppUpdateCardKt.AppUpdateCardContent (cognitive 25): AppUpdateCardKt.AppUpdateCardContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, match/switch 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a0f833c864d5ec2b8c6fb9ec3f9fde2e632ab63e0bea54bd8842a805894166"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkPlaybackBridge.enableReceiver (cognitive 24): NetworkPlaybackBridge.enableReceiver has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkPlaybackBridge.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7099474e48ff21cd751c9f080abbbaf9526555477f048152c85e31b55805654"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchPickerKt.MatchPickerSheet (cognitive 24): MatchPickerKt.MatchPickerSheet has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a682de85af1f4dd302c30dc37c5e2b6efe78fb3c4ebb109022eae730bfe756"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeMusicStepKt.YouTubeMusicBrowser (cognitive 24): YouTubeMusicStepKt.YouTubeMusicBrowser has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, error handling 2, loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b66b38f7f907e3580ef0d19d66764f267b8d2c840e6f6f4262898155412414a"}},{"ruleId":"D2","level":"warning","message":{"text":"RadioScreenKt.RadioScreen (cognitive 24): RadioScreenKt.RadioScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda0380a082232bcbb37a56eba8f8e2c3d99d814d2c048b15584a4a278ace420"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonViewModel.start (cognitive 24): ComparisonViewModel.start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, error handling 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0fc9566622343f8e00fb79ac29d60bfdd7b70ba3daf6e1e137b2ae0f01b008"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelSchedule.render (cognitive 24): ParallelSchedule.render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackGraph.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d606e71719895d3721f24b5a73453b39593bca99bc6a480339cd1185c784d461"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.QuickTileCard (cognitive 24): LibraryScreenKt.QuickTileCard has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 4 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a843ef1ce2e4a22b9c28ac27b342b27f8bf2175b6fdfb9955d9690325a6ddd"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.SongsTab (cognitive 24): LibraryScreenKt.SongsTab has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a80f5eefe3b0b9d09bd78607b6c45935ce355416b669f4b5e83520e17a869"}},{"ruleId":"D2","level":"warning","message":{"text":"RadioScreenKt.RadioScreen (cognitive 24): RadioScreenKt.RadioScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd849e2b11e0b3b6acc1f4781a5aa194fa640df2e18bf13947bdb24ebea4824b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppearanceScreenKt.AppearanceScreen (cognitive 24): AppearanceScreenKt.AppearanceScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8936516c5c2cb3f407059f872d3bd2b8ee6408632802d121f0f61c53afe190c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SftpDataSource.open (cognitive 24): SftpDataSource.open has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 6 (10 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab96815c495525dddd80531c0b58d1aeff02350ac9b2d40893faf695733831"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionAudioSink.takeProcessorOutput (cognitive 23): PrecisionAudioSink.takeProcessorOutput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). 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":"app/src/main/java/com/aurora/music/playback/PrecisionAudioSink.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6c6b61c4fd171824735f54de5777940417ee3e24e61bab231c4d5363b9f06"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniPlayerKt.MiniPlayer (cognitive 23): MiniPlayerKt.MiniPlayer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (20 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f6184c871ac9513ac3d910c1da6c1daee98125bf66d74cafc507af16d8900c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchScreenKt.Results (cognitive 23): SearchScreenKt.Results has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77ba9ce2cad64421cf2346154a0784eea413ca9c93f5a864fffba0fcb278543"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingPresetsScreenKt.ProcessingPresetsScreen (cognitive 23): ProcessingPresetsScreenKt.ProcessingPresetsScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, error handling 7, boolean chains 3, match/switch 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e258da3a230742d9329201c3557fd2c1bba63d60506e454965d331ed247f02"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceAligner.window (cognitive 23): VoiceAligner.window has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, loops 4 (6 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":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1a48e96df636ca79ee1d5391cb037191c98239bf70699de10afc571f99d70c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductionRackProcessor.blendOutput (cognitive 23): ProductionRackProcessor.blendOutput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionRackProcessor.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc022a1285d90c9515decc0b1c0db0f8f47107e9a812383e3b1be37933ff4848"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectSession.poll (cognitive 23): ConnectSession.poll has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/ConnectSession.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42608a824342ebe7c22ce778432b2ce1a147ef9fed1f192fefae2d51d76b0fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioOutputSettingsScreenKt.AudioOutputSettingsScreen (cognitive 23): AudioOutputSettingsScreenKt.AudioOutputSettingsScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (20 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f581aa9fcbc92c14413a9d97d94affb78119e3ba4a24fe5fbb551d5353fc5ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cognitive 23): SettingsScreenKt.SettingsScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2455e765555ffc3041234fe5cdfbd5a72e87bca4318928000ce73979a0e8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryViewModel.load (cognitive 23): LibraryViewModel.load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), error handling 6, boolean chains 4 (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":"desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"966cf393519e499db227ef03a9b0051aa1f46cafccc73deb7d13c09d93f4253a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileImages.import (cognitive 22): ProfileImages.import has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/ProfileImages.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9391aba6ce370a4bddf71c4620bdd27552c8d9b9d87b7ba6b02c36f1a8f3312c"}},{"ruleId":"D2","level":"warning","message":{"text":"SonicEngine.buildAutoDj (cognitive 22): SonicEngine.buildAutoDj has cognitive complexity 22 (threshold 15). Drivers by points: loops 9 (12 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84a99f75e02bb02e992a3b998a31d2378a06c466f4f80cb46aeff97989e2943"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionManager.loadTracks (cognitive 22): ExtensionManager.loadTracks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, error handling 6, loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/extensions/ExtensionManager.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7165d017768075565d713b7f6366cb67e732fe8ca25582f17396c6d7f3d38480"}},{"ruleId":"D2","level":"warning","message":{"text":"AiDjControlsKt.setLine (cognitive 22): AiDjControlsKt.setLine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc6e9235fc20227b54a5933b507e7d009af699610b063a9daf8d19047dbf16"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderScreenKt.FolderScreen (cognitive 22): FolderScreenKt.FolderScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46716f85a3758e72f95071e43cc9364c2a3a07b6ca37f929cc1f6a8bd7e2871"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.SongsTab (cognitive 22): LibraryScreenKt.SongsTab has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f03576b18780995ed411989abc6edb1834c5dc459585c25750395da6e24e8ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cognitive 22): SettingsScreenKt.SettingsScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (18 pts), match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e9cad1c4c3a4bf04fbebdeb95e31b084f7b1c8dec7669392e6144ccfaff9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeKt.auroraTypography (cognitive 22): TypeKt.auroraTypography has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (7 pts), match/switch 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31dc587c789739b89dbcc3a50dd31291cea50800ba4fafd0552c6c958f495a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistLinks.parse (cognitive 22): PlaylistLinks.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistLinks.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbb6201b9ff627eedc7bbdb7ac90318e2a6329c6c448552d1d12489df3eedec"}},{"ruleId":"D2","level":"warning","message":{"text":"EqResponseCalculator.calculateCoefficients (cognitive 22): EqResponseCalculator.calculateCoefficients has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/EqResponse.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b3eba9e827f4f00545d53d60cbe03df8edfeb20d424dc7ee43f635ed93c101"}},{"ruleId":"D2","level":"warning","message":{"text":"SonicEngine.buildAutoDj (cognitive 22): SonicEngine.buildAutoDj has cognitive complexity 22 (threshold 15). Drivers by points: loops 9 (12 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2a2e39fde35ac0f52ab9a18b26d7e2f0397fff86217620feb2579ac7dd3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AiDjControlsKt.setLine (cognitive 22): AiDjControlsKt.setLine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034a76ef1d7a06d94c5914b96fead73fb0a057ba0c561a2db716a0a86b64d47"}},{"ruleId":"D2","level":"warning","message":{"text":"GaplessAudioSink.drain (cognitive 21): GaplessAudioSink.drain has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/GaplessAudioSink.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c328d740de814f9278fa9835e77237545678ade2fc4a619bc90644eb3564c8"}},{"ruleId":"D2","level":"warning","message":{"text":"HapticOutput.tap (cognitive 21): HapticOutput.tap has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 9). 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":"app/src/main/java/com/aurora/music/playback/MusicHaptics.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b013e720c231cb47c0e000a7534729670df358c521ab84b975830dd512ff032"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdExtractor.readDstAudio (cognitive 21): DsdExtractor.readDstAudio has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca979278964fd9f5a6e266b7c64bcbd5ae142ff2d195b1449f4892ff6d2e5af8"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPresetBindingsScreenKt.OutputPresetBindingsScreen (cognitive 21): OutputPresetBindingsScreenKt.OutputPresetBindingsScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2675cbcc05cc0db5890fb9da0d1d439e4c81a4d3e2014c66d640c7a13d175412"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsScreenKt.PermissionsScreen (cognitive 21): PermissionsScreenKt.PermissionsScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, match/switch 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":"app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"63edcc5443c1c187672a139c2ee1e8cc8f04aaa47362fb617c96bbbd221b51cf"}},{"ruleId":"D2","level":"warning","message":{"text":"RackSubchainsDialogKt.RackSubchainsDialog (cognitive 21): RackSubchainsDialogKt.RackSubchainsDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c88ef1459f626288093f8a723c714675225c87418ac0772416d8abbfb1a28c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalPathScreenKt.SignalPathScreen (cognitive 21): SignalPathScreenKt.SignalPathScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d65a3c3aff6f72a570ee259f9dd26243d48d635bd33dd33b95126cf1895fec4"}},{"ruleId":"D2","level":"warning","message":{"text":"RecapInboxKt.RecapNotification (cognitive 21): RecapInboxKt.RecapNotification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. 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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f211048c518d674e56178ded104c5aa7078a81e92345b1c5faf15cabb9a7d984"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.auroraPanel (cognitive 21): ThemeStylesKt.auroraPanel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7642f686ab110a6ae3a42cd0cf3edb4a5f61093822673caf7000e4969d69767e"}},{"ruleId":"D2","level":"warning","message":{"text":"DjMode.onQueueChanged (cognitive 21): DjMode.onQueueChanged has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjMode.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21e2f1967353701f07bcd724d74263563133adbb30cdda92501608ebd3a6748"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningFitter.findBand (cognitive 21): TuningFitter.findBand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/TuningFitter.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7084251e4ba5a1fbd7381c7ecf0f88ba216da3c9b95b714b9c30db4871bd1495"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionBlockProcessor.queueInput (cognitive 21): PrecisionBlockProcessor.queueInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"367aa81c4db40fb9ed6226f273662a832304673a3f2e7a6fe53fda349afaf156"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopPlayer.sync (cognitive 21): DesktopPlayer.sync has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9a2d95a90c1166d2a1e0d395bd305399498665d5c9b5d9758710cc64f68f1"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaControls.attach (cognitive 21): MediaControls.attach has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48b495faf09120243440322ec7c357706073dff6f32ba6938cb483922edc38"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailScreenKt.ArtistAbout (cognitive 21): DetailScreenKt.ArtistAbout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e17bd1d128c5bf8e59256cab2f8198ed1bb8fabac36ed22bd9e0955c0149580"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibCard (cognitive 21): LibraryScreenKt.LibCard has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33d8d9db5b3ea91bed61cb28a86edada03ecb3ed57a7dc38b6cb2bc4abc9da5"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsScreenKt.AccountsScreen (cognitive 21): AccountsScreenKt.AccountsScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa93937ef3f3266bc7484536c362230d953c96be5280b79e0fefa21cb63a450"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPresetBindingsScreenKt.OutputPresetBindingsScreen (cognitive 21): OutputPresetBindingsScreenKt.OutputPresetBindingsScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cd897f0dd029f6400ef88a009eb762a15fc4739a70952486e65a24e93f8c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"RackSubchainsDialogKt.RackSubchainsDialog (cognitive 21): RackSubchainsDialogKt.RackSubchainsDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"54657498b8270a42739987604ee503473f598f5d43f0b878d02c3b5620b3696f"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalPathScreenKt.SignalPathScreen (cognitive 21): SignalPathScreenKt.SignalPathScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c892dace4ed971841968939fa1e00dafbd61e5b50c7ef704ccdfbb5206852"}},{"ruleId":"D2","level":"warning","message":{"text":"RecapInboxKt.RecapNotification (cognitive 21): RecapInboxKt.RecapNotification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d78099937272c5c049bb0219a9f492a57fcefb026ab0fd140c4041ee4ff28c4"}},{"ruleId":"D2","level":"warning","message":{"text":"SonicEngine.scan (cognitive 20): SonicEngine.scan has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 6 (8 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb72608d25c9c414cfbfd9500719bc36ec6e9cd2b51c513c4367537cec1880e"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAnalyzer.decode (cognitive 20): MixAnalyzer.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, loops 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d649234842b5696a22c25558a4fb514b51b15ffe34403fa54bbae7ee2c1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackService.completeNetworkOutputSwitch (cognitive 20): PlaybackService.completeNetworkOutputSwitch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5cfafd92dc5113ed6c8a36046b267648ed43afa0d041168bc312b75b848345"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonPlayback.start (cognitive 20): ComparisonPlayback.start has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/compare/ComparisonPlayback.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ad875f395fdc6c8a3e6f1c0f75cb207db4e0ac8b4a5e15b796c9ffacceb5f5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppearanceScreenKt.AppearanceScreen (cognitive 20): AppearanceScreenKt.AppearanceScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2307f21f0416de68921b2957f9c77478893742e3e73f7da0c11492e0070913e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ImpulsePreparationDialogKt.ImpulsePreparationDialog (cognitive 20): ImpulsePreparationDialogKt.ImpulsePreparationDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, error handling 4 (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":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7895addd402c4fa93e6b4202cfe501d3f90dec341f40d91a9e875d1ae518b6"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningApplyDialog (cognitive 20): TuningProjectsScreenKt.TuningApplyDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5 (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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb4d83f72c5868f9a50d638addfddb53988e5226cf74ecc6156c97135497d47"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.maybeEnrichLocal (cognitive 20): PlayerViewModel.maybeEnrichLocal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d36a5748e21446b39f3f83f636f2c59fdd37ff3c150da10653870ba3646e58"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.fillQueue (cognitive 20): PlayerViewModel.fillQueue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c98f5980cd498e2bb7d3aa8896ffe397cd3a25292842e2120768de2f79e042"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.doDownload (cognitive 20): DownloadManager.doDownload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DownloadManager.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7f69d268ec6c9ab710e3845b5961a9bc4bc1337fd26aaf304a111ea02d34a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PlexLyricsKt.plexLyrics (cognitive 20): PlexLyricsKt.plexLyrics has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlexLyrics.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a2ca87dc41543e21cfa491eb87550ad9cf943c6ad7f24da59819c1538c68b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleMusicClient.request (cognitive 20): AppleMusicClient.request has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, error handling 2, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/AppleMusicClient.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"300a1c8151ff58ca1c776dcbb678917bb96b0610526d3cdc304d3494bc95ad37"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackReportTracker.update (cognitive 20): PlaybackReportTracker.update has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PlaybackReportTracker.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e543645d207b768a5489e6adb48c17407a4b9ae8c5b1d41ffc7fecfb142568"}},{"ruleId":"D2","level":"warning","message":{"text":"DspChain.readOutput (cognitive 20): DspChain.readOutput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/chain/DspChain.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128650df7776a456d8c233e7be6f0e0ca193576e54d5b74874fcd5047c78fac"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectJson.command (cognitive 20): ConnectJson.command has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/ConnectProtocol.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f3121707780a4c4868758636f19db9dd7156d443652422c1846baa1f97b1c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopPlaybackEngine.run (cognitive 20): DesktopPlaybackEngine.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07acc9bfcbc16115dd0ef9c07ca167d6636282206de27f9eaf05dafb460555"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopPlaybackEngine.pump (cognitive 20): DesktopPlaybackEngine.pump has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4edcc3a7081ac72172bcdeb1907d46af3a9873fc0d51dad1080ac5dbce60616"}},{"ruleId":"D2","level":"warning","message":{"text":"StemSeparator.decodeStereo (cognitive 20): StemSeparator.decodeStereo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 5 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6df3f77302a61312654e0aa9b7fe77e18770ddde774d94f5ef74aa73c261799"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibListItem (cognitive 20): LibraryScreenKt.LibListItem has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d81cf080009f054506bbb68a9fbbc221aee8ff5f600b58b2affc43e51cb3c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ImpulsePreparationDialogKt.ImpulsePreparationDialog (cognitive 20): ImpulsePreparationDialogKt.ImpulsePreparationDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, error handling 4 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccbd82c94095d8c74e1dc18f88ff369d6cb711dc480f75911ebefd2c6c9deaf"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.TuningApplyDialog (cognitive 20): TuningProjectsScreenKt.TuningApplyDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5 (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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5953515de2a123b79b8a826fa956658e797e6f7c03b00e32bf4334f0af57330b"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeKt.auroraTypography (cognitive 20): TypeKt.auroraTypography has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), match/switch 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3a52d0b8378dad47203e3c59fa23cb79d3ce81f6fc9747ceb458dce6a336f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CefBrowserSwing.onPaint (cognitive 20): CefBrowserSwing.onPaint has cognitive complexity 20 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 6, ternaries 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mac/src/main/java/org/cef/browser/CefBrowserSwing.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eb6e0ef76e8199f59f797b15259fcbc60171ddb486a60c5b42ecea83b4f318"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionAudioSink.activatePending (cognitive 19): PrecisionAudioSink.activatePending has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PrecisionAudioSink.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a241814c4c91c9986aeb755337d76c285a75a789ca479fed81724e125ae7f8"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdExtractor.startAudio (cognitive 19): DsdExtractor.startAudio has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c8c49a63f03da03b5eee8a3681bea335a82f27ca7730c12515d51464e0fd0e"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbGraphProcessor.getOutput (cognitive 19): UsbGraphProcessor.getOutput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/usb/UsbGraphProcessor.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabbd510257b2f1de982b32061e52790d64703e6d4fed9bc439d5333342b8393"}},{"ruleId":"D2","level":"warning","message":{"text":"GlassControlsKt.GlassTabBar (cognitive 19): GlassControlsKt.GlassTabBar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfdd7a28a459db51f2ddcd7548cfaf19d9f66e9f48ea360b543fc27700fda7c"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioOutputSettingsScreenKt.AudioOutputSettingsScreen (cognitive 19): AudioOutputSettingsScreenKt.AudioOutputSettingsScreen has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7331eabdce7294c0bdb9f1eab6c3eef5e70c1fbf2af2502830389fb4e5c20186"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningTargetLibraryDialogKt.TuningTargetLibraryDialog (cognitive 19): TuningTargetLibraryDialogKt.TuningTargetLibraryDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76aab0f861a9584fa89129a6007c35ad490a1106b531c09ad354925d45f9756"}},{"ruleId":"D2","level":"warning","message":{"text":"CurlFlowField.update (cognitive 19): CurlFlowField.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1522e6322dbf8705930dc27753157d79a77befd5af56a71d37d1b940bf535b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Cymatic.update (cognitive 19): Cymatic.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 4 (6 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d85adc6cecf5b34f4fcc86a2ff662f56c029378db98b704e5cad2859aef412"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionVideoController.request (cognitive 19): CompanionVideoController.request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3 (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":"app/src/main/java/com/aurora/music/viewmodel/CompanionVideoController.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8db76e841d23b5d437f369a4e72b30e8fba24dcb253c34f75c64d1ee525ef"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupManager.restoreValidated (cognitive 19): BackupManager.restoreValidated has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 4 (7 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupManager.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ce3ec647e45339a0c2df99c21becbfdcfaf49bc7e49f2e8fc39229024cdab9"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamBandCodec.read (cognitive 19): ParamBandCodec.read has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ParametricFilter.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"30269b3c189eb1201028d26650569a752f4a0f82728e5bc19a8fc801412bdc63"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingRackCodec.read (cognitive 19): ProcessingRackCodec.read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a65bd21abd030ff5b97655282f0c9833f8d06243785d33c755f03d64cd7ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"ListeningMath.estimate (cognitive 19): ListeningMath.estimate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/listening/ListeningLevels.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64367fa8dc65c7edc0cbbc076259cea1c36dde61afa8fa4ac2862b85f99ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundCloudClient.attempt (cognitive 19): SoundCloudClient.attempt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0da2632b39787173b80f3f87982f7ecd2e606cc125345fcdc115c6cbf4f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeMusicParser.results (cognitive 19): YouTubeMusicParser.results has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbc781b66afb2485efe3a308cad00f8df14af43b7254a5905a9e677f674e857"}},{"ruleId":"D2","level":"warning","message":{"text":"DspCoeffBuilder.build (cognitive 19): DspCoeffBuilder.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"671dd3ac801b35ec8ef3cdd73d439f85865d6d622ffe4c91d04e9a1894e187dd"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerController.pushPcm (cognitive 19): VisualizerController.pushPcm has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/VisualizerController.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac91b76fad752d952a6bb185fed54cfe88b2ca61ce2bb4fb38b37432b644a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdHeaders.dffSoundProperties (cognitive 19): DsdHeaders.dffSoundProperties has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 1 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/dsd/DsdFormat.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbed1a77716b91c8c4e8e51838d3053c78b0657f040a135adeaa679ccae7d45"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopedMediaServer.handle (cognitive 19): ScopedMediaServer.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/ScopedMediaServer.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7edca2485e3d1d1827a95946f109f55cf1030073f3ac6fafa40d8b6413d848"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxOutputBackend.open (cognitive 19): LinuxOutputBackend.open has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/LinuxOutputBackend.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6563c8ee3e1a9811be573b631321db8cb5f71de53a201d0069288e192ad151"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeStretcher.step (cognitive 19): TimeStretcher.step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/MixDeck.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f96c7d7531d11ea23fa8aceb3fffa909aeeba843674397191e1c728ae40a25"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSignInKt.YouTubeMusicBrowser (cognitive 19): WebSignInKt.YouTubeMusicBrowser has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 2, loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41bce3ca3340fe848b4b33b824cabaa1b3444de8ebab3e631d69c4df8f7194"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualizerScreenKt.AutoEqPanel (cognitive 19): EqualizerScreenKt.AutoEqPanel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 3, error handling 2, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f02b9e18fb386fbedbffa739cf9810bb0eab9e37d34735782973d265529b18e"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningTargetLibraryDialogKt.TuningTargetLibraryDialog (cognitive 19): TuningTargetLibraryDialogKt.TuningTargetLibraryDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"985959c5d00fd3d8ac89f195c957d493e90c948ca7292f4b22ebbbb19f7e0110"}},{"ruleId":"D2","level":"warning","message":{"text":"CurlFlowField.update (cognitive 19): CurlFlowField.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c46986f08ad3a058e5635c188703afabd2e4f01cc4c83506f983a2038b29f16"}},{"ruleId":"D2","level":"warning","message":{"text":"Cymatic.update (cognitive 19): Cymatic.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 4 (6 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a6a35c473dd7a479b3cef2227b96ff960559255df8c4a7f9d33caeeedbeb82"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonViewModel.start (cognitive 19): ComparisonViewModel.start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14575d30fb86e41df8ad9166f25b41578c2ef122bda1c0b9b7adc5c97033dff"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioDevice.openDevice (cognitive 19): UsbAudioDevice.openDevice has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, match/switch 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDevice.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ebe0aad4a49cc81f1cd20f0115800fcda72144407be93ede9ad3055d15470"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioDevice.configure (cognitive 19): UsbAudioDevice.configure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDevice.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"de46c27534b8c3f292ec421d8d8eb410431f81982a0a885197f83fadd15b54f9"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioSink.play (cognitive 19): UsbAudioSink.play has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72f4cee14be770e1413fbe666cba44ba8806b4c8c9f76ab128e0c0c87041aae"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayGainScanner.scan (cognitive 18): ReplayGainScanner.scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/ReplayGainScanner.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8071e51dbf939e22b5d26553da0806d5153c79b9ff7f389f5c636f41696f6041"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionProcessor.queueInput (cognitive 18): ConvolutionProcessor.queueInput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d7560ca7b6f897456ae2f3265391600b0c9b478912e06db80941d03136a104"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniPlayerKt.GlassMiniPlayer (cognitive 18): MiniPlayerKt.GlassMiniPlayer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc959d6fdb17fb2955a7711e8f560d2eadccad35f8eab998b28330b0a6637e"}},{"ruleId":"D2","level":"warning","message":{"text":"SignInScreenKt.CredentialsStep (cognitive 18): SignInScreenKt.CredentialsStep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dabad54ff89507e01b30e6c88bf9d05cdf4ef2bb7104a644cecc737855a92f"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.AllOverview (cognitive 18): LibraryScreenKt.AllOverview has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43eeb7f4d8d165b8e187c601bb2daa330aa9e9d2cb877595f70fed018690d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationsSettingsScreenKt.LastfmAccountControls (cognitive 18): IntegrationsSettingsScreenKt.LastfmAccountControls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"42db7c1a2af7382f60e2f679db4090559ae7771cdd861bd6f323cce3a51481ae"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkOutputScreenKt.NetworkOutputControls (cognitive 18): NetworkOutputScreenKt.NetworkOutputControls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/NetworkOutputScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae84cf22c5b0e4acb41c21c549d6978f8bd8befae69e4d1091e1f0a10c75a82"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerRenderersKt.drawSuperformulaBloom (cognitive 18): VisualizerRenderersKt.drawSuperformulaBloom has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e39c7d96119198ffbcbcc03d6a52a5bb4a58b1758fc21feb9a0c650bf4c71d"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.auroraBackdrop (cognitive 18): ThemeStylesKt.auroraBackdrop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b322396525ac0012825e01431c77d81ed8d424a0db1bc907ac4f691273f80d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.persistQueue (cognitive 18): PlayerViewModel.persistQueue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8a1a2ae68069e2b2463b4d58bbc6c48f49b0bc8ac6ed9a4ad4ca9fda866953"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingPresetBundle.read (cognitive 18): ProcessingPresetBundle.read has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e709f40080e8be45e5a07db436f196692cac36e6700514a3b22d492990211ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionFft.transform (cognitive 18): PrecisionFft.transform has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionConvolver.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd815e91ba27024d921a92f60e1795a17edaf6fcbf14c9029163c5ca68be0cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductionRackProcessor.applyPrepared (cognitive 18): ProductionRackProcessor.applyPrepared has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionRackProcessor.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55863b54354f4d3cdc8d1d739bf84d4fbc29c24e00281230ad7b4f4991f722"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelSchedule.copyDelaysFrom (cognitive 18): ParallelSchedule.copyDelaysFrom has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackGraph.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bda8e2ea3d989d2d2d4ec096d316ba8e86cd1fd89c2ad9527cd8c66b7fadf7"}},{"ruleId":"D2","level":"warning","message":{"text":"HapticPcmRing.drain (cognitive 18): HapticPcmRing.drain has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/haptics/HapticPcmRing.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ce078e355485e035e51533b43b89ec4af6fe8a7adafb35ec4efc3876e3c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SignInScreenKt.CredentialsStep (cognitive 18): SignInScreenKt.CredentialsStep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"55583f5e467b0c49383aff80d8479ece9211ddbf36f619e555333ab4914811df"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibTab (cognitive 18): LibraryScreenKt.LibTab has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7749f27a6af4a44708090d8dbb6a0e7af6caae5f58edf8dc51229f9a6380cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueScreenKt.QueueTrackRow (cognitive 18): QueueScreenKt.QueueTrackRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152ed09ff2c7d43c1811f312514dcf7c628a6b54ea613ed79293be006ebe765"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationsSettingsScreenKt.LastfmAccountControls (cognitive 18): IntegrationsSettingsScreenKt.LastfmAccountControls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0b49f3f2b8b5ca62283d6297c1e6d1920e8a9c325eadfd9448bfc6b01cf15b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingPresetsScreenKt.ProcessingPresetsScreen (cognitive 18): ProcessingPresetsScreenKt.ProcessingPresetsScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, error handling 5, boolean chains 2, match/switch 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f86c7cad059005e767c15d4a116eb1569e77f04f70530e16b38ad220aba30e0"}},{"ruleId":"D2","level":"warning","message":{"text":"RecapSummaryKt.renderRecap (cognitive 18): RecapSummaryKt.renderRecap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapSummary.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4546eb7b3f1a13a7c56e445b737afd2e1ab1a2acab1fc51c6742ecf6c6f90999"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerRenderersKt.drawSuperformulaBloom (cognitive 18): VisualizerRenderersKt.drawSuperformulaBloom has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e09851a67b5985f56308215151db5831f6f22146eeb4f8709b04e7e100db8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeStylesKt.auroraBackdrop (cognitive 18): ThemeStylesKt.auroraBackdrop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f81f3fc29c5bdea5e1d41d9c048faa4f37ddb3c5f830ca8f7bef11aa1404b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackForeground.setReceiverForeground (cognitive 17): PlaybackForeground.setReceiverForeground has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackForeground.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f1a1e9d35932c9051dfbe9af66536491280799ec4d56089b390e59ef54e77b"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecisionAudioSink.handleBuffer (cognitive 17): PrecisionAudioSink.handleBuffer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PrecisionAudioSink.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a9ebb3d838b55325199e743189fc7bcbc86c8b66b0fe5b29cdf5da132e729c"}},{"ruleId":"D2","level":"warning","message":{"text":"YoutubeResolver.resolvePlayback (cognitive 17): YoutubeResolver.resolvePlayback has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 6, match/switch 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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0425b60443afb888de1e577bf2feb84318abb4bad8807d679813f7401d7596"}},{"ruleId":"D2","level":"warning","message":{"text":"DsdExtractor.readDffText (cognitive 17): DsdExtractor.readDffText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 6, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74f0c01ce71212f1545fc862016121d037373be23979f8a01398651ee6a54a7"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackSortMenuKt.TrackSortButton (cognitive 17): TrackSortMenuKt.TrackSortButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (17 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e93b28264be1d87c767d3d85b442367a472230a875d5ca639a2ce8c04bcdb40"}},{"ruleId":"D2","level":"warning","message":{"text":"CreatePlaylistSheetKt.CreatePlaylistSheet (cognitive 17): CreatePlaylistSheetKt.CreatePlaylistSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/CreatePlaylistSheet.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0298780cd1ae5da9bbc641fe593edc745752ef3b3e50a04a68176b99801ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.CollectionMenu (cognitive 17): LibraryScreenKt.CollectionMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"7162d16bebd3e50cee4e95651dd95086baba9184c9f8617a64d7ed3db0ec1041"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.TransitionPreview (cognitive 17): MixScreenKt.TransitionPreview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4226708e8fd7c7bc064c6d621078ff0c5e0ab63d1fb5bb4bcfb0e197c0b3472f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackVideoKt.PlaybackVideo (cognitive 17): PlaybackVideoKt.PlaybackVideo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlaybackVideo.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3480751cfa2b8a486254693df23eaa01545a47dbda0af097e39f35a176553ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerScreenKt.CoverOverlay (cognitive 17): PlayerScreenKt.CoverOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea881f1eb2db9ca0c06ffc45e8be3796e382020f1f22b2385fedf9a59e8cded"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastsScreenKt.PodcastsScreen (cognitive 17): PodcastsScreenKt.PodcastsScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe6000fd94b7dc20d5a4af159efae7348e53ca46905837d5a65ebfced498b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetRulesScreenKt.PresetRulesScreen (cognitive 17): PresetRulesScreenKt.PresetRulesScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a3ee45a596117190eb4a3a09b7f3d08c0836104898fc0345f2d4d4b41f1d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerSettingsScreenKt.VisualizerSettingsScreen (cognitive 17): VisualizerSettingsScreenKt.VisualizerSettingsScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 4, boolean chains 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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"751af534bcd7003b8ca5b93d9df624f81f47df4d7c87a5dc982148702550993c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiquidGlassKt.liquidGlass (cognitive 17): LiquidGlassKt.liquidGlass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/LiquidGlass.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c766c8cc25c370a52e2062e2fe3685cfd0b79ba23c060723dc929a57e1b0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.startSonicRadio (cognitive 17): PlayerViewModel.startSonicRadio has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 4, boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19441a0e8c33d70e95231ee961649c2632098698adfc9f6482b96891bf30dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"LyricTimingKt.withWordTiming (cognitive 17): LyricTimingKt.withWordTiming has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c508f727caf7a692f5aee3a2849adf17966e891a92adc2ac7de768ab143156b"}},{"ruleId":"D2","level":"warning","message":{"text":"VocalActivityAnalyzer.emit (cognitive 17): VocalActivityAnalyzer.emit has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/VocalActivity.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"572fefd40ea881f5d6ebf44dc97c790050e18d7bd7b5e1fedd35f5995cb1f6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"NavidromePlaceholder.matches (cognitive 17): NavidromePlaceholder.matches has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/NavidromePlaceholder.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c105664a7ad2fa95b256b74463c27573321413887e1fa8c5f74a6b2006a54e37"}},{"ruleId":"D2","level":"warning","message":{"text":"Fft.transform (cognitive 17): Fft.transform has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 4 (8 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/Fft.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d453f696c204b1221d498d784171908afa8391b741596eed094c78c027919b71"}},{"ruleId":"D2","level":"warning","message":{"text":"Resampler.resample (cognitive 17): Resampler.resample has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/Chromaprint.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"845ac4ee3d38851ec564c407564c4fb86363fe81d3972c98494585d204c7e249"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopMixPlayer.syncDecks (cognitive 17): DesktopMixPlayer.syncDecks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/DesktopMixPlayer.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d374dcf1753255554511882a5611155604562e81118aa65ac5b4f022ec828a"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopPlayer.startSonicRadio (cognitive 17): DesktopPlayer.startSonicRadio has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 4, boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcbb986d2f849a03ca3d7077aacf329545b415eeb0dcf7d0fdaab8fd527ba02"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionVideo.request (cognitive 17): CompanionVideo.request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/video/CompanionVideo.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c8859559424e489c55d5d1ca9a6b766569f215f62178af390788fb485291a"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMapKt.TileMap (cognitive 17): TileMapKt.TileMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TileMap.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4155eba87f82bd191067adf4b132e15b9ce44472c393b4a83607cb8e00e3cd7f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackSortMenuKt.TrackSortButton (cognitive 17): TrackSortMenuKt.TrackSortButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (17 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7b1bc19dba76f3a7d842df549683855b5cfd2ba721768ea5a5857ad16e8e0"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.CollectionMenu (cognitive 17): LibraryScreenKt.CollectionMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f29964f66c9d7400bcf5dddd42451e5b170f9f7a232916b85bc84ba994319d"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.TransitionPreview (cognitive 17): MixScreenKt.TransitionPreview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf80ea9f2127ef74a337f3289e1f99d0e1215c345595db5b320a7721aacf53d"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastsScreenKt.PodcastsScreen (cognitive 17): PodcastsScreenKt.PodcastsScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a53cce34ffe0c2fb06302a2b1d3622f1327a3a7a5e5950937702f2aa43b144c"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationMenuScreenKt.NavEditRow (cognitive 17): NavigationMenuScreenKt.NavEditRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"13168662658c1916e7046e8f9c5dabc186fb5045154c3ed0ea0f986b7c34326c"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetRulesScreenKt.PresetRulesScreen (cognitive 17): PresetRulesScreenKt.PresetRulesScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"319198e309073ccd4c9cb813187fd332071ba1f58c0cc80266ea4475fdeac8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizerSettingsScreenKt.VisualizerSettingsScreen (cognitive 17): VisualizerSettingsScreenKt.VisualizerSettingsScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 4, boolean chains 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6384b5ea66471f4692fbb870b17afcc55b057088a28f169d4d9094982c41f921"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioSink.configure (cognitive 17): UsbAudioSink.configure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"62539fe7fcf8cd30a983398ecda4b9c03c1cbed30e2338bd92d5b958ff349229"}},{"ruleId":"D2","level":"warning","message":{"text":"UsbAudioSink.startNativeEngineIfFlac (cognitive 17): UsbAudioSink.startNativeEngineIfFlac has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"2383358e02f6730bb2804f85d4f3f90c9f28f5ed8eb12bc5452fbc6a84509f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackFades.tick (cognitive 16): PlaybackFades.tick has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackFades.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae20a61e944429d8e1031e0b2958a77a5986037fa3796de6115d5ae184f6a9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidConnectHost.apply (cognitive 16): AndroidConnectHost.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebb4abedf452ea857e158a1d420378dd9a53de501fcabb3bbc789b4f2ac9f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"AuroraOnboardingKt.QuestionsScreen (cognitive 16): AuroraOnboardingKt.QuestionsScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/onboarding/AuroraOnboarding.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"369b63453a554ff9744501646bc01e037dfbd5e6974d74f187423a2e1d944fff"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.ClipEditor (cognitive 16): MixScreenKt.ClipEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd253a91d2e5f46c5a4a2de887773daaa0228b66bb516911b183b6bae91729"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerSheetsKt.OutputDeviceSheet (cognitive 16): PlayerSheetsKt.OutputDeviceSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885fd9d4c20f5741980e47e81a3f937427cb7514aa821565d7be0615161588c"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastDetailScreenKt.PodcastDetailScreen (cognitive 16): PodcastDetailScreenKt.PodcastDetailScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5680a85bfa6d4a71c8102ee9d4c964261c4be2c6a160a9a14a6612afd90aeb44"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionsScreenKt.ExtensionsScreen (cognitive 16): ExtensionsScreenKt.ExtensionsScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2, boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ExtensionsScreen.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ad6b8f9fb74eb9fde4530059b53ab719b6224bd82547cd42198a62c7940e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.fitInputProblem (cognitive 16): TuningProjectsScreenKt.fitInputProblem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 4). 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da372bd43fa730ec81989af9ea0be0f9845e4912d280401796dbd29f5ca13d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeKt.AuroraTheme (cognitive 16): ThemeKt.AuroraTheme has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d15efa656543d31b21c83d4327be4e30d2851b3cc2f75b733658860d6d0d79"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatsNewTourKt.SplashPage (cognitive 16): WhatsNewTourKt.SplashPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"383c1f87964df3f6e15d8d4766adc3803b2df14c20c7426b6bee09b83ef2e6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"DjKeywords.merge (cognitive 16): DjKeywords.merge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjKeywords.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6195a187e537cf11489637e7da27542c6429baaa6a067107bfc16891d6236901"}},{"ruleId":"D2","level":"warning","message":{"text":"BandlimitedResampler.readOutput (cognitive 16): BandlimitedResampler.readOutput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/BandlimitedResampler.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc63712ef811f5166a51cd889238b4690c89d465eed32e42e850912b98d3f454"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductionRackProcessor.feedInput (cognitive 16): ProductionRackProcessor.feedInput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionRackProcessor.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec59e41b01af452572c173e55c23df9449a892e492e52c798bad27eeae919336"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkWaveSource.inspect (cognitive 16): NetworkWaveSource.inspect has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, match/switch 2 (3 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/audio/NetworkWaveSource.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"45043c3f6a392fccb495175b854571fdeb57111c2b38147db216a904998dd1bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Deck.fill (cognitive 16): Deck.fill has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/Deck.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3401f70b2990580f21208cdc43405a4b07b2c9c1ba18f85df0b381a2012108"}},{"ruleId":"D2","level":"warning","message":{"text":"TitleBarKt.CaptionButton (cognitive 16): TitleBarKt.CaptionButton has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/TitleBar.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf65491a25d4a9ccea5a9900d65e11f0a9852b0643b213f3995033d8b08473"}},{"ruleId":"D2","level":"warning","message":{"text":"WebPage.popupRequest (cognitive 16): WebPage.popupRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/web/Chromium.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"69434568d563c4bcb89142c22b43251f29e4d494b1d31f72e8e12be1a102a690"}},{"ruleId":"D2","level":"warning","message":{"text":"MixScreenKt.ClipEditor (cognitive 16): MixScreenKt.ClipEditor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0873de844f16ccc73dd1af23399410f27bc36f22b11dfb7c32fdc23dfdfb3fad"}},{"ruleId":"D2","level":"warning","message":{"text":"PodcastDetailScreenKt.PodcastDetailScreen (cognitive 16): PodcastDetailScreenKt.PodcastDetailScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e442c90c0bccc93622017d8ccd21e62260bff5af43ce28154f91b5837c72bb"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcesSettingsScreenKt.PriorityRow (cognitive 16): SourcesSettingsScreenKt.PriorityRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc6ddd6810434f705487252cb0f3462852750a760edbce237b091455db65618"}},{"ruleId":"D2","level":"warning","message":{"text":"TuningProjectsScreenKt.fitInputProblem (cognitive 16): TuningProjectsScreenKt.fitInputProblem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 4). 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9681aa31150f7966c917461b287846edc1a24636e3b37c873428f336cf41a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ListeningMapScreenKt.ListeningMapScreen (cognitive 16): ListeningMapScreenKt.ListeningMapScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9c20201047018d53e8fb90b126521419aa505c366a4f36f981efc2aa312feb"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeKt.AuroraTheme (cognitive 16): ThemeKt.AuroraTheme has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4f381e7f6c8e7bc8209ecc5691d377929aed22c51925e73bb8b49ff1200a63"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatsNewTourKt.SplashPage (cognitive 16): WhatsNewTourKt.SplashPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae92a32aa7df08b552d27337eacfe16bbf8b1d115405a351a666203697d93825"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuroraAppKt.Shell: MethodTooLong \u2014 Shell runs 1216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1116 over it, 12.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4882534fe93d0d0568e513ed9a2fb0fbb89feb7784d8025406fb045d14fe751a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopPlaybackEngine: TooManyMethods \u2014 107 methods. The bar is 30 methods; this is 77 over it, 3.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bd70adb6c8c7fdd07ceab0b0b3a241c0044d59437de1cb61f6940d5051ce0b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MusicRepository: TooManyMethods \u2014 103 methods. The bar is 30 methods; this is 73 over it, 3.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MusicRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee329f78962f925ed654988b1a39ba1d7acc077b1275654372ed7aea71eebc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AuroraApp.kt: FileTooLong \u2014 1698 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: val (148-1964). The bar is 500 significant lines; this is 1198 over it, 3.40\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7f571f7810c156739179a7247e96a86fe1ff15bfd2b679ea51ff514f8a9be9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AuroraApp.kt: FileTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1021 over it, 3.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9026a19365774be8786d7d34c19c134c01e7bdc2b0e008f591f7067b1fac3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerViewModel: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c4556dd1a4dfc7451d16f86c424153f151f99874545429f7db53699d8c441e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopPlayer: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4163c0ec9e24962e73f959c6564b73911b2db13a1a9810acf93e66d7efc2b259"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaybackAudioOutput.reportLocal: MethodTooLong \u2014 reportLocal runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\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":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"23247ac665bfe586fcd274dbf3d4da34a1cb0a01601ac293c1f175d7ac6f6c12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerScreen.kt: FileTooLong \u2014 1282 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 782 over it, 2.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d70744f251413ad728e52a07f228ff112729cd8ae6bcc421017507284147ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopPlaybackEngine: ClassTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded), 107 methods. The bar is 400 significant lines; this is 619 over it, 2.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4ad890a29075d69dc82ddcfae3ee5af5b4949a1ae929d9381801b6a210ae8e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerViewModel: ClassTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods. The bar is 400 significant lines; this is 608 over it, 2.52\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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"de68fd468f1e2e81c98d9b446fa5665636200878973dd55c68afa7d878b8a1c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MergedBackend: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. Most of these members implement data.MediaBackend (65 of 72 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/src/main/kotlin/com/aurora/music/data/MergedBackend.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20716aa16dce1e76bfebc90ed9f96d96e0a730cd81aa8b850c2c6d038892b97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/LibraryScreen.kt: FileTooLong \u2014 1125 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 625 over it, 2.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7daaffbc0ea3399b061396ab249f1dc5fa0c5187850bdd35ff9c507f4708b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourcesSettingsScreenKt.SourcesSettingsScreen: MethodTooLong \u2014 SourcesSettingsScreen runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30209a9879dda6a28064dff0c556225e8d86de0ab63497422b9690c9db4d9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/PlayerViewModel.kt: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PlayerViewModel (112-1481). The bar is 500 significant lines; this is 608 over it, 2.22\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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e438a0481a91d024bc526c53c624e5c8d162dd6d93f3749000d832dc72043b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audio/DesktopPlaybackEngine.kt: FileTooLong \u2014 1069 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DesktopPlaybackEngine (53-1382). The bar is 500 significant lines; this is 569 over it, 2.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975fa200c890d34841fd861c8e586f0311581ba81cdb1aaa76ca6c86c27511d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TuningProjectsScreenKt.TuningProjectsScreen: MethodTooLong \u2014 TuningProjectsScreen runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ac46690f2e9f7b513e26d86ba95472848e31f306676c42b551f8ce5d659b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TuningProjectsScreenKt.TuningProjectsScreen: MethodTooLong \u2014 TuningProjectsScreen runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2a054b8381af234b9f5eff5ece71c1d34edb20e2db4566e01355b1f6e0cb55"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConcertAcoustics.room: MethodTooLong \u2014 room runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec7aeaa0f5900f0f19e218f2b5e8d18cd6bfe8ea9c878bfebd2be44592a19ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlaybackService: ClassTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 391 over it, 1.98\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":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"614d3243e6af8ba7eb1e257288149aff423d79434f81d985f7628b99048a4d14"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoundCloudBackend: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0225cbae42e5ecd8199a12c54235b5a779dff29627e4affabba06263b414190"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopPlayer: ClassTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 349 over it, 1.87\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":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae9ef9974744605818b75dba9ecc2de5c25d3ed77a1fb393aee5b99e7b026bb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MixScreenKt.MixScreen: MethodTooLong \u2014 MixScreen runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd24e2be4fc46347702b7da4cb5cbc0226f88f1b5792303385ef7b98e1451ba4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MixScreenKt.MixScreen: MethodTooLong \u2014 MixScreen runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4023098348d919c6757e0cad7a82a305741c961cf8978b18c77c7da80488408"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerScreen.kt: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5682b2cd39c515c3b13cf238953109bf636b765afcac8ec53c56d7a228a0553"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visualizer/VisualizerRenderers.kt: FileTooLong \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 370 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e38f4566b5e49cfbb06ecd34f9595fe29b7f443e14654f6e243acff72d303e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visualizer/VisualizerRenderers.kt: FileTooLong \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 370 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"259d3686d700de6dac7cb2e69c6046f33be8916dfe77d60a5958b122aabccd12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/DesktopPlayer.kt: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: DesktopPlayer (125-1162). The bar is 500 significant lines; this is 366 over it, 1.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64fdde428a308dbc798ef5167a395a54f76fcff41186379569a4e2974c6525d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/LibraryScreen.kt: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 350 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1ba90ed3c67ef5caaf9c7f3318149dc3692a84c15a781ec8b0238a99883ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UsbAudioSink: ClassTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 279 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c876094bf468846b6769c7d02fa28a78f0341d357d3660645c1bee8bf869f4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppearanceScreenKt.AppearanceScreen: MethodTooLong \u2014 AppearanceScreen runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"434dff7c4be4c9c49e037f3ce8e97d2f4306cbc125178a15813a4aebcda1abee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: playback/PlaybackService.kt: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PlaybackService (49-1050). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51231320eeb7c8cbc4053a7bcbc9d91a5cd629cd2de78b8e08c808b6f35ad04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpotifyWebBackend: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c374b51a1861f74203f3d2d8bcfc08e91d30cd068478a136369af96b7852e800"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlexBackend: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. Most of these members implement data.MediaBackend (32 of 46 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/src/main/kotlin/com/aurora/music/data/PlexBackend.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"704980570caf43672894d40cc6cb311ee9383065c73299f5b5a07b4642d6e818"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppleMusicBackend: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. Most of these members implement data.MediaBackend (31 of 45 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/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6e215f2a50f6cd880a1bf6fa390a6518248469981caefab6b8d2e7f79bfca8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: YouTubeMusicBackend: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. Most of these members implement data.MediaBackend (34 of 45 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/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afffc79cc9a6742009d395afca9eac1abef1cdb0e404f416eee3e72d951bb44"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlaybackAudioOutput: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 188 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"decb7361d64247baaf902842601376b0a7aa3a6af3bad2f659ad848bb33f16ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppearanceScreenKt.AppearanceScreen: MethodTooLong \u2014 AppearanceScreen runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481f6db913632d65ea846cbdbe349234988e2cbc5bbfa1ad812d1273696b4f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DspSettingsStore: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. Most of these members implement settings.DspSettings (42 of 43 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/src/main/kotlin/com/aurora/music/data/settings/DspSettings.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ab691df4421c2629f30a8916284bb2ab4635a50b67a56f66095eb492b794e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EqualizerScreenKt.AutoEqPanel: MethodTooLong \u2014 AutoEqPanel runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56a9d83bc3544d5c3eabf3eea3a0d329e09f17d954d8b717bcd9e501bba5988"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media3/UsbAudioSink.kt: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: UsbAudioSink (29-1064). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4dbc31d1a69d413bff22556e05a77eb52e0584a14712c6eb8aeee931161c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpotifyBackend: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c049e8e1d0f06a171f22f6706d02b77c6236a411963dc3a4efb8e13e9373bd29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConvolutionLibraryScreenKt.ConvolutionLibraryScreen: MethodTooLong \u2014 ConvolutionLibraryScreen 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc07f0c318c335e5871f89cb6736eb22a2db235cc0fb7d2d482f48863bfe2ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JellyfinBackend: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. Most of these members implement data.MediaBackend (32 of 40 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/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd943443c51cbb8c93ad9661a1bf89ce5272d97a2251785367a1501ae7992640"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemotePlayerController: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. Most of these members implement player.PlayerController (33 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/RemotePlayerController.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916615e7f37347d76d52b933d4264d3d0adc3a38a854d4e9018c045fe0bf1a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppContainer: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a40c563cf8e95faff4e297b3ed5412c8de960522a79799151c2832d1aa444"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlaybackService: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773fa6c110fe689d189311f12dc880dfce2381100c4a921eef677ef9f79f867"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalBackend: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. Most of these members implement data.MediaBackend (33 of 38 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/src/main/kotlin/com/aurora/music/data/LocalBackend.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c98871d7d6100ea5fcc36f7336ae7c4791a3e0d58898003b3cd817210dd635"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReverbKernel.process: MethodTooLong \u2014 process runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88443974ffd8302aebeacb271427752d74386c2d22309d4c11ba77c244a2243"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: playback/PlaybackAudioOutput.kt: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PlaybackAudioOutput (38-741). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa636e20ae52bd760468592302d1e40bd1cf2dc77f0747c17af9e942b32e45e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubsonicBackend: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. Most of these members implement data.MediaBackend (30 of 37 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/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8105f0427c9c1f0fa13f50d95f5792ffbbc8cbc063ca5a23942477c79ab5e456"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detail/DetailScreen.kt: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: SectionHeaderHeight (120-607). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07143ec6bee8a6bfd9057fd88485b330f8c3ff1b8118368afce7e76cb0062c9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EqualizerScreenKt.AutoEqPanel: MethodTooLong \u2014 AutoEqPanel runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b3846e4b3ba7e3eaf2cbe9817bd725ec554f25da2f006f066dca86f9f7a217"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StorageSettingsScreenKt.StorageSettingsScreen: MethodTooLong \u2014 StorageSettingsScreen runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"59366642eafa5ac16c3b7aec1322c93ea9af1ba110e064cc6ab3e70f58e3dc90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/EqualizerScreen.kt: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3668fe2ab2f5be268d421dfc68f37ddb7d13d09f6a58c795e81fb0dafafdb39"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsbAudioSink: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fbe583bdabc556fb4df40d5f5e5adb42d944c4061880c5ecaa336c97eabdca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourcesSettingsScreenKt.SourcesSettingsScreen: MethodTooLong \u2014 SourcesSettingsScreen runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46d59ce7a4e2a73cb4a39fe33ae0052330a98ed5009448e979647049a7476cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrackPlaylistsSheetKt.TrackPlaylistsSheet: MethodTooLong \u2014 TrackPlaylistsSheet runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e123a9893b3b997c3e75ed9a7e3609ac59a8714e061bbb3f6e3a62f976478e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StorageSettingsScreenKt.StorageSettingsScreen: MethodTooLong \u2014 StorageSettingsScreen runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"923e16c4477f4d7147032f91b3161536c18d0e052db04d7252e9c68b8cd204c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LyricsScreenKt.LyricsScreen: MethodTooLong \u2014 LyricsScreen runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b270d45d7cca7d79f2897fc8a87f4798c74c7c28a8b44b0b9da95bdbacf2767"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LyricsScreenKt.ImmersiveLyrics: MethodTooLong \u2014 ImmersiveLyrics runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"133baebe671b65eeb1ba055f837fccf561a0b5a55ad10c6d04f0774686e449e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConvolutionLibraryScreenKt.ConvolutionLibraryScreen: MethodTooLong \u2014 ConvolutionLibraryScreen runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee963c58b81413f2eba6abfaa535b32df686da6bae1a2f80e2a5385b4bfbe06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppearanceSettingsStore: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. Most of these members implement settings.AppearanceSettings (33 of 35 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/src/main/kotlin/com/aurora/music/data/settings/AppearanceSettings.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b6daa3a9d3150cafe03d634f476b9f63703a06005d45a1eca6510798406f0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrackPlaylistsSheetKt.TrackPlaylistsSheet: MethodTooLong \u2014 TrackPlaylistsSheet runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63f480dfecf6999ac429e840a89c06a7dc14968ee5f6fd7a5d8f118973e33c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkCompressedDecoder.decode: MethodTooLong \u2014 decode runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/audio/NetworkCompressedDecoder.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1216a1b7f1fb964d484b7b3548e967d24a6513fbadab74d84b62bae194d8339e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueueScreenKt.QueueContent: MethodTooLong \u2014 QueueContent runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07039955532d01925aa166546ef123944d0d357e3a12ec2f469ba73a76d1554"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WaveformKt.Waveform: MethodTooLong \u2014 Waveform runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a68909a323e4f70d3badfe6ca3657df578cad4625a38e296ef7621ae5b9902"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: whatsnew/WhatsNewTour.kt: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241662d90cfd14b43815832d9fcd0ba08ed726ecb05b5e7c1f4b0c712363e420"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WaveformKt.Waveform: MethodTooLong \u2014 Waveform runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b408cac0e9924dc764fdea9ca680d2742749a8a0143603196f12faeaf16291b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MixViewModel: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a034db7308f7629392306384c6392cd11b09fccb240882728748c627c03322f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlaybackSettingsStore: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. Most of these members implement settings.PlaybackSettings (32 of 33 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/src/main/kotlin/com/aurora/music/data/settings/PlaybackSettings.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff385ea2ae7c714a36f834d0eed9e007927d5ab02b729ced49bad1e3d45ebe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MixViewModel: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047ccbeac48ca7f0b4654c9d3e0d1c4e6d8c98e17abbbe03fb8bbdf1948fdd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsbAudioDescriptors.parse: MethodTooLong \u2014 parse runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0428b92eb1829c1c30c261c118e1685ed1452cc25ff55498208e02994ad8d78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MusicRepository: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 103 methods. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MusicRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc248518b825c04deade1450650bdd159dea94f16b6c9544ad2c8ebfce4aa8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/LyricsScreen.kt: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a812a38076fdf7a095178260aef485769b2981944151837b28f92e856fd385f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisualizerScreenKt.VisualizerScreen: MethodTooLong \u2014 VisualizerScreen runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b93aa1401a288dd1cb0cd1966e08f80a78993d04e1ace18a847b26be10d979"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DownloadManager: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DownloadManager.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc96fda339907f6b5f36905a321e8417e003a8af0be80d4a026eda69fb2e8e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComparisonScreenKt.ComparisonScreen: MethodTooLong \u2014 ComparisonScreen runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6846d31edb5d2ad080d354f35e3c61c4407e5578c3883533e39b5bb48410b66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ProcessingRackScreen.kt: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af68a5dc700c4e6da7576c75d44d3815d391c258bbf9ddf5a7c7fa555373abd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/SpotifyWebBackend.kt: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: SpotifyWebBackend (36-576). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a90ee4fbe1b6ca19052096848aa73cdfa2ed46584c02247715646ab6f2866d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisualizerScreenKt.VisualizerScreen: MethodTooLong \u2014 VisualizerScreen 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"701de04cb6d3ee40bf4c400181443adcc4e71a3393b93d38a08d800594e803c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComparisonScreenKt.ComparisonScreen: MethodTooLong \u2014 ComparisonScreen 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f92f216ce671937daae3393fd82f7a9ba2fc53a418ee89e7381bfcc12793e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: detail/DetailScreen.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa15d5a19a4ed193c2bd64707b14e55d396bb794c282eae8f99d8def2571b6db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: whatsnew/WhatsNewTour.kt: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d2273ff660e73035e7dbeaa4341c3ba441d3a8c4483d62ce7467a69a766b96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalLibrary: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c4cb582e9174012b27c68ff17d95f3aaea4a7191531927785c0e64b5beaa4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TuningProjectCodec: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df7b9840920e77cf8fc45a41248e1a7399849f8a55d9bd9506aa6333b2c0c01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListeningLevelsScreenKt.ListeningLevelsScreen: MethodTooLong \u2014 ListeningLevelsScreen runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adbf27bc6e672ff3d6aad8ee4da517f531c97379de58fc9d5bc0c0b8ad23632"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListeningLevelsScreenKt.ListeningLevelsScreen: MethodTooLong \u2014 ListeningLevelsScreen runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850464dd2e9647d89b90fea20a30874534e834f3c9b722bb393f286f221fc4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/MusicRepository.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MusicRepository (103-747). The bar is 500 significant lines; this is 13 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/src/main/kotlin/com/aurora/music/data/MusicRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"658a02537134dcace134168662d8f04d51de2ee15fa1e2561b2f9a328ae48fb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ProcessingRackScreen.kt: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48b01575e37364841dd58a7f1a21dd6d7255b23cb01550eb4090871fe57124"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpotifyWebBackend: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16b1d0df26b0856747ba8692cc40195d429fb08384648b02dae4963989acb6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppContainer: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8af899f6b59e7de25bb1e8ddd999fe117dba631595644c92d971f076b41cab2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListeningStatsScreenKt.ListeningStatsScreen: MethodTooLong \u2014 ListeningStatsScreen 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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce7fdd6d85e6dc58e8b762fe8bfa7c21c291d2b1825b1efa9da9b3e01ee3c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReverbKernel: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0edce9317cd77745115b6fb99a5a2784c73f8ed2a1987c73653bc5a0befd643"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 38 shared lines): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:69-173 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:78-200 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:69-174 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:78-201 \u2014 These 4 members are variants of one another: a block of 38 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 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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8530878556fcc13fdf9636222b9b7a93120981c8848ae00f044dab0a83bddc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (366 shared lines): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:154-1964 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:271-1792 \u2014 These two members are variants of one another: 366 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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5315796e3decdd235aab35d67f99cd470fc060b6bbf6b09ce7107f0e17b66063"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (248 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:50-344 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:54-339 \u2014 These two members are variants of one another: 248 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e86d3d4fe84097ec0270eeaffe30ed1e13322bc1f74d8e90b8d01e6e875bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (219 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:45-304 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:42-301 \u2014 These two members are variants of one another: 219 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d2e88c06e38fa265aac64883ed8abde2e2859673b3c985fcd5ff64487c95e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (180 shared lines): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:48-285 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:48-284 \u2014 These two members are variants of one another: 180 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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b1526822ae4582c9bc86812cb88117ccfea1461c83631394fc2bf93609197a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (164 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:74-315 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:73-283 \u2014 These two members are variants of one another: 164 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"456ed595a6aa40ec7b2b55de58d7f5951506bf16b6fbf35b210f60abc65bc315"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (155 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:76-295 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:78-325 \u2014 These two members are variants of one another: 155 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bf698b2db1c3010786890027aa2fb37e870f1ef4426be5fe3d2384bc092f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (120 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:65-192 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:54-180 \u2014 These two members are variants of one another: 120 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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"80591f9f41bb21ee7069dbeaa5b520f435519d86b7d0aad8758b9f12da56cfae"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (116 shared lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:75-229 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:76-233 \u2014 These two members are variants of one another: 116 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a455bbdc95db7daaeb34d5eb7e89532c44bd98c4a3ff9fd3d11aa26d7fa6bcbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:46-214 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:50-198 \u2014 These two members are variants of one another: 115 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209fc7960028fe6b4a5b87ebe0f72fb69cc54dfe333885f42e02de78e0120da"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:51-183 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:52-181 \u2014 These two members are variants of one another: 115 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":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c8d9f03f42c5fe0d7775b56d1158c11da8c710189d511d0590de4deb319e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (110 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:386-504 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:381-498 \u2014 These two members are variants of one another: 110 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"821b31a00c6d246820df93a6c2bb65a6f53dd2d4a0172f40e44460ece12eac3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (105 shared lines): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:151-330 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:104-247 \u2014 These two members are variants of one another: 105 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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e765e688f314dab5e9eeb032c430ad9767cdd5fba667ef381b60e1992c3d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (95 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:40-173 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:30-161 \u2014 These two members are variants of one another: 95 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9fd2ad0822c0783111bf0e8cee3e359af45dde028553ddce9640d4845964ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (90 shared lines): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:45-187 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:48-187 \u2014 These two members are variants of one another: 90 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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b91bee2a471c9dc71b38e7391dfceff289165dae7ff9498ee8c66264a9548"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (79 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:26-120 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:24-117 \u2014 These two members are variants of one another: 79 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2c345829421902c463d1162298168cb9a80c2967efc2c68c5f7a1daab82e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:341-520 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:329-480 \u2014 These two members are variants of one another: 75 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce126d754443094e5fbee2d8882ec1b582b9660be79741a3fe31186d96795cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (72 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:77-244 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:66-230 \u2014 These two members are variants of one another: 72 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbbeb0c6506dee955da1bb42a2f7c3297779e136578aafb108f2be029d05584"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:97-178 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:104-192 \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":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbacd0117a666bef33d937a4826103cc00c53e0f6d2dd5e67463095bfc2e3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (62 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:37-116 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:31-109 \u2014 These two members are variants of one another: 62 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98480e70484ce6bd31664e1124c249c2201a081a8435929616e6a581ffbdb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:48-155 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:46-134 \u2014 These two members are variants of one another: 60 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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8eb9d8769353e10d100af263bb1b470f85a45dad424517db89ff9f157877d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:108-331 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:114-303 \u2014 These two members are variants of one another: 58 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd588e3e5df2befcb005af25fa5e34cf931b14c8c97765177a3f9ac5b0eec54"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:62-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:64-146 \u2014 These two members are variants of one another: 56 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3dd93e6dcbe74d588520dac3046a04f993ebb14caf48406136a7395d158e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:407-489 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:428-508 \u2014 These two members are variants of one another: 54 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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54338344b9dbb5d8ddcf0b153f795ee17185cd6cb7208b0c7cfbe3bc9256449"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:102-164 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:52-114 \u2014 These two members are variants of one another: 50 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95845d1b778ee288795d7e429da5b14dc01531f5a75b0f71a011ddc1fdfa010"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:170-227 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:169-226 \u2014 These two members are variants of one another: 48 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"715d4918ba8ae1132fd1bd30a4f7f140b4758e1351ca0ac645513b28813095c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:77-160 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:78-163 \u2014 These two members are variants of one another: 46 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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac71a5a92932e4e3168b6ae92a98c520564ea10eb90d4802d04266d96702a168"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:47-147 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:62-160 \u2014 These two members are variants of one another: 45 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793bc73929ead37d3113cd35f450032e537064ad4eed088d1c905cfe2a5e2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:65-133 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:69-143 \u2014 These two members are variants of one another: 44 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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7c175114a0ef3cdbb4bc69d2ccb7bb07e46734b67de90181d8656bb1fcda0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:65-143 | desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:61-143 \u2014 These two members are variants of one another: 43 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":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc1ba465b85fbb92bdbfe52d89ced3974758082ac5d158b43e98779374b7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:415-565 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:263-363 \u2014 These two members are variants of one another: 43 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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5890ca6554c52c855d395253f481052433240e7bae9fbfbff45280d4385f841d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:137-186 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:142-191 \u2014 These two members are variants of one another: 39 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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3e9c875a60eafaafd2b3ddaec905c08959453c946805f152c1508433d1adb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:108-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:105-194 \u2014 These two members are variants of one another: 39 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6b8aa74828b2adb05a301da1fe68449c7bcb982d952acbed3eb8f14a609614"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:357-411 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:217-259 \u2014 These two members are variants of one another: 36 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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45d024abb90ce6b52b54bb7861c0fe801aba45b014bc79cbe8fc02375e32695"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:161-207 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:149-196 \u2014 These two members are variants of one another: 35 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121c5dc5a38570e67a5614d3df74d902f78f9a1d3de82e78b3bca2b491956f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:207-240 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:169-202 \u2014 These two members are variants of one another: 28 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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcb99d29c0989e19e8079b06cb921d3583ebfca33c75db7dc1f3e98667c759c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:187-231 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:359-402 \u2014 These two members are variants of one another: 28 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":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266d7475ddf0e1c3ae2690ef8f72cdfa5d906a560541160ee45ed0959ab868f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:74-196 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:59-153 \u2014 These two members are variants of one another: 28 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":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cc8f8ffea321455504893410f750c81f9949eba904ad004e9d0d3edab588e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:326-377 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:294-331 \u2014 These two members are variants of one another: 27 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1163e3fbfe6c94f1b3adc304bda31a6e1f04a7ecf1e2ba59b22172aae1afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:53-111 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:55-110 \u2014 These two members are variants of one another: 25 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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef4e48952388182c8b6935ee27f4e19ee7b81fa2d66bf1ab719ef77229d9887"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:136-167 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:151-182 \u2014 These two members are variants of one another: 25 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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2c53a87554010a7da8e3c871de3132a4dfd7a5f6d26b1075cf1ab4cdcf867a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (18 shared lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:86-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:84-141 \u2014 These two members are variants of one another: 18 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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"becab1039147dc31d8c77c1266fb65b96a5a1bbab62bb75fecbe66f1f6d7412e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (116 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:170-285 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:179-294 \u2014 These two members are one piece of code written twice and then edited apart: 116 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2799beafbaf12f12c4089eadfa4b637a269f453bb6acda6b795051d62339d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:198-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:200-235 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bafc4ee04e69560653a62f108975b0ba50fa7a24fa276803f0af13675994261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:623-643 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:610-630 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852523fe8d80aaad08279ecbcc9c0206de1e9f53d1093618f74ede94410b48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:670-692 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:670-692 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa753aa6f35623f5a47820b2ada747902ee98058066947e80ca8847228be7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:65-90 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:62-87 \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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e50fa3e9d41ddde77b44466b803a515945aba2b828d59d63c4e3ce9295a9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:328-353 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:328-353 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d4ec587a8110e527aab7787d9a625e8d137009383090dac003734d006e3846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt:21-68 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInsights.kt:51-70 \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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78d30462b0687baa780de52287e44682a9f8f6ae161dc1626d7a91e044e29d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:290-303 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:290-303 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dbaf848032e192c927678293c8307d0ffc5128158a1391363972f54819af27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:694-706 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:694-706 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5a64b16d623cf93c41dde46d07e78d2d49b73b8673d5647de0581e09cfd005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:170-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:172-182 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7792f5ac02e7e521331e2f324c4e0a5ede4a612c142cd39ee6e70ce0a579d240"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:760-770 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:760-770 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a3926a6d286ad416d2ecd09a362198828351595ef309b5c3dfd1d614c40b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:638-648 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:638-648 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eaf23856ef5b0b4fe6fd04cfdbb82e3f6791ddc90d9de6c8f9242798aa7ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:234-240 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:227-233 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b949abf72051e3b6ce469ee00b2d7ac927c8677433c400904d2978e99914a537"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:126-559 | app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:76-144 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:724-813 | app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:282-335 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:161-607 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt:79-139 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:826-927 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:338-444 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b163f33bc24bf0e8541e4dc947b2f9e200a4eabcb63793dab3e99007c42e1520"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:37-167 | app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:30-133 | app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:37-142 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:36-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:29-132 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:36-141 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"888bf76d2f24ba30abc80506380d19c7ffddb1f35542e6eb674bfa86f9841386"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:61-110 | app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:133-158 | app/src/main/java/com/aurora/music/ui/screens/profile/ProfileScreen.kt:62-159 | app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:108-331 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:204-230 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Sidebar.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd15a3659545ea272e6ed493952bee9bb8041d73f29d49cf725b76c6ba520154"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:86-226 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:238-307 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:310-350 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:98-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:175-213 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e8189d7a191659e714f62d3d9c7a50f8a622bcdc249e8cacb79eda4df2cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/data/SonicEngine.kt:109-142 | app/src/main/java/com/aurora/music/data/SonicEngine.kt:198-246 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:83-116 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:172-220 \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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ffd85e404f4a0e8b0f3f9d8c14a96f11fa4c1e88417d7b59a6fd94dab8afa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:346-362 | app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:140-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:347-364 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:214-233 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef01af70f5bb42164d2878546e2f6cc4bf1d9f9fdbf17258e841183cb310f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:86-226 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:310-350 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:77-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:175-213 \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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4475eb1ae628fabdbf50f28d3756ca872f0e2eed1f68339d4b0c9a97217729"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:259-320 | app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:97-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:243-282 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:73-157 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4673f55e0c53dfb3be79b3f74d3109a13eb151b88021bea371a14bfb0979e649"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:383-405 | app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:408-420 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:272-296 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:299-312 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b951848e2dd5a4fbfc05ea392a47e7b2e088d4ea81cf0596c52028d2377833dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:30-62 | app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:64-91 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:30-62 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:64-91 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab64938d4b35d0afcce41ff41e8f060762fff5006f5bc31cbff9f34dd6e005"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:602-636 | app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:727-758 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:602-636 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:727-758 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"218b97bd32deff48da1e7e33b49f4181c79fd3086eee1cd9f092c577f2044703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (113 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:27-139 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:27-139 \u2014 These two members are one piece of code written twice and then edited apart: 113 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be88634f941fe2d0a3af50371856130c378deaff674427f7069487c6b37f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:84-191 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:84-191 \u2014 These two members are one piece of code written twice and then edited apart: 108 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d1d98ad912757fdee8643a3a50ddbc73d05aea6cc7fb94b1d39c83a6584cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:71-168 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:76-206 \u2014 These two members are one piece of code written twice and then edited apart: 98 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ccbcb515fd03d42670a6a6ad55cd8ad658dcfde164f9d089f688d18a66397c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:249-336 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:250-337 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f1734d91454a83a7d9b782c9c8486627ef63f30a7bcf962be520758281a3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:34-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:34-124 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3936ea0197dcdf48161d1b9066a9197b75efc05bc15454c49478d54a88ebb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (123 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:56-178 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:57-179 \u2014 These two members are one piece of code written twice and then edited apart: 123 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a159155d944f7a8d1bf30488bff94fe439e376373287b0ac55a3e81fb1c0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:45-135 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:119-209 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3ed3d52ccd88ca42ba9e543e17e0ff601050b1ec06c6d0c1df8c8c4dc2887"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:507-572 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:501-566 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7a050098da45a3092a2e388eeecd22a7e170cd9492cbce1a117c2e09fbc9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:607-659 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:512-564 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4dc8c950d3b8f477d0ecc27fec6100172ea8112bb16fdf994f9dc2326c9c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:70-172 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:64-152 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d4489351965423a95cbd603d214ccd17981c3d7c60997a1d29d064152b7e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:246-308 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:230-292 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b63a6c44b7d01e9dae2835f54271c738c52cf40a6925f2431f4b9f6d8fc0aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:63-176 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:68-178 \u2014 These two members are one piece of code written twice and then edited apart: 111 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828bc25c058e07497647a9f0821a3493b03a3e80fd2a9aa96d6c2cb56ee65a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt:26-89 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt:24-87 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac879b332ea7c01da48ee2a93a76f824ef5ca074c78ad0cba33b12c1b21cc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:52-132 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:66-152 \u2014 These two members are one piece of code written twice and then edited apart: 81 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b9ae05ccc449d7c94d7cab2c4bf37439f9891a8ae6657517ec1d88e1da30ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:146-192 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:145-191 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb025f2465b05980b736ec9e50faf38e40b86ada1ef3bf0cd34afb517c0bb19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:92-167 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:89-164 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29770519bd0ee15ac8ef7fde93b528c3cdd67ac23121641ef0a4b5226e44834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:47-146 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:42-121 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f17a014f36307cf558e86db77f19dda7782d61bfac58f90d3d15c7dca814f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:196-238 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:195-237 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b434a33324f195f756a36e00748171ff712e07532f4e12ac673b2460cf9715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:979-1055 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:760-826 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d5cc74b44106deb9727f66f5e6a7df27bedcc0768a56f09b2db63d7f2d0aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:41-128 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:39-121 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d46c9f06bb161d6cff955a5864f68c87634311a4ae76b98576f393d1e16fd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:290-359 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:306-367 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a481f6b3b06bb2a331572352bc9c60b35ed1cb8d56ba8b29430465ebd7ec56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:454-480 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:451-477 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff373678c4daf3e2c4e02a65e6bb00d7b9a484ecab453fa7cabd3d4fe45c8944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt:28-63 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapSummary.kt:38-80 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bbcc6b37fa27699c16718ca5fc349988fe52ed3c455300e973e5d72a779440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:773-815 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:773-815 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"47938fd893e4fbde2fda1a577a3976074f1cda5109d2aef08d00e4890516ad72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:73-132 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:71-130 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a79801067fd22821efff49ab4d53670394fb866cb44608a857b70e4a90c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:23-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:21-85 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d52846b9e68b2a36aecc71b33487b614ebf3bee75b6bc2730b86f2aca0e83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:215-250 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:215-250 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"668f0802e790fa7e9cea4171d0735cfd1a7e55d9aaf45d63e2d30baf0b698175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:58-104 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:59-107 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756fdb79818b8439a90ba1d1abd51c2b742c796a2772dff0509e6add2f6e68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:140-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:144-170 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1e9936fb0ce8ba3161b4273a2f5eb529bb1eb4f70f8ef80443ec97b13397f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:402-435 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:429-462 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b031ca5d8b3bd67dd64eebe92a7c10b8ce6534570080ca3cbb877595879d5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:51-100 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:64-116 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d561a5642bb9fa3e304bd8bad250fa69602f5361d18f3c57ab1630234319137d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:206-249 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:273-316 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29d371be1f6d2878dda05cd5786ea541cd0beab44bbe6646710adc54dae67ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt:19-55 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt:19-55 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8921453af8b9b595ede0fdedc53936e1a4e0b9063628d4a2758649a96c532e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1573-1620 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/TrackComments.kt:155-208 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"741937561f457aafcabe21c84b156e06b0b483ea5415b4793ac322235d9c28d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:349-378 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:344-373 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b36973a8b5481b696386c390258a3a4632f873f099463813975a1188f767f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:278-332 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:125-191 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e31977ad0c2f5be9ba63f81ed9e559065538b307aab87c7106377efffb3be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:119-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:112-138 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7732fb923d141e3bca09f57e83673aeb0694d5a8bff4a6443c27192cd7bd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:101-140 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:103-142 \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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54db91e51d56a684a39ae60988555b2ceb8431ed26dd208e40cfafbfa5b7b5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:180-227 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:148-207 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4543c274215eedd2eff7df8a49ad2562b81afedb0367e2a9ce11a2e96065fc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:81-123 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:84-132 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b989ac1e01f5131a4822418bf47d4e8f8b5cfe988a656575ec9bf7ffc7e16d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:325-349 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:420-444 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73966652823a71283803ef2ce1b8ebf523e268805ec13f9d0353f6ae5293475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Type.kt:63-108 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt:28-71 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"54581ab0969766f159c4248070387b1583bf05e9c08eb9305d21ee3706607b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt:25-64 | desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.kt:25-64 \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":"app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7c17863e924c76032a322b7758a876ce215c1db7265cf6c0d8671ead9ccb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:181-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:195-238 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9466872398f80da364ba75f7197d010921fd2d34882149478d8c573fc2838c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:50-91 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:51-93 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2fd836297f1c1ace07904d1439a8a9759d30dd021a54e6a998a72788957bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:183-195 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:183-195 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0f1b187729a416f85d2d03755eab778c688ba95c4b1b8c9eb5b607315f323d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1534-1568 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/TrackComments.kt:114-150 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b713f00bd7dcb4dd6bde645ecc1f22bf09c697fec88e1ba902c8c1b46fc6c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:45-99 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/BackupScreen.kt:41-93 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f383d3cf69b54c70994ae4919caaf81b3f4d8d2b2b08610a8acf61ec471ab4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:171-214 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:181-223 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa08aea1768baa49b6e76627e35d8a161065df813117ff317b2ab565511ef943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:22-48 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:26-56 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"385f5a99536798b996b6d2678e3956e897e188df5ca34bbb3457282db05569fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:151-179 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:144-172 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3916a5bd6ac910e6c34264b6b615cf982796b1ff68ecd40be39176c46db9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:339-370 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:370-402 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f63e774a8409c26fa8416c65487229accaece50c2c52f7685a3a00c755be13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:633-670 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:726-763 \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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4683d33ddb1a7078e21c197c8925d8cca284b912e6c9c15dc21cc2c9013c476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:492-519 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:511-538 \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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"afec20c4dff72cda6873b087733f6f403bfb351178bfcdb43967c2f2601836f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:286-314 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:273-302 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeae0833d4df019388c699e9739fc708220ee7c4e6ee0b8ea49462bfd3264d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt:55-92 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.kt:41-73 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d5b57c973c0d2fd8c1154f35389df217a5434d8f7773d21d4f37828707d706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/data/VisualizerLabels.kt:6-19 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerLabels.kt:7-20 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/VisualizerLabels.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d99a3e07eb06bcde30efff049efb0115ad4a17fe2456c77d88f90158bde774c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1967-2015 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1799-1836 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28e20c40e6e02c7d5c36e569a28d4c1543ee91622c5afb0b068471a416d9556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:403-433 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:403-433 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"08afc41dd86d8a99a48681dcb2eb2ddbc85ae5f0a757d932184530163dfeb7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:468-489 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:467-488 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5901564b9ca9dc62d46047b4e2939ca7a210e2ffe2b28945dec23ba5b8f159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:87-119 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:78-111 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4266094aa259b3305a77ced2de7c4edd6d29564827239522eee8a2fa97c58e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:159-176 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:138-155 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac16b3237477aedf56d98ea0fc20ddc76d6a0285012feece67f128235c95932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:54-85 | desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:51-82 \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":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ceed0a98ab19e4e352e5583e0f17ffb48c05e2126d7961f0d04fbedaf851a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:362-395 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:383-416 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a8b3f4ceb0a173aa7e5661de593dd3bbf1e2c676cce7e28d5665545471fb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:352-368 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:447-463 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad87244a6117378486321c170ffa8391290191e18318c5a8d424f1fb0a6b108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:974-1019 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1022-1058 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5ae48d0144ce32ff9aa4d48b54d916dc13a84932cb64e6187d447d0ba189e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:386-411 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:340-365 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec5a9f9e803d362af141ae088576be831aa862bec39ce180a5e89e79c08f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:588-630 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:674-723 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b38fa453ea356763809f12f54df3bc77b684b0229e0ac6a84ddb939f68cd745"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:247-282 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:233-266 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"983aedf43c6a907da4c92e510847f8fb7a0328b218a1f01fb3138ce75076d493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:57-84 | desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.kt:67-92 \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":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbec8c71bd09a3c11001de53ce802efca34afc9c18626c9356a898097e8e789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:140-169 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:133-163 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0159a905517cc5c657d56e595beaf506d628e92c82dd68fc82718ccb366aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:181-204 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:174-197 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"210aebbe2502fc534f6c21c56d9071d78de110bd1a71e0d023503f990e5e8628"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:177-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:215-241 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7acda58ab2e324cf7a7af52abeebe62aa4bc480ba87b0eb32c9b5871dc6076e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:83-116 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:94-127 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08ed32425e1acebabe4a8b2c6fa16593d70e8f6a3cd7ab6aefbf95383d00e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:344-369 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:519-548 \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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"342083d865e2e7256b06d7e48ab66f6e933aafdb0af5015f01ee171e21b377f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt:70-110 | desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt:112-153 \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":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c2fd45b54a62536fdf1b66d70f42fb7cd10f841b4ad984dddf4e50baa1ed04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/aurora/music/data/SonicEngine.kt:68-106 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:53-80 \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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b56603cdef760044e6dfbe0ad02a966642d401024b6f30b817bb653122973d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:163-181 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:165-183 \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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b04b1d901faa2e5ead107ecd5c047df5ecd882881f6e01ca1a15b735fd4cd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt:66-91 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapSummary.kt:83-107 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"608763b85b6146376f896296af648ef131ea67d2d7687548ef01f202b592d1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:373-398 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:280-303 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a64bafc1ccdac1ca9ceb447fe7b919d3d02d8add10abc39824811f8206a0601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:218-242 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:202-226 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8dc09d0d72f164f74d30f4e52c6c5be376e4f406591c0ed628a78ee3101ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:962-979 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:959-976 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc678336e0e95ff88a4070622380fbc04a48273ec8725012be409258b13e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/mix/MixStore.kt:57-72 | desktop/src/main/kotlin/com/aurora/music/mix/MixStore.kt:66-82 \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":"app/src/main/java/com/aurora/music/mix/MixStore.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8438ae5d89ffee6a3444ac22b10383e61fc5651aa74b63b3ada628c6015d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:280-297 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:271-288 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04d0bd5abd4ac40dde33967880563141c27fad15dc908f261984b458558bf75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:439-456 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:466-483 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"18652afe947d3d88e07e4262dd80340b5cca70932f345f60d706489689001dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:191-219 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:182-216 \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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc3d3c4c60b1da6f0dfb009d6cc88a39e4441ec8edb52ed15aa74226e0a0910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:105-128 | app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:130-153 | app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:155-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"12144ee6db838d97958cc04833512a53ebf4ea0e96f44b6e8437ccbd2e370e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:30-64 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:29-63 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b6bd8927172ba6f7e93fdaaa2786061df8506f1c57fd4bfe493a8ea72511a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt:33-70 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt:31-67 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3670f7c2564369da429910c6eef186b61909b23cdd5fb20faea2e93933c062f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:46-73 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:51-86 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e5cb8271d3c228fb1cd9f688b1266e2f6cefc828a760d4489e44eb948c907d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt:45-71 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt:47-73 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac7600837b2207dd52515748ddb9aa07aac1cc6766fbea889f82d2bfc50f91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:137-153 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:136-152 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2d6d53d13f70cb0aa06fd4030bdba21f3fb31123d1e67fceeddd8304637826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt:27-58 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt:29-64 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b73cddfb746e30bbf0c673104e110a8d4a0455826a875dee01da9ed61572a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/mix/MixStore.kt:41-56 | desktop/src/main/kotlin/com/aurora/music/mix/MixStore.kt:43-64 \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":"app/src/main/java/com/aurora/music/mix/MixStore.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2841e5465d6b93d6f0ce82abf634e4b623ec311cd7e654ae3155ff226fad67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:370-387 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:397-414 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a06c52727d19feaab066977895a166f38546984346b4b7207976725b556a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:430-452 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:463-487 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a54bd9959205d6ca50e92139a2b97a7bbc88680fb863a84329159796be1818d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:258-271 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:299-312 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf0236938b75db0fd41b1364a1ea6dd40af25a76cad50575f7817cfdb0a1736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1049-1087 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:908-944 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3600d672648aa2188e737bb260cdad3b569319d9fb01e732bc1b53d60fc55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:403-434 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:458-485 \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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3b40c4a6cd19cd8b111a67763e1bcf7a68a1b7c894913df1d662343c0107e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:838-861 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:835-858 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"0762248a0c374fb149d3a7ebfe991f5dae72ee94d737c21e5b34e69773ee35a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:103-131 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:110-131 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9598c55b09fe6dbf9a586b23995dbb9fad4d229281e1597afb23866e7f40cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:66-99 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:73-111 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cc39fe7ece1ea4b4fcbd8e9792c4dfca49c98e484dfa2afd0e753580cfcaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt:72-110 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt:92-128 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c05cc7a303d8c62736ba95a2782e57bea96bcdb54261044d1a1f5861a5d43c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:298-336 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:328-367 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9bbc54968c3098124169d3856c1fff9320b17fa4768f3d633caa357845fe86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt:190-203 | core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt:208-221 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1d80cf3d8c22b9393c0d21b30e6d979a1286555bb460e1b45d254246f7e718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:327-343 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:348-364 \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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd38abf34db57c68287f855b3c1c6db2420b63f46e24cfb947212d0abe6a10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:236-254 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:236-254 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e21efe4686339c0ec57b2ca1fee92ffb593bdcfb7a37f35f547c2d6d29c879"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/com/aurora/music/ui/components/Common.kt:84-131 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:166-222 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9810ba7ab5acd63da8d03fd96dce40beaa823c943ad198f29608cf45bb5d9742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:186-209 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:166-189 \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":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfb897f437f638e26fa27940ac3c05ee063cafd98c4a2eba225bbdd87894dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:608-622 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:595-609 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451d591b9f747bdc0e872b07118a0b976fad6404b36fc2bfd4f4168835bbd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:223-247 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:265-288 \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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25dc2b5722253de89531fcf9d1fbb063cd9d0746365dc57cc3c87076bcbd81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:188-203 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:193-208 \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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"43addf1f167c9f90a71cf08a710a0c330ef877bfed5d7a3b57934986c0be3675"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:332-367 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:455-483 \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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8323074440d85092274f61d4592feb13274b43352be7eb9c0315383e2bbd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:210-231 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:200-221 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3204fa9fa2c9afd8b53283e0cf42702b35c9647243935ed21abf54ef8cbd4c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:355-370 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:355-370 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef8e30ae0d781a6d9a3c8db98819031ca3bc010a3049d434e3442505968709f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:402-427 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:434-460 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"17921f153b61950deb9902c2047a00ae58844ebc15b7b0d726527ecb4221b2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/src/main/kotlin/com/aurora/music/playback/Fft.kt:29-65 | core/src/main/kotlin/com/aurora/music/playback/engine/PrecisionConvolver.kt:14-52 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/Fft.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ca10a35d10859aa744cb265fcc0a62eee6db73327260639823b829bb37b882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:261-283 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:248-270 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf5910bce536ab0d293595258963122148471aae0229e089d99e20d029dd02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:91-103 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:84-96 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c499ff9432cdf63305296a307ab240bcd977ba62ce0301b4342d9b15e5d967c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:138-162 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:193-212 \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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051866cf3d7a8d932a4316645ee406da20663722c0c73dd5457687defecacab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AnimatedCoverSettings.kt:28-56 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:96-125 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AnimatedCoverSettings.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cad4da035ff6800ce7e69d74b7454a67d00c61d3f6d09e475ed36adf750f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:153-172 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:153-172 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e6c667987217fa2729c254cdaf6fb3b80b4ebe92fbb271b03f18ae31858d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:161-178 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:233-250 \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":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7524facbeb0a8012240c9fcf9d2c489bea5a705dc7fba76966c869093c21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1346-1369 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:862-901 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4399c6536f88ad57efe7ad0126aa9842e7a362bd799b7a0b39866eeb74989ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:572-585 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:564-577 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37fd24500ac87eadb67023ee3c2ff3f042ee4a67c97c2d4f6506bf8244ead80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/AppleMusicStep.kt:20-39 | app/src/main/java/com/aurora/music/ui/screens/auth/SoundCloudStep.kt:23-39 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:212-232 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:371-389 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:437-455 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/AppleMusicStep.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc686d8f055bc9c4a731018de91394d2e262d89c2a74c7abbe294db3a092fb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:142-161 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:132-150 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6162f3f34856500c8c67c9fdf748586608fa2c843a06869b9451b8f7f92678f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:181-197 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:253-270 \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":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52b691a3cbd5c46d0c53ca25827d94f93d4802202efe1e44427650f510e50e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:225-248 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:227-250 \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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ab2ea0d961c629b77757ca7e3d8668bfa59aead5bc33d14d11160fb518ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:264-276 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:266-278 \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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ceb9184e7ffb4f6304c7a06ecfd180394109fdd4d3180cf41f895334ac27c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/RelatedPane.kt:41-61 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/RelatedPane.kt:34-54 \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":"app/src/main/java/com/aurora/music/ui/screens/player/RelatedPane.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29bf54e2a731974f2865df7d93a86e520660843b3d66635059deffbec69799"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:449-473 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:586-617 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dc48611bdf365708fee0cc43a6b8630c14a9abed362e69032ece3cbe662aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:113-132 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:114-133 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"511715edc77dea8ccb42e468ca2917d801e39e96580111b70972aecd3972b442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt:233-260 | core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt:200-231 | core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:149-180 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:257-280 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"881fa83d923852b905cea02331b568c89c390c5d49a67a9cf6f34f8af70641f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:255-271 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:256-272 \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":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7af9a74d124807a79716a11ba124637eb3c3c0732c0b886c50d576f12e1908d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:236-263 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:289-317 \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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a33a5a33c5c898bf4ce2d8837aef90d7e7557922f9bd99ddb6d0b1ff559ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:333-351 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:266-287 \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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac9c7c77da503a5f2374465caadbbe103673598417d81a7cf408c530a1abaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:44-58 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LocalProfileViewModel.kt:44-58 \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":"app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"309990686da08243a96befb2712a2c6276103bd4fbb3263588cf8b94b0a3c743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:81-102 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:75-95 \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":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a72ac8401ec12ed544e4a7549e060f5d4b649d6aa60e5a4fb33f59748f044de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:284-310 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:354-377 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c683c5b8d03f02e641a7626b388a3260e188795a9d55bb66dae5226f266b7f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:77-95 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:90-108 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b0ca26edafd41286da7aa82316a0b075adf37859b91dbf35d6a8f15ee9f0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:110-129 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:140-159 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt:212-233 \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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0548496467b8885916e1b1b342ea2cf30d65ecc5c64163c708c922939966bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:305-326 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:305-326 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"24861bf37c2a1884fe01e33a31c8722fd77a2658935844753070b7b78404fe99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:95-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:89-109 \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":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2d064c6613c2f4e344ead5b8ea18b76903cb4ff68eb54d3b7bcb19259dfeb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:258-267 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:258-267 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"470521acceae1890577dac3d09d0e8efa96ac5653b34f26bd08136eb7a8a4fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:181-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:182-202 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af28fcb874fac145b631233884d233d9abc47dbd55972e6c09148cf5d97b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt:37-49 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt:59-71 \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":"app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21228b3f71027c6f628531ec9ea823e2f2e19d45bdf2c07458864b64a3da8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:147-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:140-157 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf6c2f1c56d0e868461dc005922186f7bed6104fbef6288d7a66f88f4ed9f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:483-491 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:480-488 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7228ac157ec37bd9416cebea1bad3d1299a779f57742d89aa4e1c1431812b9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:128-150 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:355-377 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6f9049b005ac3a8476265a53233d036f24786b130bc24aa2c4172a093f9f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:334-347 | desktop/src/main/kotlin/com/aurora/music/desktop/auth/AccountAuthenticator.kt:56-70 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b3a44e6169fca34c6c5d96714243e5ce4e2e465d5b10dea87dad82ed30ae00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:233-245 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:234-246 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"391a90b547bd311e44068e66f9a667aaa07ddc33030be52a0207b776b6e8d6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:227-250 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:241-265 \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":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"208aaa89d4beefb8de6762251aa8e24bc76a8a81ad2922980d0107421ed27a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SpotifyWebStep.kt:54-69 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:323-337 \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":"app/src/main/java/com/aurora/music/ui/screens/auth/SpotifyWebStep.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"861423ac546162ce9f5736c06f70d931245e5e473f4c1439978e1e8e4fe27671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1182-1208 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:1087-1103 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb666be1b97e1f7d2bc9b54fdd847d0a2a3cec81070b9ff1e418ebea0f8f9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:275-281 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:277-283 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a803f690abd15f9b5f6c3be0a8410683d7af1f8f8062c4e1b3d02ad5699ba4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:253-265 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:246-256 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ca3f9d728f85b89c59cf364a82f916e04da5ad3a37b83c86029d3ce19f297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:277-288 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:277-288 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c286a2ab5ef2dcb757ee02602cc60b6e11416572a7914540e110d910e8b894f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt:85-105 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SearchViewModel.kt:73-92 \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":"app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308f69d54bfae733a9c85c8867037d69ddd0ce2be787fec137952ebfbfd3a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:173-188 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:167-182 \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":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb5361eff82a5b0cb755343688a5dea961290eac05a4af521219b65e12ea6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:241-252 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:234-245 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aff2bc4a73921efa9efe19b65c08dee1732f636ab7c11b8cb58673bc38a13ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:911-924 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:908-921 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca8c16fce356debeb02c2721dad86792161e8fa355918566ea7a31fa3672b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:92-105 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:95-109 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f67fb9b85f1ebd147f2c35150276ac3b0f47a46ae92e0b4230ff9d4647a662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt:200-212 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnect.kt:121-133 \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":"app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d7d7053a2b9c063595dcc8c0e93d318b3942d55420adea7c7bffd658511ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:93-108 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:93-108 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd860e932bf4318d62f22bcf3f30643fd88f3136b09d7eb2c73d158a5c10e097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:317-338 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:305-326 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae086d44f353dfd3e7eed5e358daf14039e9b1cf3f86a855778b434d1318d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:315-326 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:333-346 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d9688b53a34168caa4b1837ce66349d2bd2ed8c2c6d60244c103a2ff9d6c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/data/PlacesStore.kt:59-76 | desktop/src/main/kotlin/com/aurora/music/desktop/platform/PlacesStore.kt:104-123 \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":"app/src/main/java/com/aurora/music/data/PlacesStore.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5c342c28744f4aba3bdebf056453d1e2114f48f7b24a1eb9fd2f12f7e9cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:90-101 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:98-108 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"251343bb9a782c2a2994a191db9073e8cefdf2d27feb9a4e62378b9f67a11bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:422-436 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:402-416 \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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"134dd0a62920bff314b44e63399e67e64ab8d6c09a6e4933fc88ea64d5f6893c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:51-64 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:59-72 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c22c172775ad1e4981c69aedff32cec43b3ce8d72d3bd23ca056af522512b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:207-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:205-223 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"037583d27791040c098140b25a67a0363e19a2d3fddcab5cd45abca42f7cddf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:390-399 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:417-426 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6f72ee78cd522746d6ad914d8445edcddba5a3b265b37e4143951a18962d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt:193-212 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt:215-234 \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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5988b0029222a32e1c2d0b76471c6f8ed20e1453ded270a4984376431e57d068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:228-238 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:228-238 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b47601ce38e0b1447e04ab4faddc25eedb820d73c0f9810a0783bab6f691f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1220-1234 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:1037-1051 \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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e16105bf17fbd3cc197aedda87ad51c44c2201334a9c574e4fed33cae26521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/com/aurora/music/data/AnimatedCovers.kt:44-65 | desktop/src/main/kotlin/com/aurora/music/data/AnimatedCovers.kt:33-53 \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":"app/src/main/java/com/aurora/music/data/AnimatedCovers.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc36e1e5a92540e15c41321a281cb70c1ba4957cd1946af524cb98d5e2b1431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/data/SonicEngine.kt:50-58 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:44-52 \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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb8021803187e23cce88c8f2459b399982ce4037efa67d8fcac80e5c8d9f393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:149-171 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:113-136 \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":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ab841c44be8f9c77857f6090f7f7eed551d2184e23547de87c69dc15894e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt:52-62 | desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt:48-58 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6fbdd6452c16d69d5b2aaae09b7b3d69152e59b5cc9e47646646bbbccd9f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:255-265 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:335-345 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff30d9d2f30ff069fa4de420652c5e206a2ea1df37f77e211853d942e072e8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:253-268 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:228-243 \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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ed2a5ba8e20d5e0976f8ebdad197d6d580be0a2bccfc7dee15161f4792fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:307-327 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.kt:152-170 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.kt:223-241 \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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"515bb24a4f77d0a3253443878bfacc41988ab138b85e3f5a33ade70c9ab8ba59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/data/SonicEngine.kt:169-178 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:143-152 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec54d67e62aa4efe3e0761c9429a7f32c876ee523e6f9bf42900d4d6355f544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:197-206 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:202-211 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef8b955cf48d3d7109477e925cd73695fafd13403a7b6c9a2f4132a3e657cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:2151-2163 | app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:113-125 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a54e0cbb57e1d3d829100676e3c771ae5cb0d99a7f521cc162eb7bc495da55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1429-1441 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:1015-1028 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c9077c6b0f957088e5fe60756fc322173428b3df271ec6c71cbea86d31115f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:66-80 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:59-73 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a154c239fad489b67b496e44373d457d5d3584c818cb45dc047191343dc664f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/data/AnimatedCovers.kt:117-129 | desktop/src/main/kotlin/com/aurora/music/data/AnimatedCovers.kt:78-86 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AnimatedCovers.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"95384094a0ec75ae2273caa28bca1bf063c76fa8c1bc17dd141a57c4d9676119"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/data/TagEditor.kt:31-46 | desktop/src/main/kotlin/com/aurora/music/desktop/library/TagEditor.kt:24-39 \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":"app/src/main/java/com/aurora/music/data/TagEditor.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f6fb7350b172341122f85e4056ee364a501ae5889472914d52cd9b614e263"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt:104-118 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/RemotePlayerController.kt:92-108 \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":"app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"17117d0c8f80c04f4f5ad1207183e2acb0e1683705ff5187cf418918f1a211a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:522-539 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:541-559 \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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aa793cf162e3ef74ec9536224012e8e178128828fc4006cb2db673ef52bcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/WebSignInDialog.kt:141-154 | app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt:226-245 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/WebSignInDialog.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a119538246f1f037e83bbc482c45a577274507ef484518c2a45eba15514a99b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:175-187 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:143-155 \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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"89027073d106922b1de4a7e7c1ed5c061739c5fc2b02f8cbd5df916eb3ceadfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): desktop/src/main/kotlin/com/aurora/music/desktop/natives/AlsaOutput.kt:45-61 | desktop/src/main/kotlin/com/aurora/music/desktop/natives/WasapiOutput.kt:52-68 \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":"desktop/src/main/kotlin/com/aurora/music/desktop/natives/AlsaOutput.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f591984ad41c021f669036f32ba08ebefcd887ba74f868baf1a1ba3a8c56bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Theme.kt:115-132 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt:163-178 \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":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4429cd00eedb770a5784504fbb80779396450aaa38600bd25ace8528086a8212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1403-1410 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:935-942 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c90e99041f412f50ee778720f113a7e6a8661fe9733f55da46051fc69198774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:147-154 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:148-155 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a97052f0bf6f06aa0ae08d81a858fdd2f5db4d76d04670692ace2f9010fc056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/navigation/NavMenu.kt:65-76 | desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874db20ec2d0d4e3af7a6e6500a03c0dc767f50e52430689cc4d0e5859de364"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/playback/dsd/NativeDsdUsbTransport.kt:45-59 | app/src/main/java/com/aurora/music/playback/usb/NativeUsbPcmTransport.kt:33-49 \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":"app/src/main/java/com/aurora/music/playback/dsd/NativeDsdUsbTransport.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"03458b220753d5a5508742cb33dcd11aae0ba987cdbe683b83815cb1f109ba02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:291-298 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:225-233 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ee0febe83f28e9c47b5b67e8b9b6985ac4c6fd3272bcd45ed36a0a1a89e242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt:144-156 | app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt:214-226 \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":"app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5e6817980f372cee707824848dbccdc076a91d1e9333e358a091425051fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:902-909 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1078-1085 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3c7e17fb44db4e78a07dc2cf0895110ebb7256e0abe27b98a6b2f8540f57ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:150-155 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:150-155 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb60e1447e3e7bccea496c3b7ea9eef60103578e345fd357bdb4846f8e75174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/data/ProfileImages.kt:77-91 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileImages.kt:58-69 \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":"app/src/main/java/com/aurora/music/data/ProfileImages.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d301734b62e4ffd0486d9744d686ea51e14dc59ce90fe9b24bf55ba1a460a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt:64-77 | desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt:60-73 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e33eb800a6e2a2e4ec864a2b0db720c3ca52c1adea5e4f6b4220ba0fc0d735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/data/SonicStore.kt:75-86 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:59-69 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd577aa6042d1e4c4d964fdbd80122214a0d415036072be3156b9f005b4dfd4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/data/cache/AudioCache.kt:242-248 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/AudioCache.kt:359-365 \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":"app/src/main/java/com/aurora/music/data/cache/AudioCache.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e4c897a4a38528ef2a7bebfd26fac65bf891a2165041206b5b911858add991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:273-279 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:264-270 \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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeecf0afb7dfbc2d5ee7adef48f070966f5bf468b3bd98812ccee2678715a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:119-131 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:124-139 \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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2eb0ac8fe7da3bf3c2c0363a4250b7e2a27154e6b1430bf61ec29702ec68d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:224-230 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:225-231 \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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba622c9cf171e02b777ba2dfbeeb286736c462055adab23e6cc0a8a70c3850"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:311-317 | app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:575-581 | app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:494-499 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:295-301 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:569-575 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:491-496 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c9b2acbbb52da78eb6d9510bb64565406f70cdfa2799fe9e930e5373221f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:229-248 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:209-223 \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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da1a93ef5e5a128eb87ce7335d38b8fa15aa73c02a475514c230f4530adb84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:772-785 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:959-970 \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":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a04bc9afb5f699ecb9d19956cf344635bc2423dafbaa1d0caa68eb55206a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt:172-192 | core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt:353-370 \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":"app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d451948ea95ba5f03fc1dc34b557f1e196cf63567567007d05848cd169739ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:213-220 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:214-221 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5afc79921d6a2660a8e8b637eec109ba3f18590121be4fd38d00cb66ce0fe1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Type.kt:22-35 | desktop/src/main/kotlin/com/aurora/music/desktop/resources/AppResources.kt:21-34 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d6235084b37df7171b1f3f2a75d06512728e51a6ac5dea8f36a22cf048635"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt:156-161 | core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt:169-174 | core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt:226-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86fce9741c03476d7a8ed0a4a43ae8a926bb6f3a60ca14d832b131083f34f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:592-609 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:367-382 \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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"66999acb49d8d49fb78f9af972a08f959b0d866b73308274637599cbf1f95ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:751-766 | app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:261-272 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:594-609 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:330-342 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62a965f094b0c41659293d0b21c1b24eacc7bbbdee0157207c0e91c07504fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:369-392 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:344-367 \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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa95ae93850d68bc380d5bb49c26e45c4d72ce3677f7356b02bf7666d594b731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:102-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/BackupScreen.kt:96-108 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60941529f13369394c021ea42575dacfaf6e798b0aff10da7edb8a50839d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:550-558 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:392-400 \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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"7387d59500fbc54ece03707c9414c27d03457eec4391ef32c5d1978ee50a5810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:67-79 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:64-73 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fe92f10d03a1a79afee0762dab6ef1a10034c93176bba40dcc07da6af848ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:42-50 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:56-64 \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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7760d43b5f2f0d464fa5670953b64855452225575d3ae557da9ec412b9da2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:295-302 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:270-277 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"43789b63cec92620fb6f75b4e3578dfa6162d2efa38285ba456d9e4a24215e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt:58-72 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt:77-83 \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":"app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1f4389e680cdc636ca378775c05a3acf06ddf3c6b4abeacf20113f482d5bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:157-169 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt:142-155 \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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2099409a846b236789fa0617b91fd4b0c00626fb3aaa9f165dfadbb8b7e1597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:118-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:129-135 \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":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ecdbda8deac2c4080ee84c9c84f9e43fe200dfbc50e8d3b4d6b12ecec0a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:252-255 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:252-255 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"78601819061e1b889f5e70757c41b123640e75ea8631c7d19356ca182fdcbee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:76-83 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:74-81 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a399a0678825ee02a66313fd1f06c62cd334a7b7bcd2e02716a7f7401acba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:126-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:135-147 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b4ece6e9defb08f51a9c54fd1534ec5de158ce9169b6cb5f11ba0d18495d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:150-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:166-174 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f4229cbed12efb25a45c15b0a7b9a9e38cab3b812dc078cf6e349331fe1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:106-114 | app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:117-125 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:199-207 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:210-218 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7076a6ca28a83013073ca91538816af2f88565efd811220a687e82c26e98759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:199-205 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:156-162 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b29de1c2bb215f338edb4f49e36474544db8314c8246612798044e395f0e132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt:42-54 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SoundCloudWebWriter.kt:44-58 \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":"app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da953ee33e270bc8530678929d6000ea86b640eb41aca373ddb7ce2279ad6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:172-194 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:139-155 \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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63043e0647638d72d6612d621bce254d141c2502f80b6656722caf5dcdc82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:83-87 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:63-67 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b583cfb24dd2398ea82d0c00f44c2a3531970030e9970bbf34901bb193bf4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt:125-133 | core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt:134-142 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0dc17cd991c4403301cfefad2f34c9026405b342d95391ded62d50ea43a175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:217-224 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:222-229 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9a7b5c87e7fe56de845cb3c43e40a79a75162eb7682e12d34d1851a08dba34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:202-215 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:270-284 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"584969531428258d06f7b872e7ecee22b90213b338cd41201d6d4ac97f8360b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:829-835 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:826-832 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"448c42b3af07f5c1a76427e897aa36e1a2a2fff368936c243b71de9e652603e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryFiles.kt:103-117 | core/src/main/kotlin/com/aurora/music/data/settings/ProcessingEditor.kt:119-134 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryFiles.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5432105d3072dc4ea9116b1f340b66e13c41ba64083cd330fd8255d09e7a917"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt:76-95 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SoundCloudWebWriter.kt:76-95 \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":"app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"712ce141e74b6f61cba27870ba0089cec87d3cb6fae771c206f76fb5b2b38cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:67-78 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:69-81 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2825f10b983d34f513ed8d658614caf5d60a00551baa8af525beaab6cf913c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:68-76 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:68-76 \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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c162ecb3ad6d766df08bbb8bc029a3cd8b4943d7c0c44aada0d3aafeff5074d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:507-512 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:534-539 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"b126e843d2b931d2b9b1aaed021dbb32d36d4e9cb26ee9147c7126958abecdda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:41-48 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:43-50 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0c5b1ce1e1000d6e6dff35557190bf11411cebf78ced7162d24eb452f14a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:569-574 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:446-451 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2692ec7f114c3ed5f8478a5b3f7614bd1c0e0ca7db52c1baeb43ae7e0bb59fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt:22-30 | core/src/main/kotlin/com/aurora/music/data/merged/MergeMatcher.kt:116-126 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b732d8128d55390beb1df073e49a36a5cb6ff17f42080722f5ce7ae383f6a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/data/merged/FeatureBorrower.kt:40-47 | core/src/main/kotlin/com/aurora/music/data/merged/FeatureBorrower.kt:68-74 | core/src/main/kotlin/com/aurora/music/data/merged/FeatureBorrower.kt:76-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/FeatureBorrower.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7bf0e42ae3a9c0da7e6051b0ecf71c823d489781700dd5786ebff7bbf6f479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1074-1079 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:845-850 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d17ff65c443cdc79720f00e202a963e8710747ff1d86715ed497f0a246064e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1149-1160 | app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1162-1171 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4524a361cc6fe08fbd820a47680b02f362b71c7cd14b5ee76e94af29a23153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/data/SonicEngine.kt:248-253 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:222-227 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e45fdcd9cbfad98e356a0fbe5135d0dc0e39f972ecfddd7f81e59070b474ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/data/StorageInventory.kt:103-107 | desktop/src/main/kotlin/com/aurora/music/data/StorageInventory.kt:87-91 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9558a9affd6e25a7c9f304aa158602701f11a8b1713cab0128490197e8bbd3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:912-920 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1011-1019 \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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb6fd492d83d4204b8cb9cc433ac9d7dcd6650516e9c0123a7403fe9051d61a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:151-162 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:164-174 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba59609d21de85a025189bd94bde84baf950d1df0b60207f0e7bd8bc35bad733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt:390-398 | core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt:408-416 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c2d05684576d9db708acea5e137a7999090118c91c8c238bbe3d60557cec73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:162-170 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:129-137 \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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"81da1ade02ad3631c1623f2fd24e278d93bfee56028e39725ec29b100ae49829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:81-86 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:74-79 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc090c05265d3fc8cbec9b711a23d90c1d88edf76992f3bca16c609d6dd3450"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:250-261 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:225-233 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43bc45536e92c527dd22cc8eacaf4ceb5f53bcbef22b1eba90f111f026105ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:80-90 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:83-93 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9d4396e77e2d2c437332c825da529fba346cc4b4d1a47b8bd7db8d7610df59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:250-255 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:291-296 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"05680f39f737b5464dcea628b4e98908f615db0048587d66394f2775de69edc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:338-342 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:339-343 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8742c5bf2b67dc273e49f50f9f3c60d8b596abd475aea97a14e43a6c0c852f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:241-249 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:240-248 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ffce5cef7e7bd6abb6e001509cc983994ba420c5e2f30341f092316bde8029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:588-599 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:602-612 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a455a740d3efc2f39857493cb91b7f9cd7af6b230c45f0bf60e07802f9d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/data/SonicStore.kt:68-74 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:52-58 \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":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ca7a5b9b78be5451722ac585d337591d367cc88049169bfe025bc9025843b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/kotlin/com/aurora/music/data/PlayHistoryStore.kt:181-184 | core/src/main/kotlin/com/aurora/music/data/PlayHistoryStore.kt:192-195 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlayHistoryStore.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"51739db669245ad2a246a90b42b4aa23a4d3ccf5658cba47c9eebc2a3cbad1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:190-194 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:241-245 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"805257383787a8b0f3242c4f1206f507e18615a08e78c48cf2e8d8b0224a30b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:542-547 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:562-567 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa3c9fe6a6337ea25cba44b78fba4faa09c55127be7784ae8de862de9a0f1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:613-622 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:384-393 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef20f5f16b49deceadd639245351cc36b613982fe88d4d294eebbc8e513c8f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1089-1105 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:946-957 \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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"205489fb121ace97a304e7926c5c3225a072dfbba5e89e29c6bbea2b08b48799"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt:139-143 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SoundCloudWebWriter.kt:128-132 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca4e3e40ba8d79be62d30aceda845a1ec9b52d8b198c74f45510a9e9b0038eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:57-63 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:54-60 \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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaea50570277804e8792d82b02db32ec4f589d37d85f616dee441cbc16e99c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:195-201 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:163-169 \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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2940833d5672cd90c111eb04c40fd102d7981739b998dec1cb14fe208cf6274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:157-165 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:123-130 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcce81393f60e73e5d93532db5191e5bb39deae8f8c8779799b885e888105ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:39-42 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LocalProfileViewModel.kt:39-42 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fdd1b27553b31c54bb8ce314d176b210b371ebc8f1a79fa597d5963974f2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/src/main/kotlin/com/aurora/music/data/LocalStore.kt:79-86 | core/src/main/kotlin/com/aurora/music/data/LocalStore.kt:88-95 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LocalStore.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd13326745042d798320ea4b95b67c9a70975b52c3042ab366e718ae3f857530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:905-913 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:852-858 \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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec906ce9e83e02372127d4d915288f793f12c35ff8a1aa5902137aa24e204b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt:148-154 | core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt:232-237 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb2be38189b0ce1701e6f3d6536866ed6d7c26ab8a76e199bef48929a4aa77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt:64-75 | core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt:77-88 | core/src/main/kotlin/com/aurora/music/data/ListenBrainzScrobbler.kt:38-45 | core/src/main/kotlin/com/aurora/music/data/ListenBrainzScrobbler.kt:47-54 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fdedbf9b0943c0961491fef1430d6a728e6a9f649b2c619f56815cb78037d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:228-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:228-233 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca85235a5f5057f3060685af7d948b09e97129cd57ecd89aed11d5007d42b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/playback/engine/AdvancedRackKernels.kt:19-23 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/MixDeck.kt:114-118 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/AdvancedRackKernels.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac782f1964ae48c295260048ba13880c03812413256e51d8ed82a89036884fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:180-188 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:181-189 \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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8867d6bfdd1073d6eba48d8331ff4fa441441ec3251650e37ddc40298d260cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:281-288 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:281-288 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e3e2dcea40c488a539ca7f04e459d56511a473ed22d3dedfaa56b8a72a99e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt:24-35 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt:52-57 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbc5197db875d2f0ca972cfd00b39051b46461fdd80fd152094e82cb8f0f089"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:217-222 | app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:291-296 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:219-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:291-296 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1bc208e3197bb4e21efccc1ff8e6eb0c9d5a35e074de09f685aa3e65feff0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:139-144 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:140-145 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a942e9922bd4964e6f227f487c0c72e707940cf7c03dd6bb7feb82e58e6dc048"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:138-146 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:102-110 \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":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"886ad74d8b981abca3c3b2748c864706b575b97b72a6475064f9fc33f6252d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:222-231 | app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:233-243 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:485-493 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:495-503 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b558f48ce770f24b59abb2cccb55f72524ad3f7ccfefacda84e933986d5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:231-235 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:230-234 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975f6a4faf78b9014bd21bb47cc10933f3d840c496d9ab20be6475f53201955"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:192-199 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:260-267 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1ffd145e2302601d20cd42e2bcd30e97ecfbbd0463f6850a775120d6ec1178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:126-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:179-191 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf257c859924e973229af857433d372aed27f4c79507e31e7d3e0e1676bdeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:664-668 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:664-668 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f5e4d12ff6eb435dcfc3b492d20274f735e6d08dfc6886c0da878e31ac783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/GuestLikes.kt:31-35 | core/src/main/kotlin/com/aurora/music/data/SoundCloudPendingLikes.kt:18-22 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/GuestLikes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea57cd5c96c149b1d89aec129280e4ff4b9dcbce26b993778c66b04a28101845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt:195-200 | core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt:90-95 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c36b0597fa2d90f31976fdd5b614b1e8be0a2d0594a3873073220622e8b4133"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/aurora/music/ui/components/Common.kt:134-145 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:241-252 \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":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a61d47246d870780744a3388139f43e9a6b80f48aa1a1227fccccf13f133d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:299-304 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:299-304 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f252f21433e1dec74f6b0b6cf963e1ade309327acce1678bad8f2bb82c296ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:821-827 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:818-824 \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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed27091d234fbf8ab4c90defe0194329c6d0568ce37fd0b4f68715b93a4ea59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt:391-396 | core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt:381-389 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d48ebab7969950f583d4ecf860c209d9f1b422b974358a918907d29cdfb12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:348-354 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:323-329 \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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16954a7b67f840b0464533193dd4cd4a068256b3768ae9d46bd2b27263b90cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:662-667 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:567-572 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3f0962663e02eba116cddfc0e5d4ec191119b0c90f2f46b6a310d38e16789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:67-73 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:62-67 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ce1b99f0b524668ad69e0c0299a422cb7cf967a0632ef7575b58ee2fd60ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt:214-218 | core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt:220-224 | core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt:391-397 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24319caaa0df92e9502082f75f14fe37dc599c874ade5b3b64010ced178bd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:592-595 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:586-589 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"68419b941455dba2c22f7be15f48874296c9f772200b3071937fa2a8fa0bb172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:43-49 | app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:63-69 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:41-47 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:61-67 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebae490ddf59bd53d907b8dce3ad86349049dae6162d3a6d530f268ff3f48a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt:217-228 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt:231-244 \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":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe92b1cfea9ce4e3aed9b7a8e19abff62ac8d5a801f5051c7c788e2ec2d309f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/data/SonicStore.kt:59-66 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:43-50 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6260d50326f8bca829209b728d754d56ee76a300b9edd7c82ba6db9f982a26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:251-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:320-325 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"50327aa2523fa0f97794e4bb3cd2a52260520f9117a431d022f4117f97c215d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/kotlin/com/aurora/music/data/remote/JellyfinClient.kt:69-74 | core/src/main/kotlin/com/aurora/music/data/remote/SubsonicClient.kt:90-96 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/JellyfinClient.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50cc8085b27b96b4cc5c5996d75c77c076fa6d6bf2393d53c4b918ad4635229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt:342-352 | core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt:354-364 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7eeba0a9470a4011091b9cf987d22406dbf79aca6f9732572ad26d7cec4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/OutputRateSettings.kt:56-64 | app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:198-206 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:198-206 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputRateSettings.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b9123b313607ce85c3fb5cef691d3502795d122a850b4a9c3d85582c229714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:210-211 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:210-211 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd5dee9355367cb36acde13bdae97076a7402e0f56e42ae908549a95ad05116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:227-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:296-302 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51c6351959452a648c70f838b130340e5107b096aac2d2668e754adaf235724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:522-522 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:519-519 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bce3eb2fbf8ad4d18685bf97e6c4f8bf7a0d242d1c37c3e2ed0a01f38cc5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Theme.kt:103-113 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt:140-149 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade753bb667a189c199cc4c7325b1ca709e726f66b4e8619f7480af6a62e0369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:269-272 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:260-263 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"729209cf0aac54b52263ada6f5654d733972cedf37fbfedc357fc3e12a73754d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/src/main/kotlin/com/aurora/music/playback/GaplessTrimmer.kt:198-207 | core/src/main/kotlin/com/aurora/music/playback/GaplessTrimmer.kt:209-218 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/GaplessTrimmer.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"841bf01881b58aa34c40747e8b8be2a737aa59a64772a1a12a9011e574865265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:307-317 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:282-292 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69bb2eb2c609e10e12c1ebded85e465cf92550ac04840574d4c8cc1a29e247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1059-1071 | desktop/src/main/kotlin/com/aurora/music/ui/components/LoadingIndicators.kt:85-98 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:830-842 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31b787950fa33c515f60f00bb53f7d5463fa637d97c3dd5676526ab1475bf22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:116-122 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:129-135 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cc64e34a1a1b20bd2c9d07d2b94b7275a11011b3f5a5ee3d9eb66eedbadf7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/FolderViewModel.kt:28-36 | desktop/src/main/kotlin/com/aurora/music/viewmodel/FolderViewModel.kt:24-32 \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":"app/src/main/java/com/aurora/music/viewmodel/FolderViewModel.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f315744b59617b1e94eb071f824886de349dbd8009f853544e92bd6783ffbf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:172-179 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:181-189 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a39e47e1eb7b775bbfe142c975ebdf384e18e87a5233342e96e67e392414a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:287-291 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:279-283 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a894307488deda30cf02a723d99f8c5bfbd452b6bdc73186b7be25eb3f6aeb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:43-50 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:40-47 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9304b148a8d26e5418c92bbf0f1b3612dc4c919406d01c7eb5930949340e8d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:529-535 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt:166-174 \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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"64093c1a0359fede40b87b7108ce19eab4715009b90b8f808001d0e1a76baec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:325-325 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:309-309 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f51f74fc73a6064d6c61d9bc870b3e8b1e53eeaab068120a10cc45e91032d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:115-123 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:168-176 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36e7810533caf5dcdf3ce62e9bddc6329cf0198236b4874359950cd972c7db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:511-511 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:508-508 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f3a08aadd1eeee88095fe825fcbc98cae2af26282f160673eb344176a2e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt:51-58 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SearchViewModel.kt:49-53 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f71e677aa71ba5b05b395121fab391fc57d95028723be69a3386a55a050abfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/kotlin/com/aurora/music/data/settings/RackLibrarySettings.kt:200-208 | core/src/main/kotlin/com/aurora/music/data/settings/RackLibrarySettings.kt:210-218 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/RackLibrarySettings.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc79965df8cb0e37bfc9c6f881fc13eff91e24d32ce31e0a6e3d5b61d52365c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/MergeOptionsScreen.kt:37-47 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/MergeOptionsScreen.kt:28-38 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/MergeOptionsScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bab9f463fc21efe6db7c0ea0314543dce332ce1885d784a0ef50d4a5ffea219"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:158-161 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:158-161 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5dc3ba8bd809ad964ef01b189b52cc4e1335dedcf4b3d491691753825b5d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:337-346 | app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:357-365 \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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d4baeee119b1d95d07038ac50f3f8b6a15df66ade0f5da094af1901c648b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt:319-322 | core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt:324-327 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MergedBackend.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e03500d9b277ee9c0e9f5127e5c9fbdaaeb3be3f7d4c71aff4d9f1dd87b517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/kotlin/com/aurora/music/data/QueueStore.kt:113-116 | core/src/main/kotlin/com/aurora/music/data/ResumePoints.kt:55-58 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/QueueStore.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbec2470a0d7946963171c357d6a04f6be4a84ae9f2adcdb18ac3f03da6975d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Type.kt:51-61 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt:16-26 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d653419cb20993564387c870650422799ea4ba714976e3306ad5633e2f11f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:298-298 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:289-289 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d079ebfe4198ed691c323fc814ddf68ca47ade7543140cb76c099692f6d176e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt:186-195 | core/src/main/kotlin/com/aurora/music/playback/network/DlnaClient.kt:298-308 | core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererClient.kt:127-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcd302fe50a62a75c758f27202336b80de8575e0d433cf08697d1b05110e442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:228-234 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:186-192 \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":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a4a5e7a65fd168e9b48a5a9b8073b86d4678bb095c0af5fbaa049b30d200f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:54-57 | core/src/main/kotlin/com/aurora/music/data/remote/MusicBrainzClient.kt:98-105 | core/src/main/kotlin/com/aurora/music/data/remote/SquigClient.kt:88-91 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:55-58 | desktop/src/main/kotlin/com/aurora/music/ui/components/TileMap.kt:96-100 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba87eb2bd0a19ae534bf6e72f2329d2bd1866b7bda68bdb1546600a81eddf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/data/AppContainer.kt:478-484 | desktop/src/main/kotlin/com/aurora/music/desktop/DesktopContainer.kt:386-391 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c87173293ea3d4b913afd9f4278d65baf9bad9566c190ef929a38519872d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:208-211 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:165-168 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8796a4bdec1593522b5e2714e6e24e3d6790545f95a5bf1d8b901bf447950083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:79-80 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:74-75 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b6178645c83e9288f7be2637a066e8b335474be5ca4fe7a1cfb84504b4e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt:399-403 | core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt:262-266 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6c45175ba6ead93cbd6228c22af812a071f3a5176d87c96c0baaa2d33366ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:30-35 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LocalProfileViewModel.kt:30-35 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafe3d42f3dd95a9e244a24c9d63768432a3a791aac82a238fa6f5524046d437"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/settings/CollectionSettings.kt:52-56 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningTargetCatalog.kt:65-70 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/CollectionSettings.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d245b8cb68a54240791b34f88e407bb09688ddacb01e0ecad69c43fc0d2192f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt:30-37 | desktop/src/main/kotlin/com/aurora/music/ui/layout/AdaptiveLayout.kt:64-71 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59861508229584febb539b4b799d8d97dee3f8956ff9bceaccc0336039136d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt:60-64 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SearchViewModel.kt:55-59 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b522033281043b5e47ff346196452e4145b71314e21dbd59ae1b4e6bf80c4b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/kotlin/com/aurora/music/data/SettingsPreferenceCodec.kt:19-22 | desktop/src/main/kotlin/com/aurora/music/desktop/platform/DesktopSettings.kt:104-107 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SettingsPreferenceCodec.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8145a6433402e9486ce8487d53e114f3ad99a2defd3729af1158820c1721af73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/settings/AppearanceSettings.kt:166-170 | core/src/main/kotlin/com/aurora/music/data/settings/CollectionSettings.kt:125-129 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/settings/AppearanceSettings.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c7c89c898e4ad948bd1dff962e6fd498105209a2e231097e913699614c5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/data/StorageInventory.kt:136-145 | desktop/src/main/kotlin/com/aurora/music/data/StorageInventory.kt:118-126 \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":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"77747e4887ccbed4402e911c7028f1f98a6ea71c1d530fb84943067fe24b76a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:183-187 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.kt:110-117 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"05243e4bc4e6dee6103d05d70aaeec1535798e13b836911b5dfdc81f0ed67b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:46-49 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:43-46 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda0c0c926549603fb0311c06133ca6973c970e273bf13057885c5ba8646ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:51-54 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:48-51 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea6802add3095feb4d4141c10d6f0ae2e8215d18b826fa8f6fb70754638bedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/navigation/NavMenu.kt:99-102 | desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt:74-77 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"439af468f2dc81e6eb793a817ac724823fafdaae616ca96fba7349ce4e023afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:377-380 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:247-250 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b08584f5a2669e4e111bf0fd8d8b05d1269a45e6d00ce3434b0b29f9aee356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:279-284 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:272-276 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc3664e1952b9884f0a29e513f36a85dabdeb88092a3fa01e0a3dd03a3c48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:249-252 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:329-332 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c62f655f340f712faac9335d78392929653628e7379df44d9673e0b45b1c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:85-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:87-88 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"87856234722ca20fe3574ddedfd43d10b2977f94052ae24c9ada36bd028bb5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:294-297 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:286-289 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"919678650a1a6c7f7e3b374a5f55cfca10b7a67718c4432793e27d39fb08c281"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:83-90 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:108-112 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"13817e5596fad99f67745c713a28c0de9478ffa877249a44b294a408e6aa4fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:114-118 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:144-148 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d832eb9afaa1e2bd103d57aca577027b1ca5f79b0b82fba8a20cb8a7c656f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/data/PlacesStore.kt:135-137 | desktop/src/main/kotlin/com/aurora/music/desktop/platform/PlacesStore.kt:136-138 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/PlacesStore.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d580e25155c8d6f67487ecad81c5ebec60030aaa129ad9f228fad93581d4479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:529-532 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:556-559 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"98533f7b1472149137ee05f321e68ccd4ee073d57700189ad91d5b2d333f8e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:183-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:182-182 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2301f4147fc37fb45dd666564cd44b4b7f0dd8f4bb49d076aa3aaab6e04eeb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:54-55 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:56-57 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a1a71bce7af98f67076ec640ce78c1e0120f2c484a1e9d2fc99c61905fec72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/data/AnimatedCovers.kt:137-139 | desktop/src/main/kotlin/com/aurora/music/data/AnimatedCovers.kt:93-95 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AnimatedCovers.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcda36c373b6e1c5343440bffbefff31901f7230400604a6295d49061238a625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:600-600 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:600-600 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d58612cf42623ca6895829d28a0b114140c0b9393c406678dde11c0d0df46a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt:84-86 | core/src/main/kotlin/com/aurora/music/data/rules/PresetRuleCodec.kt:142-143 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3df2eefd6be0ab3b9f990a05571d68e068d03d7f233657816b94d147b3dff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/kotlin/com/aurora/music/data/tuning/MeasurementTextImporter.kt:21-24 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningCurveAdapters.kt:9-13 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/tuning/MeasurementTextImporter.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864829d17a42c64c748c96656a37a4a66b28b4f6bbe0c15e4423adc9c793d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:136-136 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:137-137 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4cc9a482d7c9852ca62743646a222bd4b1cf27dbbb2d534290d39019ba4087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:272-276 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:266-269 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a417a013f113fe8e1fabbba8e8db4747e2e29c5300fd03bfdb910163416b7be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/data/SonicEngine.kt:180-183 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:154-157 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81d08fd7b8fda371ff66b25372532a4b20776fb965b57f73e1111aa3c0daf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/playback/PrecisionAudioSink.kt:423-429 | app/src/main/java/com/aurora/music/playback/usb/UsbGraphProcessor.kt:197-203 \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":"app/src/main/java/com/aurora/music/playback/PrecisionAudioSink.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce59f81286dc4e6552000983ad9e63f64fa0d48d5576f6d654d7e6167695f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt:158-161 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnect.kt:158-162 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ec092d763c8a3d7cd7151474be793d4b7e7d45ad374cd6287f53d8f1c1932c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:173-176 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:138-141 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"63024dd01eb4ab036bd5b6744c8ed55fb2b3411b56c21188e82b522d2a0b8da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:508-510 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:505-507 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378362d37e43b7c6dc86d7b6aa1087146d3d4c7a57267ce250f467196593305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt:206-206 | core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt:88-88 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3858544d77a1a9d979d20e18e89b49c8a82c2a68fd2b719cb8fe607736e9c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:237-240 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:227-230 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3864571d852cf5b86ca8f61757caefd5ab9db9b985cde6ca16970d05c5e4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:180-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:159-159 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67201ad0cef787b678b5a8e2f99e3c8dc2802fa445a71222359f544d1fb7c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1431-1435 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:1122-1126 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba95dcc9144b5d4d4b466efc36745f3fd6862469f6aed2dfb0d20272e149a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/data/SonicStore.kt:54-57 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:38-41 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45645c55f7321c87aeb9b7a3d881e96448140f4ccb0fe0fb9e7355057adc8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:74-75 | core/src/main/kotlin/com/aurora/music/data/Autoplay.kt:22-23 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:69-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"359636beff790fd12437e0bd2ad483c500a79390d628a899c7ab6d117e1d1445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:491-491 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:518-518 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf9ea59c1652c795e1d877686440ccd1f40fe5656382178fb08d01cdbbd3aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:87-87 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:80-80 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"709d1a1965eb06b23af3ed509725f61ba55746d853438a01d35cfccd5e4ced39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:88-88 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:81-81 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f075c63bb9d8bc55833acbf3d8c979859438dd5edd14a5021d2ca286ab118"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:89-89 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:82-82 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5df031675234b5029aaf9d27478c0276bcf6042c0d21afbaf77c1cc9ec1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt:380-384 | core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt:238-242 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"311f2bae207006e0571230dba7efb93d16eff5700292ff8a54d3946fe58a119a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:25-27 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:38-40 | desktop/src/main/kotlin/com/aurora/music/mix/MixStore.kt:19-20 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c514901a87ffc1c125ac5ab236cc2012aba75e4a41c927d06f0c81e221a8d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:140-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:194-199 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af040b267db2d80ba55f0a80adf99ed4adfbfd4067fbb5b14ec34b3f89a6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1246-1251 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:1061-1064 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a51f66e28dd65c9ab3a59d645a31af0de00d1040c64b6b138a4d6eee99c53bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt:87-91 | core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:202-202 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:310-310 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e43534008b7c735b7eb75bd8deac1742c93f2c26b9bf24639a85b1fa7d03bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:287-289 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:221-223 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4933a23c0936ca370e445a62a7415b70201d9ee67dc6bae796665141746624e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:320-327 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:294-300 \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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a165b732aee26a670c772734e31666dee0cb84b3578ebb74a10c5d601484c9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/data/StorageInventory.kt:15-15 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:13-13 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd2770c987d336e1a4fa328968d4dc49c7fea347cd0bdf17ec944879f39b98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:599-599 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:593-593 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5920ce8f7626726dcdbb260444925f6686efdc7f569d0f5a7262402398e56480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:447-448 | core/src/main/kotlin/com/aurora/music/data/PlaylistImport.kt:177-177 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986f4cd45869e2d4e7104f1c09975480a2de5332849c92566a276f360371f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/data/SonicFeatures.kt:179-181 | desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt:179-181 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d9168eb24cd9a0e039913f4107762718a691d3a02ee58fed1d606a1c310c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:37-37 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:37-37 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc57d16354a8a0b40e47f0282fc6a66dbecb7ce1df8bfbec0865c36bbe350c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:597-597 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:591-591 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bc06c38b58652ae78178c57087f965d6c24bdd3d4c934730350cc6f4e52efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:231-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:235-237 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"443eeb590821344dfb17eea3cd4894526fb043cda3bfbdb0e016d204f6805315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1194-1197 | desktop/src/main/kotlin/com/aurora/music/desktop/player/PlayerController.kt:112-115 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb450562a2a25e1d2e37f7b91bf279ee6da2100986889705c2c839a23186f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/data/AiDjVoice.kt:47-47 | desktop/src/main/kotlin/com/aurora/music/desktop/platform/DesktopDjVoice.kt:30-30 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AiDjVoice.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"318522c6f9aafdf671b2826b1b553680a4512caef6964df6572da3c64862a612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/data/LocalLibrary.kt:193-194 | desktop/src/main/kotlin/com/aurora/music/desktop/library/FolderLibrary.kt:132-132 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"533349dfd0cfb1c2e4da27268821237154fdd3124daed45dcbf2abf19dc6cf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:146-149 | desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:146-148 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"660489df32d26d9d79ab279b07fb04cec3087fe2b505d5f7914eef8957d45df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/data/SonicStore.kt:24-24 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:24-24 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d5b45ed7359664b74d1993f8ecc24ba443b4d40e8a04378cd71a81187d492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/mix/MixStore.kt:29-32 | desktop/src/main/kotlin/com/aurora/music/mix/MixStore.kt:29-31 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixStore.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b96fff935c63c7ede7ad3d6466a7439b53c013ebb6e0379be97911175b2db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:190-192 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:158-160 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"974deb61ec19f6341a0c06a3653b24050ae100074c04d8619ee48907fd004e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:243-246 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:237-240 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb96c246875130917d775b54415747dbbbeba2dc9fe008c7e173a167f5bba65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:90-92 | desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:84-86 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"10557b199c20b504245ad29dc9011e3ba9235bbfc27522fca8a7ca12737cd836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:104-104 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:97-97 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"672bdfaafae8ae7312eea1c764fb540f89f4143911c7514dce94ece74fd1dea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/aurora/music/playback/GaplessAudioSink.kt:302-307 | decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/PcmUtils.kt:41-47 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/GaplessAudioSink.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a764303ce6b91650c0f4a1c429141d1c1642041f2b721d24f9a39aaf7e0c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:44-52 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:32-40 \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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce4454038001d6213eaadfeef090bff6a94d9bcd7d3b1a391dbf1c2e4f53b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:158-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:159-159 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"996ba526ea04dd0eff70a738fe1a20d0f06a94f1553ef9eab399b823b91b016d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/theme/Shape.kt:18-18 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Shape.kt:19-19 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Shape.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac6277bb399fdc0add803da0e7ab53fcd1779f0a5815c7becde721b7bec0d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:299-299 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:290-290 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d10961e57a59615b27f797d0b8e99334167f7fbe9e58df1401b8ca39e2cedd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:191-193 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:303-306 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6eba1ce5887871d59a3b449b1b3623a2e1773df1133c80880a8eef97e30ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt:29-29 | desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.kt:29-29 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7933f425e17de0e91c98232ba2cb361bfecedf8093d519712c5c6d0c244091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:325-325 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:325-325 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f93ca5858db0d826845843867143471734e74cdfde35333b27d4e684b1865a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): core/src/main/kotlin/com/aurora/music/data/remote/LastfmClient.kt:121-121 | core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererPairing.kt:80-81 | desktop/src/main/kotlin/com/aurora/music/desktop/player/RulePublisher.kt:81-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/LastfmClient.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"074a802ee00acf91734536431dc4da4cd00bcde4514361455c3fd66cc89dd1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:269-343 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:138-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 125 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:269\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2148e1a0ff4b9c0ea4a96ee37b84f17309ae2aa8502501aec3e47b751ac049ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (97 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:91-187 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:82-178 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060found\u0060 to \u0060List\u003CSourceCopy\u003E?\u0060 in one and \u0060List\u003CSourceCopy\u003E? = null\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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"30addc3de49235240b22a52713896611f6f6e1807a866cf8a1127c1e2cb8987b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (112 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicFeatures.kt:25-136 | desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt:25-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicFeatures.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce59d249b1327b9e5c9a17d2ddc2a3a2ba8e71f4aa470a83de28c89e94c844dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (121 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:80-200 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:81-201 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 229 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 \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:80\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":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee822c85ce4a1f88544676c6a6d2e54a4f06e66e7df40cee6f9ca6d5fd00059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:89-139 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:89-139 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:89\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4da5f47a80dd98c2e32c695d888ba139b0f2a1562880f74971f79a08786990e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:99-140 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:98-139 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt:99\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":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"61abc0ba347510953bc6e91826a84b0d589c27b255a1f7223734e81eba8fe9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:193-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:169-231 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:193\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00c417214d227e181279512785ecd616c1d41bf764a819d9843120d3eaef77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:68-150 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:69-151 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 119 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 \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:68\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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43769ed2e6c0f7c137ee5b4e1a1e2eec01d2ed1da5e4b94e0ee1cf12a8514d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:210-247 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:247-284 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:210\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b13c5ca33daaeacbcad419507701c1b3fa619fc55ecd98d81c4b21e310e67ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:32-133 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:31-132 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 120 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:32\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 first that the copies are not typed on the same thing: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"157abe859ff6041b0d3879fefd32b5140f68ff54e2cadc0d184f6f1693ad595e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69\u201370 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:75-144 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:79-147 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:75\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"26daf5963bea15869db2a9c7261614208286fdf45f9827e48ac72619c9e1c2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:44-105 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:41-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a61c50b2db4fe85d0408889b668333dccb5fe0f3931d0aa59d3469329f30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:142-202 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:184-244 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:142\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d9d5dd6c517c8d87c167b89876664b839ad378d5ddef1e99b0b77f93b31138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:77-154 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:79-156 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 143 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:77\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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f6696125e39f1dde0878fd3789cf34fa3f97ce16d76b978af285afa94ef9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:473-506 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:473-506 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"2036a62d9b566bf21d06911877c7f3c10c6fba78d9c1021af228ab63d3bb3173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:67-101 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:56-90 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f42dc4da1b15cf117b45d891fd1b76309df458f9f3d3f44a2d8be68e7952486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:90-122 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:87-119 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f855d3fd5eb370a68f13b6a5176fe68a6634307d8c7756d47df2fc7880d246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:79-140 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:80-141 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"955d9c7222cfae379dc6da54661ac1a66441fe386113ea7dce515b07ad8a8531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201332 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:31-62 | app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:85-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:31-62 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:85-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f94237bc48b045dd1f1b01870f203fa0b593c1d66782f2d80a26a66d34140c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:74-111 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:72-109 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc923b8feabd57ad3e2cee2101796865354fd32c52ee94eb28c53ccb3490fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:254-287 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:255-288 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:254\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae75c93e09863638323927236ee2abf32cb5a95163158ff70cf3af26612493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Common.kt:149-177 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:256-284 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0ebe6c44f3623d9acc1d12cb4cfc0457066e9107bf02caf6b1b115a5c14686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:103-129 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:116-142 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce9cb884cb500c4f713ec128471bf3ab565116a1901f44d2ee4b581ae3bee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt:44-70 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt:41-67 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt\u0060 as WHOLE FILES: 89% 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt:44\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":"app/src/main/java/com/aurora/music/ui/screens/settings/LoudnessSettingsScreen.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b89c1e8a96e493adf283ce3b40f24b8b1ba118b2e0c6616c4190fcedf48b7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:538-585 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:538-585 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5243390239396034a49c810a2415bba0ba3fd0cacc1f3d1d4b29db0ac9fd6ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:135-160 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:138-163 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 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 \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:166\u0060 calls \u0060tagName\u0060, \u0060isNullOrEmpty\u0060, \u0060attribute\u0060 and \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:163\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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eca4f605b16abc0125e6fc4fb1263fad1d013ab6323ebdfa841623984ce209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt:129-151 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:268-293 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt:129\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/YouTubeMusicStep.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151eeacdc8827029e2cba3659ae546abe75049903ec3a5752fd566ebd1d503d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:116-165 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:104-153 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:116\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, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:115\u0060 calls \u0060Note\u0060, \u0060appString\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:103\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a699a4da97412179bf40fca72bea69c39be0c7ce67bb215eac2b2334cdfe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Shape.kt:20-45 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Shape.kt:24-49 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Shape.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Shape.kt\u0060 as WHOLE FILES: 91% 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Shape.kt:22\u0060 calls \u0060themedCorner\u0060, \u0060cornerDp\u0060 and \u0060app/src/main/java/com/aurora/music/ui/theme/Shape.kt:18\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":"app/src/main/java/com/aurora/music/ui/theme/Shape.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"69da6340275c15abbe676d21d4cf1e443c933cdbf83da9836a23adb127e5c014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (103 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:71-173 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:72-174 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:71\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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"914918713b3ac023928c6317c5605c251ada8c53765eeb00935081fb70836da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt:64-95 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ContextAccent.kt:31-62 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ContextAccent.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f9ba32b7b7aa15886ba584d6293412fefeff7b02858b4b52d4e819c3b63863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1772-1794 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1669-1690 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e17916d0f1d5a4f385bd5ba5d997d30bbebe5122fb032fad7875aab385140d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt:115-140 | desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt:130-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bda7a1b6b316a10938fab0a75d51c2e015b37a4b7e13cfa76e0cdf9d2db3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:310-332 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:168-190 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:310\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":"app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d236e3714f66e0c0ca402dded85f67fb8b16fb3206646fbf4309476b6b37ce88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:266-297 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:234-265 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:266\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aefc8cba7e0a6146ac419045d6331e3a17ac5fe6d28c91291ca86bbe7148e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (99 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:312-410 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:304-402 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c679477e4ecd7be2cf01ba8d7af60638d9a1af1cb07381637da2370cad74a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:184-285 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:193-294 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:184\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5db882881e09dba406fb60fd653266599db7dd817775df91ed9906863fc8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:156-196 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:223-263 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:156\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"77741af98c5998d992abeb99031a596ef8599d2059f92938f710aea6057964d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:39-87 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:38-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c55f217dd8bd64986095794226082414f780af2412762f17666b7366d4d84af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:175-202 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:185-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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 \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:175\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":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e70a17769e6123f5090130348e9e8b048a30480789daad57f1676c83650d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:108-167 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:105-164 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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 \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt:108\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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"da89da7a2d865d373ba9a5de74ddab21fd063276cea1d033f52a98d07101bbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:640-670 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:733-763 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:640\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b781d0ac9576ebc077002f5c274c55caae577cd7e0b40afff393047968845ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1070-1112 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1402-1444 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd320b0ea3afe5d31952f313f9e3481109a4914e8186f0dea21dd80d95b94e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:292-312 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:216-236 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:292\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:215\u0060 calls \u0060onMove\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:291\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bd5f8f71e4f2d819c15b710237878facd085312ead6932a02796c4f46c21c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:116-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:104-146 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:116\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a87cce45912ed9c0d9f0429ba02387584211a1b1f0b21229fb100ed21c0c393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:344-374 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:215-245 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 125 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:344\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b3451c597a3526679fcd5fd2102bf56ea2cd940cee123571da46e8730cb469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:865-898 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:862-895 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cb9bb60d1b6efb31445e9eb638c4993b8d83dd0e52c110ea68388c9d58f3a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt:66-110 | desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt:81-125 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/components/LikeHeart.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b861a5f794b926e1cae340ea0ed0cfff727c8100e224ec17c0acda2279104ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:125-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:120-140 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8918dd62e6fe10dbfd001cea86d545d43924c7c370f287af985018d95bbc0452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:317-336 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:348-367 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:317\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:347\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:316\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68905c5f4f86b384b6e0a2f522aba8c09f85aee7918f4dbf9aa3903b975ed2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (87 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:48-134 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:44-130 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb17fc92c03f57feec724f63811f9be384d019ea4ff32652ca657e10fc46ab92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:1035-1069 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:1032-1066 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef76c6fd0d0ac5682371636e972330d65cb0559cce9c420513348c12e7cbe96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:210-229 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:214-233 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:210\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: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:213\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:209\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1bf944736c6fcbb5b687cf82108175b35d6dae7d9c560294bd9c59b32fb6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:198-229 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:192-223 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5631593b75ac786a842b87109a3904148318dc605d4f2982529527501cb5c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:165-183 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:163-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.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":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a077a3cfcb33362c6684b405ec7db89fbfecabb251fe919262ef4c1417d2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:127-164 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:107-144 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbe2eed5996838018126abb0d9859c6ca3a7bb14e5ed041480c0b54e3201152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:868-886 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1047-1065 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:868\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1046\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:867\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8da7e647d56f9e7b1aed87eb91b94268d67902d6ddf86232cb8c3d2d092553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1497-1515 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:1059-1077 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1497\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7bd766f6613722e6aa422268bd411d42e5900103ad7407473a8ff7abc2291a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt:28-83 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt:26-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82baabcc5044df5aebed947e5c55fe4e7f23842f5dd3185b0d5061f26129acf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:39-123 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:38-122 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e80f06c61bd810bfee5d19a6c198c423bb49539ff7287f70a3088a2891779f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:110-128 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:103-121 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt:110\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2dc9f193359c403ea3abcfc6b13e6a2db87bf855f66d1aa0a9fa7b79d7ee75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:102-120 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:120-138 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:103-121 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:121-139 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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 \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:102\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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23600232585d2e729a6fa8b4a5e560d8fcd8b06a1028c65e45b6c5466a024ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:214-246 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:188-220 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt:214\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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b2580a11988c5e7886cb204df6583c1cfaf7a06064a4c5e28a5211a479c346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt:47-93 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.kt:53-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt:45\u0060 calls \u0060OptIn\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.kt:50\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":"app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f017a60645be05f5567e6a9b366d18fc1620d291fb5807beb907b441f46a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1181-1198 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1104-1119 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1181\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e319cdad8845dbebd38420b72cdb7113780476fbf04d8ac6256c66a99c2503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Common.kt:85-102 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:167-184 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt:85\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:185\u0060 calls \u0060Row\u0060, \u0060weight\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt:103\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":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff8063be822bc623e17b709b260c593d3c492c825f8987f029fd8184af42be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Common.kt:114-131 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:205-222 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt:114\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":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6269f361e4be0d23a7bf4acbdcf9af7dd12228f483eb3c2766a69cfb75c506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:79-96 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:80-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4981ba12cfc5b9c849027095f3ae15b4afc8f818f8cbe10fbb6a2aa7763ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:350-367 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:436-449 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf704a8606a1f979596cc842ccefab91154dd4c37be545be9bbcef8dc74d98ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:381-397 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:330-347 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:330\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, \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:380\u0060 calls \u0060MusicHapticsMenuItem\u0060, \u0060DropdownMenuItem\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:330\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa970fa5d1b225ad37dfec5a4bfbd445bad711344872a6cd32680f646705af10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:260-277 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:181-198 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:260\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6382373f6a49ba2b4e99d58f8de0b2c06b14f003acfdeb61989a04532ad202f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:77-94 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:85-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8d7d63e5219fd074e1b0a35ed70a784a9a897842a03b296536a08816b03b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:299-316 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:329-346 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:299\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:347\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:317\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d3713a0f872f5ea6970f2af6dcae78918e0d467612f3fd55064bb40bae0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:218-235 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:185-202 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:218\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc8cbed0d5dea0655a8e7bf7f1496acc4359cbae81084b42bbe9429cae511f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:104-128 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:111-135 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:104\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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a63ebd3a4b74063390e6e695dc03a5a6468dd6e2b329ba4712e06ccfed424e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt:88-105 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SearchViewModel.kt:75-92 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/SearchViewModel.kt\u0060 as WHOLE FILES: 86% 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 \u0060app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt:88\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":"app/src/main/java/com/aurora/music/viewmodel/SearchViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b5822f2bc7c27739aaab09aa942524268bba696338f9f5bcbc1b8f1781c8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1375-1391 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1359-1374 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e209d0cc36a36ca7eebaa1c604ab0c659c627673bff05ac27a13c512eeacffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:453-469 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:474-489 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:453\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08ea42fc98b54c9b3b81a671598963cb6a491fb94a8ba7e42864e97492cf798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:234-250 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:249-265 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:234\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:248\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:233\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":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"681e4ab9acc7af9c748d809af146a485f107d7281358169e80c5e9aea455b3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:247-266 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:94-113 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"340d2bc5e0cf79c2b271433a5d6cf2cfc494e0a17ed6615cac79c6c0e7a7c3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:82-112 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:85-115 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:82\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a5e9eab9dec5bfd2ed01ea9403056525d2e03de148bc462cdaca87c31b59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:55-71 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:53-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0ad692a9b370c8125f58ade9c14a2c779a100446ac72a9818fe9b8085fd571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:518-533 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:523-536 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:518\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"84586a7af0e95647f7f1b1d4bf1bf6aa60134c2459dbaf9a84bf182696f104f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:156-178 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:169-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffcaae809e7e893590975ca86c3245f11007c5beca3d2ce85611d3997346f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:272-336 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:273-337 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:272\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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cd7bd8cc101780b6c4c31a4906aee9fa7cbdf08f34a52254da3d6b6baa1778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:348-362 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:303-318 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:303\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7bc2f75c3ed14073bec8e8dbee8bb74791722f7aea2b43febcb777f1735a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:35-68 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:35-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3f44c71d55d43c8919c0b2b7254043a5dc60526e50cd9de51b84d79bdd6a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:387-402 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:479-494 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"be444b09217b9e07c815e716d07043b17786ea45cdaeaedd65fbd922bbc3a076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:300-315 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:268-283 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:300\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a3050f1c10f5b30485525b7d31d32e0733b739744b212add314c979f5aa56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:160-176 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:141-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8e134864d2bde4ffa6d16e88c53f9ed86a72cd9ea78ee807b6f02b926549b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:91-178 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:92-179 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 126 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:91\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:91\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:90\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca09d8f455857458b868ec43e4eb61a17389028d155b814d39d4c04939883bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:104-191 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:104-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:104\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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d76ad1b5462c57b4f3f68d7a849077574a3260265ad02aa2529b2129db3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:111-130 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:111-130 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"48df30a2c9de0eb7537b708b6f3e42765f59b3f0f429f4dc9fe9510fb8e4e9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:154-170 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:154-170 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba79fd97d5b0e066975a489bee6a5159353f620920cdeef2469189183da4952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:175-201 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:175-201 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aad8a71100e3d08ef8662cc572cacb699e5b082e0719142e67939b1ccb3f578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:306-322 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:306-322 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:306\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0e595c9880b3771a222e2465953b907df59ca99794f991b66e9f9aa75a18a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:166-181 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:169-184 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faf335bc4786fdb45185e61456e813b668d66250bf4c8d384fd00bbb59520d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:152-176 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:145-169 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a40f1e4152e2175e577cb857b98fb174034fc84c161c7b20613e1eed7e66d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/localization/EngineLabels.kt:48-62 | desktop/src/main/kotlin/com/aurora/music/localization/EngineLabels.kt:49-63 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/localization/EngineLabels.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/localization/EngineLabels.kt\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/localization/EngineLabels.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef1b095c48d5e54f5c6e8e8d9d665d2e71539ae886023eaf542f4849221443b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/localization/MediaLabels.kt:7-21 | desktop/src/main/kotlin/com/aurora/music/localization/MediaLabels.kt:6-20 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/localization/MediaLabels.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/localization/MediaLabels.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/localization/MediaLabels.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81edc030751d99a2e9ec6cc995a94d6b487c65c2bd2995943be36f8c536580b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:52-75 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:53-76 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"922b7c206a4fd69f40cd5c94eb0d61312d098fa19181408be6d8bd33f9e7eb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:363-379 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:384-400 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:363\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e25c7691944808b2712cf16295e74ac611fbc1f4dbfb214ef60fa7866f0c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:381-395 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:402-416 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:381\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d89d48fd01ad1b9cc4dfccc8e09659b07787bb6128798b7331be63f24c87103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1005-1019 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1043-1057 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1005\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, \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1004\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1042\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af3b4cd159576c03de6e8e32f6963c2458777e581ce7a79bbd5401d7118315a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:77-91 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:72-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.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":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c29c0ee449a05cd46aa5c4ea576241606c12cdd67d454b80a39f7acd31beea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:100-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:100-114 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:100\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d933cab2e42e42a7a523d02e79844671b04e1ed879e2c936f90f99714a207e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:413-427 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:446-460 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:413\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:445\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:412\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aef588448a21670057d2b1ea4f58a82a234daca4d6824225fc4eda25854adb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:161-175 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:144-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:161\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc7f056a3ae2cbe529bf8daad9e624423e1874d39b9a361b1ccb105c7dd100a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:112-152 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:91-131 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:112\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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c884843e1b2ef3fb927512079bfc99d8a262b2760cccb710bdacf5a47a32425d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:52-73 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:64-85 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:52\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790540a32f01383550ae8e0993ae5803efb1d7bbefc9a6f659734286bec9967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:152-167 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:153-168 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:152\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de4e8d20ae7efdd67fbc42186f02e4600bd4c676ecbd71e9c5385eee80a380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:169-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:143-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:169\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e170890268bdf382bc74e865c9fd694d59e6c1d0bbd387562506b6757ea6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt:23-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt:23-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.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. 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerCanvas.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60e75904deca14152451f00b36e9aceed865b445557721945f30e5a1b5da2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:65-87 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:65-87 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"92254e200feb5a8ac95a137c522bbe49f1d461074c2b12b10d9bd35098678df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:42-63 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:39-60 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"596d921c8156b2c16ff94fc6c77bde5df06517ee6c45ab4245a9a09f606c3ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/desktop/natives/AlsaOutput.kt:47-61 | desktop/src/main/kotlin/com/aurora/music/desktop/natives/WasapiOutput.kt:54-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060desktop/src/main/kotlin/com/aurora/music/desktop/natives/AlsaOutput.kt:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/natives/AlsaOutput.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f871ece6f1f62a5cc8908b299207d8fc6479a6f156d476f386bb37d87ac479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:129-142 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:103-116 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"be15e013a3a01b79c14350c8dd65a8ee24330531f1cb6d12c1eab44fa72ec6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:92-105 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:89-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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 \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt:92\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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8caa70e0c0a270e48ff710ba6f900e319a4acd01355e508d3ace5fe08e587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1267-1280 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1239-1252 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1267\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf114705d59e9330932ccc68733c3699022e655ddd3baeeb0bf2051a34e311b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1515-1528 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1473-1484 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1515\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1200c5d69ac1d3768b4ea12b144cf4a02e29c7b4e337dcda1bbeab1e751533b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1995-2008 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1821-1833 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1995\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b74eac3dbe346e39fb5a05844f6358e7a7c2399948aedd3a0639680168c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:235-248 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:237-250 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cf3e44c54c46ea463f05827dd2c174ea588c0937ff6492ff95d583cb3bc10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:434-447 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:455-468 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:434\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903377bff665f4eeb7ea88c3d3f006aaf084878a2014ec5afd41a3c551c5405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:111-125 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:91-105 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:111\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":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e90f36ddcaea9c3489ae91a1784e6b413841d30ca718d6f14ccfedaa71c0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:86-99 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:70-83 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b63fbd6c5a11b12a7bb349ef5da259455b2b45d7d5da47952ca2f9f0d68eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:81-94 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:82-95 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f637d2e7e66b7a58386ae444fabaa7a041dae6dcd21a2762fc6346bdb043f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:65-99 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:66-100 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7080ca25b43b5a874bc222abe3279b8de9dd6de332fc362fb782fccbbe42e4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:385-398 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:343-356 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:385\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c1e734f51a1cc86c20a29c9feb870960108decc52e4777749cfe4427994282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:150-163 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:262-275 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:150\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Album\u0060 names \u0060androidx.compose.material.icons.outlined.Album\u0060 in one and \u0060com.aurora.music.model.Album\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1649298e320b4f873d7cdd7bb08b390b2ea4317972e9fd48e4d1630793e574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:117-130 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:123-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:117\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:137\u0060 calls \u0060SettingsRowDivider\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:131\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e57235d3ab14bae97134d11d2f9f50082acdf6ec741fd4c7a46d8252958586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:276-295 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:306-325 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:276\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f251f41478abb64d2d5240d57ccbf86920139c1175c22f428274de5280c2929a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:72-90 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:72-90 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:71\u0060 calls \u0060mutableStateOf\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:71\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3671c037dd57b9e85062d9ff274954692142c44e41fa54441b71c7b7692ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:177-192 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:165-180 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:177\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"15048b782e9a85536dcdec380f4c378ba89b9c4029262d8f70a66350fc02abdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:331-365 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:358-392 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"96616ed48ed5bb0a3edf641312e4d17d95848682d09be10ad272c9ed5996f19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:403-426 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:430-453 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93c9af9acc92d8807bdfe8e60183c23e2694394d4be0a09aa46a5c570c9e6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:432-504 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:426-498 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:432\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b068f5a20780ed5c01f02c5cd3d72400b7cabb5ddf46b7b9c4a54e7aa03727b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201314 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:89-102 | app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:85-87 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:89-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1c984114e3517b71b082bcb1f6441e454dda23e1e10867f592355b2bd33dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:257-275 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:257-275 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d695b3ebbc71828f7797958e6fdef5b8208da63e1040789e4fdd88d03fa29b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:451-470 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:451-470 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d85ca5a4c8d3473cc0b9cf78dd72bf01fc780da8a3914a45490fc1a58e12e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:839-857 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:836-854 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:839\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1056c1d4949ab5f330abedfc2ae306f6267c4015107cae7c9f366a11cc517a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:80-93 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:87-100 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:80\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, \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:79\u0060 calls \u0060hide\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:86\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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2520bea91f24ca0f282de0b912f82c56a9c1b1bd09fedb4ec730c2ce4718b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1074-1087 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:931-944 \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 \u0060app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1074\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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71484ec331b3010d7672ebcebb129fed0acac5f849bf10fd95f641ee22a6890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt:63-76 | desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt:61-74 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a555f8ea7aa74d5bc97ed0aa222eb86a9623c6d93433ed429579ac7f0d370c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicFeatures.kt:161-177 | desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt:161-177 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicFeatures.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d256d7a2c4252f6c1aa124429bd1a7a3e6ce0c3380403f62cc3255a1722bba29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:81-93 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:84-96 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a1e66d77f49a16acb1d0fdce1409dee2f5835d37911406cd7f3ee8e64f1a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:369-387 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:225-243 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:369\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8d9042302e851d530d991a889a5d70fb0796ee93da3e46d2e065dc70487ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:470-482 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:300-312 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:470\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:483\u0060 calls \u0060rememberUpdatedState\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:313\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c59f749ee06691bda83ee9e01ad982822dc4377b78a0d8d904b200c2e9913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:49-63 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:49-63 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"086096790e5d62101c42f0e8c20a8e26ddd8d0e4c63dec634d16e622dd62a09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:604-632 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:448-476 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:604\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e7333ad8b210e80cf5246348f8af16d56aa0965e864b64d607730f5dde09be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:159-171 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:124-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:159\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:123\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:158\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e770e07360bc9d7b38f5bd1307fbb3a165ca385f9d39dfdfefea0049c0198b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:162-174 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:150-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:162\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5df90e311b5ee98a688db2005c16cd52f5f71bb9922b378116f904738d4582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt:42-56 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt:34-48 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt:42\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt:49\u0060 calls \u0060available\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt:57\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AdvancedAudioSettingsScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecf3b047ba394fabccad0eedecf1cb73ac192761db0943ae0df6231154590d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:262-278 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:249-265 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:262\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e03600fb065b5a4fe3d72af15a951c2fed36cbe143eb2006c1373046d21638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:733-748 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:576-591 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2fee3ba2e031d4a71b9a2d8de161fb6f03b7eb9563a8fe00c67e75d6268c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:228-248 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:227-247 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:228\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e53c555de01e69edffc9c2f289bc3f886bc549e888dcb840c6b30f90d3af5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:289-302 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:355-368 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:289\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:369\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:303\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d9a505bad87ded3d68ec9eb1551f8df6f621cc5eef1b423483a5164dd84a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:258-273 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:260-275 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcfca167b769b59b524b9b0f7dfd23606fdb8ad8a8dd110dcac36886f2a29a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:291-304 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:288-301 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:291\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f18ae8e9e78d765aaf009e81d24be8f6e2e3a5c321b0e27dd873572b841d25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:29-49 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:26-46 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef1ff0d37d1b5bc52096b14d1c08519aeac4ad8790c54e2a489a278f2eb884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:373-385 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:373-385 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9542305682271ee13028cd89305427b722f6b15b3cd4bc4bd292dd6bbd64b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:404-430 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:404-430 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:404\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e134d7560967e1909bb2a17e9714d29dc4104a6cf93ad7706bf558c06b321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:113-132 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:111-130 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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 \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0512d5fa6a2e0e0646bce219d0a3466db226435f46d756dc1040483572ff23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:104-116 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:97-109 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6866d17a515b324ff02a81cfee1c633a174c17a3a3792630e9d98c12d18bac43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:89-100 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:107-118 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:90-101 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:108-119 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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 \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:89\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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1147e7e6e528c09a3e1cab3f56f8daeaab6184228472ffa4494dfad7a2e474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/data/TagEditor.kt:35-46 | desktop/src/main/kotlin/com/aurora/music/desktop/library/TagEditor.kt:28-39 \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 \u0060app/src/main/java/com/aurora/music/data/TagEditor.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":"app/src/main/java/com/aurora/music/data/TagEditor.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bfb4d94e2d4be44babeba08a337a4652bf9a31dcf6f6b5330c3d8e2de0b168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:35-46 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:36-47 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd19b1ee4b1f6b4332070960bfc136f6975cb796a946d6a810a405d5124d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt:35-56 | desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt:34-55 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe2b8101384bd862cb38b629835bfa987f9d43efa3dc6bdd91d4c3f9e7d0369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1110-1126 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1068-1086 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1110\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b7c9c86c41c91985a890ac6a5deee511dc81a5141c47a93ac7615c77f9bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1604-1615 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1563-1574 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1604\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"920627a8c503f1a1250f29f065fa776a4f0c15a3c578c17dc173c3f3ed6ce627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt:43-64 | desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.kt:43-64 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt:43\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":"app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e27cd27db9df88cb37b2d71eef1c52f73bfffa5153382e38c658b9a5712c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:47-67 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:50-70 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:68\u0060 calls \u0060rememberModalBottomSheetState\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:71\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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"db484367da23c7af1462e0bac01e6d3597bc7f6740e32ec83dd6d1cdec8952a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:139-151 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:138-150 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:139\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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afc9811a562e81d4c0c2c31948d2bf3e9837b20265aa88c864569485e833ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:421-432 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:442-453 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:421\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e3f36e129c7321e57a2f6380981ea774a2830d59eb85964aacf6896b22b84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:379-389 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:360-371 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:379\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"11560b404e42368e06b766b6c3de7123173b6778c820c38f59dde80a661675ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:188-209 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:202-223 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe026d6b1f07bb5c4b52c75c4523d487972b4768a78bb3385983d5ab7726affa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:66-77 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:68-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f83efb65fc5678d572920c3ed704b1302913c03832490688d2ccf75b34ecec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:734-745 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:567-578 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:734\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34affa3f09f7e23f983a91c7c990587d6dbff58628b60bf538b7ec7d2523a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:246-257 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:167-178 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:246\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1dc4a2c79d83472e3c155d486eec47de4febeb73c8eacc1ec8815c3544199e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:131-161 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:119-149 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e187059a2ac6cff890375a255d8fd4e029aad6c30131b539d9e0b4f06db4067f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:51-69 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:53-71 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:71\u0060 calls \u0060mutableStateOf\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:72\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a6f4584c5484c7e1a12218cb9d63481787ded80778d47a8b13e394be0eb1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:168-179 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:167-178 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5536fe5b22090d25c009e8b1db14f65581f293fe259aaaee001d11a6c6afdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:320-331 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:291-302 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:320\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af4ada4c626fc14941ca7f05eb1a76a4be76ae50a4d61f4763cf439fa7a5f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:99-113 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:112-126 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02002a8ead46f79208886667975d0a7f1b801be949cabe795122813e0862991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt:32-109 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningCurveChart.kt:32-109 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningCurveChart.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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt:32\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5086fb93a95e3919a3f0124e87c2f21ab684bf04d2912bdd7de4c293a21d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:39-65 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:32-58 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc51e086af7c03834f73297f904f3bedd37fa26702593159e1cf47e6ed01d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:160-208 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:157-205 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:160\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: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8496434cf5c1229068f0f5115ff9cbe01171d9bbd5f67a03d3ec314b245306e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:193-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:191-202 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 126 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:193\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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db7b975b9fdc01b70418edd00369d30f6e5a56d5f49c54e4e1ad1b0f1dcc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:236-247 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:277-288 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:236\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d17db80d5e960b9cff1dcfe0014399f77099ed0004f46342f054a460e92eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:94-106 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:94-106 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6596c40978d44cf5844707c564b7876323e552a81f9437fb16c478484c625d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:927-942 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:924-939 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c5b190fe6b162e45c5eca1e4d3610c8bb9e046a3682501b952630b1ae3bbd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:992-1006 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:989-1003 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"7578783868be8900e4b0d70d0c0381a75d102026d08304d1d9e30af419e6b9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:1009-1031 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:1006-1028 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78fb521c9ef65b14bc060f7ffb91127708512992df71ace0d23bdcb15cae99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:143-161 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:148-166 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:143\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53b0234b187ac3a8bbff7ec1a47a5d532ca9a41e84ec2eca045863f9458ee7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt:33-44 | desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt:33-44 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9b51f052fea4539de2d6b24d7d9373be46088ba7129a592a47bacac008eadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:414-439 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:406-431 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dc7942f1e74477e2a0fa7da56b58dceb5307c3ab3b26d841b7ea05d5643b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:149-160 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:116-127 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"91809acbbc3cfb4214d8a682681b4df4a3d18995e37b98c04d6b8dac220b6f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:186-196 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:160-170 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a29cd9812131b6bc25449edced53f81e291b445c032a4c68b7d9ab5d09d5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicFeatures.kt:139-154 | desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt:139-154 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicFeatures.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b6e39a278e506ade08670a9a0dfc4f59c201001dc8d7df0178a0af0abc1fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt:72-84 | desktop/src/main/kotlin/com/aurora/music/data/remote/AcoustIdClient.kt:72-84 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/AcoustIdClient.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"980ae38378c7c272a3e4a4bd05f6313288950ff882a35dea64194791ef34419a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:109-119 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:101-111 \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 \u0060app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:109\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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bfb3ece2d74eca6c743ca7d89abb2d1a33906d31601688376b1059d7b05ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt:161-171 | core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt:341-351 \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":"app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43265e99eb43542fa6380bd0225f31f35aaef87c19ce03f138b90d353bbd2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1074-1084 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1035-1044 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1074\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e588b883e48dc38f2997866bb6543a140b36a83e6a81bdf983aa319a623733eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1254-1265 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1226-1237 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1254\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3ebbba436638abb6792f72ad982d6456c69b44ef25e49bcca5711a6cbafb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1463-1472 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1439-1449 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1463\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bbf5c7ecc3713bd1a16e27b0253cf490d8c6dc3ab188fdaca526c800d5271f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1633-1642 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1582-1592 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1633\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"193e2ad7f6fd35101d9f24b10c4ae7c419a89d6137c01c5528c9b730c6c0eedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:173-183 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:263-273 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060icon\u0060 to \u0060androidx.compose.ui.graphics.vector.ImageVector\u0060 in one and \u0060ImageVector\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":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"596984ed3f5886527711f5da8e2d3f271d835b250bd27f9c7c70297070629d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:118-137 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:117-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e6d18b646ca255a2352c832fb2f0ea644b542dfbf619d048206fdbb2222b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:164-180 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:163-179 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a0997465767f1d738f936c89848906dfd753ebf346abefc63ea826a9c9cab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:153-163 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:151-161 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt:153\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":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca9bcf79589d730ada66afdba80c409bb5a9a8c81f1944c53441a61d18e202a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:174-184 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:189-200 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:174\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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ee07f4b79f4c6e7a33584e5dfc1a5ad5ae7c84f0ebb01b5be05887e99eefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:69-79 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:70-80 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"648af09278a7d70cb2237f831d3d05f021e55f9dda7f549da27d35c13c64bf83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:458-468 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:287-297 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:458\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af18fa4bbc3621c8fe4cf16a9efd44ff9657c21c9f89e49c2619f417ef8470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:510-520 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:387-397 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:398\u0060 calls \u0060then\u0060, \u0060boundsInWindow\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:521\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e903624d7b9ef0d3da22bb7ff3d1adcfdc23cf358dd8dd210abb2f675b8d5204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:154-174 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:155-175 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef11a6ed5045eae4e6294175f0d29f7f8b65fef20f38c7f8dbc004e831db6d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:144-147 | app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:246-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:145-148 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:299-309 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 229 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:246\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:312\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:259\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":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fe83e7fb400a2ea4c57462e1b69b35e56c6dda10e328b941884c7064c276d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:127-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:170-180 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:127\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fb26084aac7e45c50013bf93ffebce36f9298fefd1eca352e04248575b2f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:259-269 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:295-304 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:259\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0499e5eddea26cf8a64b9e22a8ee47f4d4135119bee920258d34fb6d369571f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:114-129 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:100-115 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:114\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cb0affb93e15ac6f008aaf020b653009b604c8875680a4bfdaf77dfb8a2915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:310-320 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:272-282 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:310\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"38473881711b41b7cc6903963de8c9bedd691fee2c2d06d9c2339f26a59fff40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:146-156 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:144-153 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:143\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:145\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0444dd16687401639c423ec341d990e835c8cf2e6cd60f5c28068621ba3bb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:186-197 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:174-185 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:186\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8336dca193cb678c63bd4b00a62ccc4cb27b08e1e786960a7390c30bd82155e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201311 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:756-766 | app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:772-774 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:599-609 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:756\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:755\u0060 calls \u0060Row\u0060, \u0060fillMaxWidth\u0060, \u0060Text\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:772\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46631f9926712e46ed1f925be7def9cca1a5408a734743e29ea85a96e0a557d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt:47-58 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt:53-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt:47\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":"app/src/main/java/com/aurora/music/ui/screens/settings/LanguageSettingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975dac5c3872dcfc513ca36cd3c2d1924ee40fd41ae71ef6a5fd2dd5a2767af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:400-428 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:394-422 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:400\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c1c749ece022681c0776d5c9da6d6991917613c7e9c052a74942b9f6adc458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:56-115 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:55-114 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"307bd9ea63bf9f09e10a7ab0ccf0e3e0e86617f3e08a6138255b9b7068546a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:65-135 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:139-209 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"44528e9e69641e04abff94d357ca2f764cbc20213614f418a96e1a8a20dd152b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:238-248 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:307-317 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e7fec5b2811d2b65b85a4938f5f852d3dc33b3498ca52337bc890175377a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:283-293 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:241-251 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:283\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:240\u0060 calls \u0060SettingsDestinationRow\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:282\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"105438a5ca60d681f6d6defcf5800286e0365ee50e747d2b4c7e5d8f4246015d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:488-560 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:372-444 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:488\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f0b502c78b84b9d0c2f5c5d8af8c70b624311efa3899919537de00e812b890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (82 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:336-417 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:333-414 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4343c4b330a4aaa30514ed14d64167fe13878d3adc7cbaf466545e2362d1e066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:56-105 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:53-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:56\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37519622123e2089fa13ab96a04a7856c3565cd676c410e226b084cb4c957c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:133-151 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:133-151 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d460806c48c456ee2bab10db14f830661b1208707e1bd84b43497bc705ae93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:521-535 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:521-535 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e218443e61bdb0b923ad44ef1508093b6efe6b504a23f078b605cab300264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Theme.kt:120-130 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt:167-177 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Theme.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060app/src/main/java/com/aurora/music/ui/theme/Theme.kt:120\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":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a53c385f7ce15b8fb431084525d5a887a796b73b62afc510fcc926400359595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:155-169 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:149-163 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 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 \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:155\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":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ee82c6670cb24c0d4c7ff9d8f443d57efdeb4b785ddcc116033b421423adc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:443-483 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:435-475 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfcfa7f9c17fe18c9874cc910e7b7effacd37600f45a50ca93908a94dd66bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt:54-73 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AiPlaylistViewModel.kt:52-71 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/AiPlaylistViewModel.kt\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf226712ad914c5da067b72769a1dc1dddd26be7c6291194fb48c234428d815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt:80-98 | desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt:76-94 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83bf5d475aea20e115d86b85d4d5a9f5fdc5662d01b178c335a667e05486c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:85-95 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:83-93 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef0452df12df5c736747de7dc8b9d071c6ede6eedd9643572a622bd0cd531bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:89-102 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:82-95 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:89\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, \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:88\u0060 calls \u0060i\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:81\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d827dbaa25650ce65cec19478dc67147252c5be77a81b2651c7752f80e90481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:490-500 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:392-400 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:490\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:402\u0060 calls \u0060Box\u0060, \u0060fillMaxWidth\u0060, \u0060padding\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:501\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538165b9ed6668d09ebfb50b8571258609411b78c6a2ad1c18594f984e0694c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:150-162 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:200-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt:150\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4478c99b50b82d46b8e296644f848d387e91c4c6c1face0af48111d60431a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:69-82 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:54-67 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a4ccc3e918a233a3d21b69acff14b1ad92278ac8307bcdc09c265e59680435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:155-167 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:129-141 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"44451ab1adbf6a29c465a58b000fd08a51dbcce6e678fbff333d5a6ba7ba64da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:70-90 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:67-87 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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 \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1044d495c6e7ba4be604f2a4d44ba26b027847b2a5ed1c19b4094bb9c6273cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt:59-93 | desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt:58-92 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.kt\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8339be2787620ef359bc5a7eb80afa9b13a12f52e77550034e12a091b8ec89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1231-1242 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1154-1165 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1231\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1166\u0060 calls \u0060load\u0060 and \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1243\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"93defdee9df483320727fba3388d1a63b0510a6ab55c2c4c09eaa4651694b0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1316-1326 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1281-1291 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"be223ef726347ef48f5cefefd63faabcdecf1b97edfffb205c5a406a6a91fe6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Common.kt:136-145 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:243-252 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"575b2505f28f7f2df12639cb53adce564e0b4a7ff9c27bd000aba0fd2966c013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:68-90 | desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:63-85 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:68\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":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c89f8fe8d20f9fcdff9f52ca0287ced2d9e1ad43832822b23ad9654659a56c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt:31-40 | desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.kt:31-40 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4887a84c33825573586ef068162995729c98ea86247c528040f16438f40139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:76-84 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:86-95 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:76\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":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c46865a4586b03879fe3aeb2b7e7ef8f7ae1fb57defae848a55dcce362a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:475-484 | app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:428-436 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:475\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 after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:438\u0060 calls \u0060Box\u0060, \u0060fillMaxWidth\u0060, \u0060padding\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:485\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e950cfa33f6c1aa15d6ce42840fca46a426e8f45f9b79f1de3c6258f53a25722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:593-603 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:684-694 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:593\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed9453d1cd1b132875f9a8f76d4bcd71bd7c848cc026f5cb3650053447ef12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:612-621 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:704-713 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:612\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a4cfc8011a8cad1cc414cfe42386fad65ffc7ff13c74d5322104d606c15a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:124-143 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt:120-139 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:124\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e5d711753322a7132b7f33dce2eb9ebed00ae58ceee0520a0c2496266d6e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:793-802 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:907-916 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:793\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be78c48ab7d6ae3892e1e4d1d967de6521c44cc8f47bc0b12b14d185bb5fa80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:143-152 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:133-142 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060key\u0060 to \u0060String? = null\u0060 in one and \u0060String?\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":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4756293c06a41e633e5bbf4b9223e8eb6cfe305302a5e8eb8c33b9566abc445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:278-287 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:667-670 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:137-146 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:278\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:666\u0060 calls \u0060IconButton\u0060, \u0060size\u0060, \u0060background\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:278\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f490784cfaeecacdd4ed0bd259940fdfbea3a797d2cb57b2c4ec8560724d2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:484-497 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:313-326 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:483\u0060 calls \u0060rememberUpdatedState\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:312\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"047bf7463daac44b9d4b4153635bfed991024f0743ec042b1c488f307d20a0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:104-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:99-109 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:104\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:98\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:103\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eb96483cb685335308a08a1cac291b8a3737cd6a0117217eddde68478c3ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1598-1611 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/TrackComments.kt:180-193 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1598\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"95703485cf12f79af8cf801283381899bf47d9c0f01b1bd6107aff606e26d1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:174-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:124-133 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:172\u0060 calls \u0060LaunchedEffect\u0060, \u0060onLockChange\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:122\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a31d355b5647004fb88a3d1e01cf0ed8ffdc5d493a7a9125d4cb3a7c546c132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:214-232 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:134-152 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:214\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70b1bfaec5d2550b505ea69caed34dc05af48d515a690549ea4196ac5b36a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:341-351 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:277-287 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:341\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b12dd8e1d4b20bc0fe2da873788d4bca48fa356b86747206038712aee0a1fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:205-214 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:194-203 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:205\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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58e38c09f4e2ba7e0e017e61156d40315e6c8d459e7deeec7ed7508040b8aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:105-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/BackupScreen.kt:99-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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:105\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":"app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d42ea95a81eae24a180b439cfd677130f5f1e92cd76dd4d4011b7b6cda9edb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:44-53 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:35-44 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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 \u0060model\u0060 to \u0060ComparisonViewModel = viewModel()\u0060 in one and \u0060ComparisonViewModel\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f175fb374e94dce32c59a8e24147c5054016f63bf9917ac90fb757a370cc07f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:66-88 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:58-80 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:66\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5077d086b91f71cd50e78dc8847130fcb4bb64d3538b1c1ef7691e393e52731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:177-186 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:165-174 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca7ba54a7e3c849d50d760edf966713f746e4dd90936a11d2ba75bad91bceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:38-48 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:47-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff4abfeb171be0bbb8f4ba6810b188a40b6f6ef95d08d94864f6d6431d07991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:318-327 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:306-315 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:318\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5534b5ed3637b9e508052abe62cd9a27e6d1377c4ebfd6daa28a678002aa273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:329-338 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:317-326 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:329\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b949e65f6c615037b3bcd76c31f17b041ed3bbbb466aa70ba0794e7d8a04966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:478-492 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:441-455 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:478\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"93916cd32c16fafec0e18cb468ac107720a19b941fe9528fc2aa0de7b07b7885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:131-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:358-372 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:131\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09e599e7bba006dacfcd5e9a2083c83c9598086da44c71b5c2355324c725fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:91-151 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:90-150 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:91\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2ce7bad9d93bb07269bda20a6e662c9e0230fbf1b494107a277d190e9d3e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:116-132 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:91-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1caee93f6ffa0da1dd0523660060d3ee6f09fa4dbddddb466aaf1d2fb0b32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt:25-53 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt:25-53 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt:25\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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f676d8d7960ab2df0bfc04dbf95db80755df8635a32ecf10531cb0427f77a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:212-222 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:191-201 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:212\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf7fda86c05a63981092127dfe6e46e606fc0537fa868e5ef2c6cf708a29a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:296-311 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:311-326 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:296\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:294\u0060 calls \u0060collectAsStateWithLifecycle\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:309\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c5efb529ef9c28db2403e60eef203d7c9013fc45d987d7238b0705fd20c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:47-64 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:46-63 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:47\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":"app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fad7275f957628bcb7a987bd0710048f0305fefec804e026234dd6a287abb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:137-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:111-140 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:137\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bfd31cf3be61bfb7400aaca892fe8498d3dd56319e991d66f130404f94ee45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:237-251 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:237-251 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8837a662d1fa74250002e8ed3d787c8782f7498ee6f825addc44f4fd93a8f2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:200-209 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:203-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 116 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:200\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:213\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt:210\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"182591599e3474337c6c7c3d8bf43b22c27dbed9091377c5a53a50090934ea71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:149-160 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:164-175 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:149\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: \u0060YouTubeDownloader\u0060 names \u0060com.aurora.music.data.YouTubeDownloader\u0060 in one and \u0060com.aurora.music.desktop.youtube.YouTubeDownloader\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ad4895d055fadab4338a68ace31e93003c40f4b3617d1b922cdde4b0f94ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt:59-68 | desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt:59-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7463c9f275a86461d873877320b7e068bd4a10eaac4d8a2d429ab76e95e80ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Type.kt:85-108 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt:48-71 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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 \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt:85\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":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865f9ad1fe52825023a41e29c54d828202e8bfc99d682b30903693604def944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:487-496 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:479-488 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64ab10509cb8d3ae0aae644eea370784ddd73d4b90a7cf99226221fccc2b3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:105-123 | desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:113-131 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6356a6c80b85e26c5ab4431a11772c1facb5677235ab3c31dbddf479b779742c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt:49-58 | desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt:47-56 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc6a3dca58b41a96501d373778a44be2b4baf4a3e7b9c9bf36c4ccf5159b57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:52-61 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:50-59 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2458f5589e1942769544d0a8c25c8d0bbbdff56749db770b7724be89c7482c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:29-39 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:26-36 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"775af2619d06852c5831600873d93b6113f30c8fc5c28fe9faf717978bb799e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:233-241 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:317-326 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:317\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":"desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b80a8e1139b5d0fdc84e82f2bf6cb9fe6201467e1ce30e56ea0d613886fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): app/src/main/java/com/aurora/music/data/SonicEngine.kt:113-121 | app/src/main/java/com/aurora/music/data/SonicEngine.kt:202-209 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:87-95 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:176-183 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4adec273a2e8d2b86402fa31b76b3c44b67fcd9938aac89af2b3472968a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:82-90 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:85-93 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt:82\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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514c88e52b5ab505a1104bf6223e700ca6bcef4800cc250e2c83458ae63896c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/data/TagEditor.kt:62-70 | desktop/src/main/kotlin/com/aurora/music/desktop/library/TagEditor.kt:52-60 \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":"app/src/main/java/com/aurora/music/data/TagEditor.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa503f9b95c24ff7c92d309466328bd3e886bedde88889e2053a2f9eb17419d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt:35-43 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.kt:42-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt:35\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt:45\u0060 calls \u0060OptIn\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.kt:52\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d44916e6699c127ee06f09a8729ff0f1718aa4b50b7b12992bf02961fee220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt:325-333 | app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt:393-401 \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":"app/src/main/java/com/aurora/music/playback/dsd/DsdExtractor.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd085cb6b0468ce72ec35ec8da5678bd241793ee5ca9a54a28fea0b3e4455711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt:38-46 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnect.kt:26-34 \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":"app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"565aa10fab52e2561b1af426dd750349f03731a22473fbc7ac7c9fbef4796c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:269-289 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:943-963 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:269\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58633d0a1e898be93ceee23849149ddf9134ab536e5c15ea08d8c7667fde4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:427-435 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:487-495 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"186f221586b5a7b6a352f60f6033b0067233272b9dfd44928f0c1160b32f61fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:505-513 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:512-520 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:505\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060com.aurora.music.navigation.NavMenuItem\u0060 in one and \u0060NavMenuItem\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad3647ff619feb542cda35df4a9f0b083eca809a17233fd5e554a8b8314c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1620-1628 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1189-1197 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0198c716a255ec182d2b93c68901c522b56b77a755c3c11d08ed37294838f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1762-1770 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1660-1668 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cab085cc82c0b1d95f9b8f0cd3d355501cc2b56592d019c75c07d7490d951c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1939-1948 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1728-1737 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1939\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"475a8aa26d4fc344b336fbd66efdd4be3c2450a3cfae2029a02e57752a50c437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:123-137 | desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:121-135 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:123\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 after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:138\u0060 calls \u0060TextButton\u0060, \u0060choose\u0060, \u0060padding\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:136\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":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de43f3a3b6dd99c702d7e615d38e21983718bc745f7d5d7920f3f85d678bccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:76-84 | app/src/main/java/com/aurora/music/ui/screens/profile/ProfileScreen.kt:93-101 \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 \u0060app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:76\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":"app/src/main/java/com/aurora/music/ui/components/Sidebar.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0acfb7e8130e2512715869ff74f8db748efbe3339574810ba425bd616360bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:136-158 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:208-230 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:136\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:207\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:135\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db239165a30defbd5a8b7d78176bc0228ee9cb7b3c6f589c3f5fc108da7d889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt:53-71 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt:55-73 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"70944ae7a5f54891871cf07be354001167cea86ca1541d6e9972575dc7736dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt:243-251 | app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt:414-421 \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 \u0060app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/glass/GlassControls.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b921f370f2f05be06f6c851d0b061d7d22eb53c337527c2da5bd73264f2cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:106-140 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:108-142 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:106\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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfd75e5e33ea87200d6f405e588f24fec324970cf539e8e7c5a9db8ffa3b85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:226-234 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:228-235 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02c7b13442d901b6dad361213c7dbb62e6bb0422337725872139089db2df56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:191-209 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:171-189 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:191\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":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab53239b8db50eb16b255057ba14989d62efd6f328775fba829b367c0c41028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:674-682 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1030-1038 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:674\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f64d459e94a781907bfe32fa28b1159b8dc340aadc0605bbeecf44bfd4e893d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:764-772 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:876-884 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbfa3b4326f4fe7213ed9466b25947834954bd132cc6acbadfa3a9f150f3464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:292-344 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:291-343 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:292\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2344fed115b3a0cabee1f8f243de7d7795d1af2a2510f5f3829291f58aafcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:159-169 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:111-121 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d15840a57f3aad20bb4f90919ccd423a8d8741512921d90e28f03fa305819b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:36-44 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:43-51 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6271a42cb128c5c32757a2a785ec146fe549d8a1087cc77e21534c648424db35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:150-158 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:114-122 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:150\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:123\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:159\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f788a913597dad4e0196a176e7a8486bac5020c90f2db1d3208155f9fb93f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:219-252 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:220-253 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 229 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee703477c627a5af1ea26d2d8d9546c4441666eec3a34fb99e2005fb1325beb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:341-350 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:372-381 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:382\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:351\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9941cd50a000d750531ba5221147b8e4484a484c3411f73aaa6e3efb34b8b136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:98-112 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:84-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt:98\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1596c2295228502a023711c2eda96206be732efa28a87666c2879ca9975bf350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:151-187 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:135-171 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:151\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b9b274a1846ae70305cbc2c33a6b762a1c54b164fd113b4ac2a18643bfd0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:247-294 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:231-278 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e02941d677df568ba68337e18b86d03872193eafef60864d60115d764338de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:167-175 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:155-163 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa63b8deaa68f75f255320b74beace7af2757efd10a96906c564d088a88a37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:287-299 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:274-286 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:287\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c11f23fe92d69610afaed32c7b54fe578832cd46b4e75bda16bccc9326b659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:430-438 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:394-402 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:430\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee44ac60ca96df63246603aedebf5c8b1cbad23f71fc2be2654422fb8afffa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:586-597 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:491-502 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65491f4ca12c458ea556965659752a296676aedba35768d83405a406ce98cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:70-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:70-124 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5e3881448b1ffd0bcd1c3725ac5c3015958d357764ab64efa74f6900bc7bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:263-285 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:330-352 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:263\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b870c4630d3541508039b76955eba64a3597d49def18592b72b1170ab86bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:159-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:159-180 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ab55db44e7ac7a14e52710323cb9a6300eaa4610b8bef16b5e7afb117f2ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:202-237 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:204-239 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39beed520206fe75ace9ef2dedbc2072651d4efc207c4aac2d961865100f293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:52-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:52-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:52\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f327fb2699eaff39666b82cc3f4713b119f51d1edd73fe7761af19e83fa9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:152-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:143-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:152\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f97a532c86a45c2269fa2e89fad345f26e74474c7ff30915fd0216f1254f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:208-218 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:206-216 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 126 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:208\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:217\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:219\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd498ad4598de0e4d0d4cae23082e07b414e21b86dfdd8666517a00160cf6742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:963-975 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:960-972 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"289f53d97eb1a99429d4502acf45b69724370285936569d2df4b6f33b63f4b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt:83-91 | desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt:83-91 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"923618c0bcb06a03ac097b71ac01215e642fef45f94240820a954dfb4fff8d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:537-557 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:529-549 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5bcf30de4d4ac6f8ea391209ff3232d92282eafce671ee434284e6f7ce7e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:635-675 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:627-667 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f402c3299525575e1e1944f7647a2c7f0d0da5b7c6877e4a23abd6e2289944b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:119-135 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:86-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:119\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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d370fb518296c692b74294d3c86a15960b996c45595aa740ac21384e151af6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:138-146 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:105-113 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1b2906d41766e2f2e00754ebd1fdc65a71c352042f691a4128178da187457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:188-196 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:158-166 \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 \u0060app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:188\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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bdcfbdef5a50b01343d20bef36d543a257731bdcde60f56da737eb1cc1bc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:107-140 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:100-133 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a37d479a93d9be672553ef4c5c83c245a89780caa1a257f9a41c6073429e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:182-201 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:175-194 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:182\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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c285ada83496856ad91d1447e44c7418e1010e2665f8f8453a4301f355b67101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt:160-168 | core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt:170-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f690e3e6ba478dd8942af35af651e32906ad579ec1ceb7d7633f0e7bfc879c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt:96-104 | desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt:138-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 \u0060desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt:96\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":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f8da00a308d927becad8dcc2f3457841c20e8e38e94f13d1b3649455c35fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/components/Waveform.kt:152-159 | app/src/main/java/com/aurora/music/ui/components/Waveform.kt:166-173 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:150-157 | desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt:164-171 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 122 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 \u0060app/src/main/java/com/aurora/music/ui/components/Waveform.kt:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"19253f048381084b0a2ece67eb451aad4f15e32aef5a1fad348cb04f955fe5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:309-314 | app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:168-175 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:271-276 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:142-149 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:165\u0060 calls \u0060Spacer\u0060, \u0060height\u0060, \u0060calculateBottomPadding\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:306\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"802b9216ac3a755542a8462d75e92617cccf4b7028ef38d7feda4e1247d3834a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt:127-134 | app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:624-631 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:468-475 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt:127\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":"app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05c23ab5df2fcad9da8149565c0e96046198902c3ff3d32dd2fb395266be625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 5): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:196-203 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:288-289 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:321-328 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:147-148 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:185-192 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c28c85c58a0721bd0ace6a63767c79366daed8900a15096223556c34227ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:166-173 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:216-223 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt:166\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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd6822a9147acf45c28ad28a00442cadd59d7c468c97caa3abeb444beda92c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:197-214 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:248-265 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f292f710d2d3278e6a5a9b82bf732dc339956c86809c300c9c98c441cb608596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:273-293 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:248-268 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0f5cd4a017b2c1dab637d330faa524ccc6b2fb0372f40f5a623c7947d574f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1484-1491 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1462-1469 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1484\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b01b6bf5debd6ea3dc5b8e8e55b0e633031e327e843b8b968ea8cfad435d0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1986-1993 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1812-1819 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1986\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"b110303cef339645339e01674b4489e4bdba6c96786038d3297ec9dee7e40b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:343-350 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:459-466 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:343\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f6d56217d7b0f47c2927b62f3aab9b6ea213dbabec20d72921b3563322266e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:352-367 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:468-483 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:352\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae95a80c7b3ffee4e8524d360300717b798b28099d1b5273c779ec98874e9364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:137-143 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:200-207 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:137\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":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bbbd0f893f67c725cf6d3f0accefd4b011f4f7ed7589914f5624c5dd6dd8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:224-231 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:395-402 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:224\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":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d814450e80847618fdd4d4edb32db1cea692776ba5283f9a2ad467cb312203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:75-82 | app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:168-175 \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 \u0060app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:75\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":"app/src/main/java/com/aurora/music/ui/components/Sidebar.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d73d6cb1d5d77181e66e3b71987d6db7d7300dd3857815a335f2de1872924e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:202-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:204-235 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 143 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:202\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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82268c523c17adb7109ea80c9837efd791a331b280f96b1747d9b3f52d1737b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:176-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:194-201 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:176\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f129bfaa8d9460a5878a8cc375e66e59944dde95858dda5c0563d7a5d72be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:90-100 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:101-111 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:90\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":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"33531baf383fc41cd37180c06104e599da4c6181dd058202d284ed7c80b6ddaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:439-446 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:419-426 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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: \u0060Album\u0060 names \u0060androidx.compose.material.icons.filled.Album\u0060 in one and \u0060androidx.compose.material.icons.outlined.Album\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f8ae9645685679adf67d0f69dacc9db63a6dd1d0448e7638d8c8da59077870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:134-154 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:147-167 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:134\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":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86382953ad5b2fea807914a4f68b009e2eeaeb551b2e9371c26c36f9b26db61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:250-258 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:251-259 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c44ba4e9d8a5a3f1cd7151d172bcf9291f058fd0a4787cd9dabd9a14a34af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:216-241 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:215-240 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:216\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"36afe0172014d64225dcbb91e36855ea0b3a96e02c28c8e8e33b87eb45802960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:427-465 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:426-464 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ffa0ece9ab1d9ba808d682fb40388bbea89340f6e1e2d6f212a7beb2f0da24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:96-103 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:90-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:98\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:104\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda6e4cf7d087cefcffae2b9036d33780960ee5bfd3b8a15fa379b6f97c0cafb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:314-322 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:238-246 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:314\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"58522cda86b3597293891b4b72eea2f3f2a2520da2bbbbee5d99dc95fa02131e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:425-433 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:405-413 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"68795537e293384a41f1ac54114e09c7ac03c3178a6af46567a26362d7d69cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:59-74 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:71-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:87\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:75\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abfcdaa990663206b7b2040cec42f7fa1d82da26caa33881b7b52cf73b0b59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:181-188 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:182-189 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8d406d28071a5307d9b3c783bd9af67528b07d6caf84326de3e212b693244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:52-59 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4017488091b6a2862c74f48b37932cbfd154c1abbd840d2f776394f943c042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:224-232 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:250-258 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:224\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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbffd441f353118df69dc9011da7d13d1afb8ba5f911935f294fe21284c49ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:237-244 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:290-297 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:237\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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfea3ecc6290a841cadd5d8fad23426a78f99a6e4ec57878cd7714c73aa7853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:64-72 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:74-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8772fec226f6670eefdfb5e6d35eb5c30b8d1fecc3d2376b8d80cb8636fef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:130-150 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:80-100 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060UpdateDownload\u0060 names \u0060com.aurora.music.data.updates.UpdateDownload\u0060 in one and \u0060com.aurora.music.desktop.updates.UpdateDownload\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:78\u0060 calls \u0060Text\u0060, \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:129\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dbbca657ba70e9e2604ca6b202f67802ba2b0ccf2e25b669d8da07efb915b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:156-164 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:106-114 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:156\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db793a72564143469d74a05ad2dcd583b2de4baeaa10f0216e570049247d185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:374-399 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:406-431 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc649fad3433423504df769473bc158c1b823239133cf692f68b491b395bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:403-412 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:435-444 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:445\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:413\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c7e9605b5070a85122a36ef72629ad7e53bd1bc5720d0e1ea3c5eb14b115f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:57-65 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:55-63 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:57\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2e716f53ae347ae1e675dda43bf86696e3bbe5682534c5cc0661b0c74189e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:92-99 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/BackupScreen.kt:86-93 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:92\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":"app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"468844e0b3ac45aca191880147a7f55c1887b719fe9f8373dc7e9c483a7adfaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:171-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:130-139 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf7f3476c1610f2897be0d361897a258d18e468d2dfc6f33047c68b3c415b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:223-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:207-217 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:223\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b43061af4d009b8c4be9f9af2405815a840553a8ec709748a62a35ed44be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:119-157 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:128-166 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8137bbed0054d6643426388eb494f8c3a8a2257718fc86a060b24a6146cf2ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:290-301 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:299-310 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0fffd496ee64e3bd681de571887131fcbd30f3145dffaee3bc341d3bfa46ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt:24-54 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt:22-52 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt\u0060 as WHOLE FILES: 92% 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt:24\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":"app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f76645c419918541e74c4f835e9324480c1dab244e2477c023c4acb1362b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:220-227 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:219-226 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:220\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"61451c0a4dbc13ea2dab19ed8dafa7d32d3bd506386ed16a3137860735d4a35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:164-192 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:163-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f849723a5a269c9a899e3d3575f108137e05181c93cf4cb662baf992335d5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:55-76 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:57-78 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dce7bdb895faa28b0c457a434800c613bc7f38a12e0c9ef7067c3e3bf4eb0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:150-157 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:150-157 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:150\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:158\u0060 calls \u0060rememberLazyListState\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:158\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c7f3f94836ced86d1664ddf8908a8c5f3b15ef6c3d5dc033a2cf2541d10a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:186-207 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:185-206 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:186\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b251c173af612aa70a4263bf00f04a307db03203a0474a9ab67482750ce163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (122 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:26-147 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:26-147 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 180 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:26\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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"178855ef3d8a05687d7ada4be49fccbece45b45b7d1cd222f0c23c6a5aaa61cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:120-165 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt:119-164 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqResponseCard.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6ecd3013994b9351ec498c74b991050f10592062fb7e9c17e0ea261caf0a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:50-60 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:47-57 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c29a0a590cccdfe0aae224e5531b10662dbb569f2abb2e5694204673fb5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:89-96 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:72-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:89\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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c930d1816a9e210bc48bf3b28474ba8609226593bb73c6d05c8d79079247e9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:129-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:139-147 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:138\u0060 calls \u0060solidColors\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:128\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d19564183b8bf364b88380efb8ed136a5a3432d29a2516cb33415057cc2b04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:378-398 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:283-303 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:378\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, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:377\u0060 calls \u0060StorageRow\u0060, \u0060appString\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:282\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f879d7443a5e62b9cc1b3146e213f7ebb31d4c79610717f0dd78610ee1aaf875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:421-451 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:418-448 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8f5cdf32db25e5a1b7ecfb3a44b88d0a1e2d68b4be5d757a689232d59448d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:83-90 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:83-90 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 126 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:83\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:91\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:91\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0b2523d5ec157d67303bc5d4a0f8133e52166422b8cbbe2aa09802bc26e976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:72-83 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:68-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c0537737ae85399b2f6c8e2c9ff7f6928c505c3d9120900c04ef69054bfae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:195-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:232-241 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:195\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b673ba4b181aa3a34c377a3d7d9c9aa2132c994ff7b23354c1a28c918deef2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:329-351 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:329-351 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d553287bdb2f841c39d9544e997ce2179297ea1ecd0c80322c26781291f4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:735-758 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:735-758 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:735\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7cf1f9550aa60218d6761684ff022540281429558bfcd1c2071d3629ef0566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:774-811 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:774-811 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:774\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c7dca7fc8c4415e93f2c73e70152a8532d461a25746bfb88d4882c044be58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:316-323 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.kt:159-166 \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 \u0060app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:316\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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef25a7a0f6420cb0b01e6775e4b1b96d3783ce10dfd856c043e0f27536cc219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/FolderViewModel.kt:29-36 | desktop/src/main/kotlin/com/aurora/music/viewmodel/FolderViewModel.kt:25-32 \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":"app/src/main/java/com/aurora/music/viewmodel/FolderViewModel.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aca08256b796e3eda9582f2769f70676c7f9170e6595c8ee588752d819ef66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:60-71 | desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:57-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:60\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, \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:69\u0060 calls \u0060withHistory\u0060 and \u0060app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:73\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c117807c77fa3dbf93de2519ee07ce62250b36cf702e8ab75fad6466567ec42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:280-294 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:271-285 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:280\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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4971dc4100f1e243922ac84ad7e04908021c23f75da0731dc0925412ba8d9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1060-1067 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:917-924 \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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f7a037d0598df69afe1286f69de6b0fa91206b36ab05eaf041cba39a7225c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt:65-72 | core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt:78-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a146ae237136dc093ec2e215c8f26acda4dd5e4b9230939ba3aa2470f0a27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/components/Shelf.kt:170-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:367-377 \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":"desktop/src/main/kotlin/com/aurora/music/ui/components/Shelf.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fa6b4a7fc1ee7600c3a99739ce7671c3a977084f5a74f333e99de81ebbd44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:917-927 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:960-970 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:917\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab0ae5b8da9c00cf942003649143bdd8284ee8761d286c8613248767c5ecf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 6): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1266-1272 | app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1326-1327 | app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1443-1449 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1238-1244 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1291-1292 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1425-1431 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1266\u0060 calls \u0060playNext\u0060, \u0060confirm\u0060, \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1326\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa21f71191b960feea498127b13cf5f9376267399a337493a713d58bce13ce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:75-81 | app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:138-144 | app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:168-174 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:210-216 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/Sidebar.kt:75\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:207\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:135\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":"app/src/main/java/com/aurora/music/ui/components/Sidebar.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"273a48ed298fbc71e46834a8e70e029909f2f528d61ce9b36f5ae91fd164d9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:123-136 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:178-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ad7a4c659192757c38cc5105af236800b9596cc85f07670b14ae9b2ad53ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:43-50 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:57-64 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09d781498ff5a0a4a9d8d77dd6709f91b33d31044e57db64cc25f54293fa8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:207-212 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:374-380 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:374\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"865d45c31cda167dcb11750b5e8612a75565446fd5a6954d2c71eaad3d8e0e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:651-657 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:672-678 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:651\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4627f9c9ac1163dabc13ca08469151908de493b7a37e2eeb28b8f79a851f7fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:667-675 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:683-691 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:667\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, \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:666\u0060 calls \u0060padding\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:682\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a346acc4de431233fe08b26646927276b0869165193cb366053f1dac1231b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:932-938 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:904-909 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:932\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab373f8b427b344afe5b9649bebe8cc7804d829ffde0d79cd4a469890ebc21e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:104-110 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:147-153 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd590340284aa170f3271d974a639d978b96eda0560b43c1bb9cd4f82757419e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:131-137 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:272-278 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"15815e2fa5064bb11511b78dc9d5b3c53915b64e1a58dbf43ceeb15f198b8233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:351-357 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:678-684 \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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:351\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c8d189f150cecaba607ccf6bfd036f8d5584fa991c42b0b1469a6094875ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:91-99 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:90-98 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:91\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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97c04a4e25f44e53f12578f8ccc0c0f2d86a63814f698ecadbaa651dce46bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:483-489 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:502-508 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:483\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06a73e0e944a6c4e9eff933b61e6b6f6e24528388d61e4c07daea16b8a4b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:210-216 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:257-263 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:210\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:264\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:217\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"345ac0e433f7ddf533ca2466aca8d1cc79b34deac34075a26214918f7f70bdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:416-424 | app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:428-436 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:416\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbc0fc536aa676aeee74578ef548f3807d88988913be14e7b022b8d629dcb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:517-523 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:332-338 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:517\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"694826989221163f039746db906217e5324bf4c0b7e9abb2ff8e269f699465ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:102-116 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:113-127 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"261946305776e7b6f0468f6f4aeaa437a864ed2f9ba1da132d5cf72b1e069c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:748-759 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:849-860 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:748\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bc7893476128a694250754a91b4cb810a46d6979b948afe50a20ff2ed48ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:805-813 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:835-842 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:805\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3387381eff9a2b28ef0a55c1d75c547d0de45bba11e32bf436673d94d781b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:211-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt:225-238 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/SmartPlaylistEditScreen.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e9be2ba375c4107b84a7357ae15a6722525caad2d7769dcb6ccfb03b74ed0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:352-358 | app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:148-151 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:353-359 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:222-225 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:352\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:360\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:359\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"087171f5c435c755f196985e351ed4942a4d417d4519b14fb205c80ff0cd6985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:114-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:115-146 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:114\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bf6ec7bbb0e0dfa9ba020d1e54071ae016c16eba3220e2fb921eaad8a76b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:151-196 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:150-195 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:151\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c365c9ff2f3f3728f4cdefc7996e636b336742ed9842211b511aecb9027ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:469-481 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:468-480 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:469\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5863d266d082da65302940e67367ef55ffd593f9539ddc77623a9976667b1de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:997-1003 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:771-777 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:997\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"3006b73dd3cc3246e223c845e09c6d5b1211a2252ebf9180d6f81be5d6bc9763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1060-1066 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:831-837 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1060\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a696969c5bc903bd727f0f2631d5dbc2861408595876368ea9144445e7e6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1553-1564 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/TrackComments.kt:135-146 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1553\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"205e9d787bafccfb4f4e3635b4c3cf78359e33ef2d0c3f430431e869364069f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:215-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:177-186 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:215\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"337914f441e5f82bc5d5fcc6bc9393cde88a1afdd61b83112980e3cfaeff7c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:234-240 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:196-202 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:234\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"78475c1fd217e31b507044ce92bf520c0a2a5379372150466a8dc1f38c9ffada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:76-88 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:89-101 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:76\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":"app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5059355ec4949f7c043088c31aa68ef64489ec891b9ae04c87c63fe309dfc4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:139-146 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:103-110 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"279ad1956ff413e98d58efa1c2b9fdb32a03059e4cc3c90c8b523f4bfeeb8abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:82-88 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:106-112 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464a8a55c97cb094e18347c8881766dfe5ae91df3387f0049400a4d92cbddbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:373-382 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:552-561 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc906d218aaca2c66074d6fa49eef32876489a06fe375cc13fc00949097a9270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:121-129 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:69-77 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:78\u0060 calls \u0060Text\u0060, \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:130\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7216950ef0224e1c1df8e3e0a4b0487a7976f8c2fc52d003b28bcc07d72e5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:351-370 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:383-402 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 275 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:351\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:382\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt:350\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c844e81c536dc77602cd7ceaba074805eaed07f548449da13546eab327f9818f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:190-201 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:174-185 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:190\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c61d9164016a32d86d3fbdd321cc3f51c0842db8c54938bf10a51bb94cd01bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:301-308 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:285-292 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:301\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfa815d5fdb97eab5ae5bc37887540cc5b9232092544b38f94135d490e3a0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:250-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:234-240 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:250\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa6b5256ed7b18a1430633aad7c2076d3901d287e3f0f9453d6daf931a84c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:494-505 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:521-532 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa3f52984e681109acb08d5d1629dfa560244ef0cb4db6dbe32ea0548eea3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:218-231 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:208-221 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:218\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeda304963c6f412400be77b34ef7addb784edfbb7b5ce3818c06a7a3f073a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:417-423 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:381-387 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:417\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bcfd109c0b7e3405c6a86ab0fee0f78dccf7a0209449d9ec355a31d3766d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:234-242 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:301-309 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:234\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf27b38a05a7558ce1c78a1b273801f5654061c99233b68bbb07ef37fddaf9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:251-258 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:318-325 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd343e40a86bee87cfb96f4acc5449e6285f93f92572b541b409f5eb88651f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:208-231 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:207-230 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:208\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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"da99c16e612d7bd28a64eaf273887aab44ca8a21fb1b7e2ea3b419e32030f31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:387-395 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:341-349 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f1484946d0d3261b74c3f87478d4eb9063fb22a750762a22a4334235a5904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:303-310 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:370-377 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:303\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:369\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:302\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af28796ff35229168834ef0dd26b18c98ffbf11dc9d5549e5e14f1b1bebc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:411-417 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:302-308 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 125 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:411\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2031c5323dfcf3d63a91e01a489c74b50bf13c0ae4583ed2003b6b9dad4858d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:317-347 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:326-356 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e4ea185f600fe48cba4cc971bcabbf47dcc5d1c60d21c3db4fb4de4933e1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:72-80 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:65-73 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:72\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d55e50c6838eeba160781fd8ac3a8c0c83982f6634e5137217986cc65605261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:133-143 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:126-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:133\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff575b81f3ea0df48b0d1275429058a63093b693b75f0cd102f3e9a1a0eb651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:145-152 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:141-148 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:145\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c618314657ecb1f16e585851eaa0ff8bde2bdfa305e9ea0cb131bf742d3fcc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:36-42 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:35-41 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/WhatsNewSettingsScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"373122f344553f305242c66a9e7ec8c567e4d95ee0d95da26513801030af6654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:105-111 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:104-110 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:105\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a17d51c857511e3bd8ee80fbd9b974a9222f0558aa70e5eaff650cad7ab313c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:127-133 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:102-108 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"361fa9409a41ed9aea98c510bbfeba8e568d85817a8358fd50f6fe86829b9f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:603-636 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:603-636 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb319786a2b5087f22029f40304991f41b97fd3f57d2a459474461b195c16262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:912-921 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:909-918 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:912\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d0fd68bf7ab622ff8ef8495a2388c712902c818c325c6543de931b8f0480a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:141-151 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:134-144 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 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: \u0060BackHandler\u0060 names \u0060androidx.activity.compose.BackHandler\u0060 in one and \u0060androidx.compose.ui.backhandler.BackHandler\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b07636b7c7b1ca349ffb816d3f33371445ef7aafc6e06550d6702d1b0cba17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:524-533 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:516-525 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2165be1fb02aaaf413d2f269498a6ee474fa6c7b3698ef479ff43fe0d1283f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:561-569 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:553-561 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72a97d61f6f42035e8317b33a2f3ce052610e8e9f533c22b9010e8435b9cc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:589-609 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:581-601 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b0e9d2aa512992e843ac939daaec76f0fbc7ca5b8770f245c02c052db1e5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:60-69 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LocalProfileViewModel.kt:60-69 \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":"app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"825463877355b44b77c46f1acd71c8254e2114ebda04da02bcf592523a917865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:44-50 | desktop/src/main/kotlin/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt:41-47 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/SmartPlaylistViewModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad921d66ecf1948c0724b3e433baec3476e721288d723e5904180b4c76be738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:475-481 | app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:103-109 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:121-127 | app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:428-433 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:104-110 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:122-128 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:475\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc03c76b5632662d62930055e2853bb4c32f4391bbc88442979d743ee0b40735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:48-53 | app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:58-63 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:47-52 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:57-62 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 120 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:48\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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f573b2350b2f5decffc60080fd9bd18e9fc8777b09ef4c29f52be1cabef373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:351-357 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:678-683 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:1034-1039 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:351\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"178ddf37a069a6d2db29ad9165a56ab4076bd0795d0c4c939b9b8757054e621e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:133-138 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:789-794 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt:129-134 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:133\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":"app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e1e73887a7dd66e7f42a6a4c283293838ece4f776c474c79839a188d50f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/data/StorageInventory.kt:76-83 | desktop/src/main/kotlin/com/aurora/music/data/StorageInventory.kt:65-72 \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":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c345d1dfd14181535994f052e714f25fb98b1ca95c17391b3d249b6fbe8e59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:98-104 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:101-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 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 \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:98\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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b8ddfdde7b81bf02785d36ebe8ac4ac893ed4a17835aa35da062c082560a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:164-172 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:173-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"de063b56d64c2e2de296a4203554bd59ad68ca163c5b7b09e05c00d90715ca24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:215-221 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:195-201 \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 \u0060app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060file\u0060 to \u0060File = apkFile\u0060 in one and \u0060File\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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ab7b02d03f66c2224e8eff8e3a1c56660172a09c5b2b323b92c8ace494b1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:223-228 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:203-208 \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 \u0060app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:223\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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"779d68e7265e48fe6b32d19572107a40347cff3f9fa7a0605788b54f0eb836fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:149-154 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:154-159 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:149\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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7929178e8ba85ee546d5f1f2959b39a7ed88f79a239619066d3dfcc62d83f329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt:294-299 | app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt:63-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt:294\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":"app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fbd67c148afa3b975759aff133bd49f1290a7c543a47a3c94bb03f16afdd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:644-649 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:665-670 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:644\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"4510c444288e6a91338784046929fc2b2b03ba0cc4bd7e7c86c1aaebbe821b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:710-722 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:728-740 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06052003c4585ee4f831bdea0bc60b93716c006a6d1d1b80d840b48a4193e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:795-803 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:807-815 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:795\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d499afda919fd9421db7f0309093602bffa27c1eef098100da9102de570650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1398-1403 | app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1591-1596 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1398\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4eda42301096310026aeaf84c8d8b8e2ea856bfd32a67f1cabebea8674c2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1657-1662 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1175-1179 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1657\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1656\u0060 calls \u0060popBackStack\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1174\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97f387c409e28dbf759438006a2da6e0ecab0c025d0b3bcb43140061c77909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:125-134 | desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.kt:147-156 \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 \u0060app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:125\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.kt:157\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:135\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":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0feeb6556151705a255b45a921488edd0947d1f60ea206f8c735abb937ccef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt:26-38 | desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.kt:26-37 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7302145bda775e6144e5ed935acf4e0c389d4e3150a8cc8ecc0c6bf0ac04cfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:180-185 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:297-303 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:180\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6bb932fd3733627461b71b28969812b7647337c45c23ac8388c22276a1f285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:188-198 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:360-370 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060PlayerUiState\u0060 names \u0060com.aurora.music.desktop.player.PlayerUiState\u0060 in one and \u0060com.aurora.music.viewmodel.PlayerUiState\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4832470a7137257104ef6e1811b2bf5271cf2182752e9c6e6a1a6dad2a59766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt:46-51 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt:48-53 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackSortMenu.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.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. Note first that the copies are not typed on the same thing: \u0060FilterAlt\u0060 names \u0060androidx.compose.material.icons.filled.FilterAlt\u0060 in one and \u0060androidx.compose.material.icons.outlined.FilterAlt\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSortMenu.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4433300b8d5da6daa4e654d83fb08dc35f86a129120e04a19d23dc76763a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:185-195 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:187-197 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"121fdf1cf5797031ac1059800b0b1c253c56ee02b345f967a36f7b805d8e277e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:259-265 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:339-345 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:259\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7d30544716db3b0b6323e28c90d36a396a176573a71fe89c4cf9e3101547a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:497-510 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:516-529 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:497\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"426c31489ba4fb1bc5f138414a920c6e89ae602baeeb5290c41b7994bac5abe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:129-135 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:163-169 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed829151887e715adc8134b6a61b1b7e2ffa562f7d9d535d3c61d648e1c8dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:193-198 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:213-218 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:193\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71574f723131f8a453b4e1dbd54283338aa8705cc5febd5bb8b8b38ce3e2790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:69-76 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:69-76 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:78\u0060 calls \u0060OptIn\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:78\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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"725a98c78646be6825dfb006f7a819995b3dce444953566597479366617964d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:294-301 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:477-484 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:294\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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ba906ea36018973b07d4ad48595fa45dd651f968f7bfb10120e7315a44ab5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:914-920 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1013-1019 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:914\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc1b3637b4e87cde24326723905abc286892aeea99e12b927b038995373e695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:114-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:115-125 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"334a2f58af2f9ebf4628080baeeb97a64529a33313c05d9f3f1660e6a23f42a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:328-339 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:192-203 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:328\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ed78a07313867036bbbe0242ce09252f073d86914f2295293e759550960581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:345-350 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:208-213 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:345\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdf735816ca7f25bd1278e74dedc241c5f18244ee8983acc2eefe227e6fa90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:613-618 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:384-389 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e8e5c0580e0b4d341dbdadb4f8bec43472ad70ee576022e733ba112111ebae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:351-423 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:350-422 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfc7a774dae0f33a1ffce34606c1150e15b5e5cc90e022e0ef394c5168a33d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:648-659 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:487-498 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:648\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243944f4bd98d63ddc14e3146f72ac688699507b0dbf9df1c1332bd1286c68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:675-680 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:514-519 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:675\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:521\u0060 calls \u0060CommentTrack\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:682\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d076b3bddb6c1e70952843436a6a24f73f547016a13d5b245e141f6fd7971527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1025-1032 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:799-806 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1025\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cab94252dbf65eec95c9a9594bb1bf95af1acc40a6f4cc142f9c33e37214386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1351-1357 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:869-875 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:868\u0060 calls \u0060key\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1350\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec4644e3f93fbb94de092112e9a992a86fac61dbb20e96056e2547820439c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1545-1550 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/TrackComments.kt:126-132 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1545\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f6ef6c5e77fb4cbb938eeff0780c88c6fb0a8df2d854d0077732f05768254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:226-231 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:188-193 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:226\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf12ef21062fcadf3be36efee102ec98bd9b5ab7d61830bc318adc83c663ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:441-451 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:252-262 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8579b60e104822860f9e006e61797867b9920fbafaad2de0f83c7698bfb6c10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/RelatedPane.kt:43-55 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/RelatedPane.kt:36-48 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/RelatedPane.kt:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/RelatedPane.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f8c28a6a33a9f73b4d567370b9d2d3092018150a6c438f3512f1f91a7f32ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:187-204 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:188-205 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af75fe5f8503696ef92e3d0bc08817927d2b1af9c7608c55b17a8045ad4fb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:176-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:165-172 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:176\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735d74117bf360f3c27681de1fa1473cd2b529839c1947ad054687b13962791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:189-202 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:178-191 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:189\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa89ded38cf31866acd56c3723a4b0073e6ce3e83c7a07b63928cd5ee8a1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:103-113 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:53-63 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060UpdateDownload\u0060 names \u0060com.aurora.music.data.updates.UpdateDownload\u0060 in one and \u0060com.aurora.music.desktop.updates.UpdateDownload\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:114\u0060 calls \u0060appString\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.kt:64\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2293c0807f77203b9344943f6b2be7578eaf3e2d330a39b0b9783a811380c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:39-44 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:37-42 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt:39\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":"app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"248592ea1089c077c8d88cb0aec644cdd74d6b1768f80a2e9dc761ccdcabaa6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:60-65 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/BackupScreen.kt:53-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt:60\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":"app/src/main/java/com/aurora/music/ui/screens/settings/BackupScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7195cabec959fe72b59f137429ad2deba9887caa01b3e24bb9612dac115c1dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:203-214 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:187-198 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:203\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed885619f1825bce0ff2875100f1144d4206c04fbaea7e1253a8fa68824456c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:235-242 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:219-226 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:235\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7071e8a857288193521a9b422ac52949ebcd0274bdad35e63460e99a098f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:245-250 | app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:292-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:245\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a45984c192721083d2f3cff7d1002816711d801cebde9bcee0a8a7a28965af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:298-307 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:260-269 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:298\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":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"150695179203796fe9d440cdec1665365f78ac9a21460bde6ce94cf811187378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:130-139 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:127-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:130\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e51b86b9595b60a81d207169d355cfd6a184c147311aaa68f4143cfcce595d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:342-350 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:330-338 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:351\u0060 calls \u0060mutableStateOf\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:339\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd879b49e67684d647dd65be1a79a6f90ee5bb7893f907d43f56cb8a3aef04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:447-453 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:411-417 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:447\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abba1b18a6dd92f83dcca879d5898eefda5452d0cb4e205fc55046e02018ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:153-163 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:152-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:153\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c276938b4150820c1f9115aaac2cd2f49e94a3964a80ce7ab69cb940733e9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:204-213 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:203-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:204\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a7cf4bf442ce3091b3a8f33c18e69faf57f803def3a5542d9822af19f34555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:78-92 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:62-76 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt:78\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":"app/src/main/java/com/aurora/music/ui/screens/settings/PlaybackSettingsScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d0188e51996998967f8eb14913963a2a3421914ce6c40613ad91fc82a0dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:267-289 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:266-288 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf94b188d449271a950a8cc83e64cb7ce5d915333fd72b71315f425cbc0879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:77-82 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:75-80 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1734b315b0e2f4bb05c23d12ba7909c9c02a9dc4b68d3002b8560ae4d53914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:295-324 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:291-320 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:295\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cdae894f09580be990bf6f30c05a21bd36cc54b0c5e1519b2b75f94ae89654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:372-378 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:367-373 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:372\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"14891573c65a3638d2702989703b5fbbd5156eb9eedbd97e5ca31a2188f04c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:508-527 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:502-521 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53186372238aa659040c9b8ec7c0b12b55d88faacac91b217dd98a58fa3cbdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:269-274 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:228-233 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:275\u0060 calls \u0060SettingsRowDivider\u0060, \u0060SettingsDestinationRow\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:234\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"64becdc6a5b00eedab4ba30a1c1708e787e0f7f651cf596282504ad37882b93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:79-95 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:92-108 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"43322dc0d0e42f400e56f1fe4ee6e30f087d1af2a5345280a3773593ecd153b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:180-198 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:182-200 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1866f7fd247d9d2e0709b9ed8a15f79ed2e7c00194b08dc9b9490b85ebebe1a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:178-187 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:159-168 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:178\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3529754c33e890d63547179a7e1b769f8b49d3589ec1e1d0c8ab5198fda2058e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:249-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:235-242 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:249\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:243\u0060 calls \u0060SettingsRowDivider\u0060, \u0060SettingsNavRow\u0060, \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:257\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"86da506e1c68c285ed03240a8f4ac6c9e78681bbdec01237e8567cd4f6d8981b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:351-357 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:360-366 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:351\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 after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:358\u0060 calls \u0060ReplayGainScanCard\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:367\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90c448c87ad10a8f8fd6ca411aa0771e2ba4de79268146a2cec5556709b2654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:143-156 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:143-156 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff902f0aac0b7ea7ea8793b44640d53a6bc78c0a2ff43619bc021d7123e463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:214-261 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:211-258 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2488e822c7fab7d356a0524f9e615d01dea257b0f37f0919788dc51acba9ad74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:310-327 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:307-324 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:310\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85e8d078f6fd285bd5334ddbfdaafa27a51b45bf82afaff757db09d75cc027a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:233-238 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:233-238 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:233\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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3560e5833db541f450bc1eba3e0c66f5258e0435488d12085a393acb9b4be6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:242-278 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:242-278 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c6fa16486bd26a0faaa824449051f66bb36978aaeca50b3074f842e7919c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:114-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:113-123 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b4d08838a03f5410dfa1bf2c666bb21f9a484899ce6192d5c249f8e48bacde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:183-189 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:220-226 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9defe2e3a1701430d5a64b6e9b9dfd4f5b2dfdbe36dc2e947954149723a51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:210-226 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:210-226 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafc042defc9e856991033b634528e3c764e9087b7fc761fa5f8142132ae97c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:388-401 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:388-401 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8f439760c8b8c63459ae57749c72b1a63b75cebc34319676012a536169cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:606-611 | app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:730-732 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:606-611 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:730-732 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"309e9fc5a2e2308913ccc9e5834929622062fcbd5130a5d6921d4f9d00e9a9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:671-690 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:671-690 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"af511b0d274cd755d28f432bb74fd66b6949c12ed67b858d3f5e99c7732f7ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:952-960 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:949-957 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9a3ff8a71ddcabfad0654cfe202e5ce0bacdf971fa446165dbf09fb0d9605b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:162-167 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:177-182 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060YouTubeDownloader\u0060 names \u0060com.aurora.music.data.YouTubeDownloader\u0060 in one and \u0060com.aurora.music.desktop.youtube.YouTubeDownloader\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a4370c3360ef2a93b122def6b46df09915c4f2330c2935cb2f93433b751c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Theme.kt:79-90 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt:117-128 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Theme.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d53a79ad4376c5330828b8fecabe3e02d187dda7e8ebbf3fb0dd3244f7e923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Type.kt:74-83 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt:38-47 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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 \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt:74\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":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bf4f96fc84ab4777ce27a470ab348eb6528cfc6fff2f078e968d21cf3e6a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:177-188 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:171-182 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 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 \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:177\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":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c93445580437476be13ef6739c965666d94b78573aa055565bcf706ca66d08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:251-269 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:245-263 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7354e8c756686522fd541f1aa155e10d6f951f055885f68f39bd3d2ca64dee34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:500-512 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:492-504 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7e4fe83c1865b92c5c10d5db202a83ed917fd865874049e41ce3011ceb6ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:614-630 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:606-622 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"94faf1e6fa71f70ac253677e23ab3d98e1fdfa84075c61736ddfecbe1d5679cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/util/DominantColor.kt:77-82 | desktop/src/main/kotlin/com/aurora/music/util/DominantColor.kt:202-207 \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":"app/src/main/java/com/aurora/music/util/DominantColor.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fcc5e5b56d0d9f68ee1779347e884b74d9493376cdfdd21fbf669c66a1e9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:67-73 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:60-66 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c00d17510eb23a7d0830bbde27c8bac9f9d0b3ab5911c8fd6d142f70a0d2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:75-80 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:68-73 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:75\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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"280c9343b67f77c4ea48b5cc5cbbe36fabfc9c7f304871de704e605cefe1c016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:219-232 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:212-225 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8028cc89d47258c272248d62d8c244eb20e718f9aade7a43310be7d9fc4c6a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:224-229 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:486-491 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57ee94de5555ca3060547f85951d7e630af4d027eefddd4386b4854952f8583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt:1221-1227 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:1038-1044 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6752544f1c8b0ccb250e79e4e8d09bde9c9d9e91e139e87eb273d22a64245301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:136-142 | app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:80-86 | app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:79-85 | app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:78-84 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:92-98 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt:80-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:79-85 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:93-99 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 119 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 \u0060app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5b793b43571d5ed822e1944e6ebf4c043427aa8a79c1edc1ddb0dd1cc42d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:67-71 | app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:62-66 | app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:72-76 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:66-70 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:61-65 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:71-75 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:67\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd2c5adb004095a98e1d81c44712376326ec752d71ecbc0eab5933ebcb2d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1116-1120 | app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:190-194 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1074-1079 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:179-183 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1116\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbfba16af46a05f61a8b575e53c6ed7ee55925a565bc22d25d1aca71697964e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt:357-361 | core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt:235-239 | core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt:207-211 | core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:156-160 \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 \u0060core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"639189c0b4121af0795fa8f74570ac8313e862f48251e4ffe79a5420a6a9ab70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:221-225 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:751-755 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:852-856 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:221\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e1780601e4bce3b83a7ae6b74d0c85b779a8b808525d0a4e7169007ca57d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:222-226 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:380-384 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:446-450 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:222\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e0d4d8a6fc2dbf48d2705cd61c56a9252d869f462cbe023d5abe95cb4aeda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicFeatures.kt:183-189 | desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt:183-189 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicFeatures.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicFeatures.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 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":"app/src/main/java/com/aurora/music/data/SonicFeatures.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff80713f49637205c566fb31701a3333cf1addb4832168739190076fc9eb428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:99-106 | desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt:91-98 \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 \u0060app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt:99\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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41c3d6996daea3d55fb473495d515ec98f1dc3ee084e4c6383d3b97c17a0ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:91-95 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:107-111 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:91\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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315349a79767ccabf2eae4eb0e67deb362de6fec3068202513d089f3e047214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:137-150 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:155-168 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:134\u0060 calls \u0060floats\u0060, \u0060length\u0060, \u0060getDouble\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:152\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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb72f28ff7d3ee9c2e8c35440b3a15b0e596ca600fe55e624a8b09cd9053bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:218-224 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:223-229 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97a651eb1443efac9e77ae2cf978944839dc8017ea46f252279001e5d0b0108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/navigation/NavMenu.kt:153-159 | desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt:110-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/navigation/NavMenu.kt:162\u0060 calls \u0060byId\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt:120\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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"800898cf0317a69e014aa41f3413d1bdf3dc8359cac22c42b5a674b5fd0df945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:142-147 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:147-152 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67f4af5bc084c7388ccb27095e32d7864c1d510431056f1a7eaf997289d670c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:303-307 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:238-242 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"198b840667124ad394f376ab1cc00a4aef489fccd19b5ff34c44517e94c7a696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt:108-112 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/RemotePlayerController.kt:95-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 \u0060app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/RemoteSessionPlayer.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4bb19e4c066ce056b9bbfba511bc419ad3fc925f9635fed59f4a4c1dee7cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt:38-42 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt:60-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.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":"app/src/main/java/com/aurora/music/playback/network/endpoint/RendererTrustStore.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e02dc4d214b9bd0c34e86fa39c8fc07631a86a41fa9c02e04fdf785b8c7466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:654-659 | app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1819-1824 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9071021794256036e159fa61fe056aed85f50252b784e39df315c03f956039f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1435-1443 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1417-1425 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac5a865f85ec5b7743cdcb6f270898614948de199e5178ce8696ccd093ea3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1979-1984 | app/src/main/java/com/aurora/music/ui/AuroraApp.kt:2039-2044 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1979\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"c749477d359f540522aaac9c7d417e4d79f6aaba43bfbf1bc1d8511cf6a04824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:108-112 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:492-497 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:108\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":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac21268aaf598a01acaa283329a777b03ad4d55690f14eeceb26aa706ab223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:111-118 | desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.kt:124-131 \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 \u0060app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5805a7a00f21515a230136a82b95ebe34896a93c7835a28fda9a2392a4882ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/StarPrompt.kt:16-26 | desktop/src/main/kotlin/com/aurora/music/ui/components/StarPrompt.kt:16-26 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/StarPrompt.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/StarPrompt.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. 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":"app/src/main/java/com/aurora/music/ui/components/StarPrompt.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"64306d1dd863b4041071f3ca85aeadb212c679011963aca5b509fbe2d82e4b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:166-178 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:238-250 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:166\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 \u0060startPadding\u0060 to \u0060androidx.compose.ui.unit.Dp = 16.dp\u0060 in one and \u0060Dp = 16.dp\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":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d626417115a90bd4f6fafbb1b04253218d70eba499150d50107a4ced7817c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:187-197 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:260-270 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:187\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:259\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:186\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a55dbca22d65cb4308675ae2893849030d0a13f645000863d149d5ab056f705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:158-162 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:157-161 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:158\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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c62d52486b5caff601f27f4cec4678a6c3019031bb19a15535da9fb41a846b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/onboarding/AuroraOnboarding.kt:260-265 | app/src/main/java/com/aurora/music/ui/onboarding/AuroraOnboarding.kt:276-281 \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 \u0060app/src/main/java/com/aurora/music/ui/onboarding/AuroraOnboarding.kt:260\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":"app/src/main/java/com/aurora/music/ui/onboarding/AuroraOnboarding.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe62bb3564f8f7cae7b06207cdb70862cc8f5a15edf3d5956518337c4c875d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:88-98 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:90-100 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a899479f48832f6f00efa5ec9f9f803fb740a397bbe060ba832efa022c774c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:155-165 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:157-167 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa327645e7074265835edb3abb1a40d0b63273d12061686af72554ac5865e0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:185-214 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:187-216 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"94785083af758b9594a2ba2fc8008a22f38bdd6b0a20575cc879cb36350a0ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:280-295 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:282-297 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58c51900ee9f600ee93ce7bacb81fcf36aba5b0b5f737288f952421f33ead5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:166-181 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:168-183 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 143 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:166\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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e212b9af9ade783c155d47d03ed341c010a6377076f7a47942b86b10b18a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:333-343 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:354-364 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:333\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e94ebaf9711f389efbb06b78e1b6d7b17119a764ed0470acf6f1cd32624c211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:551-558 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:393-400 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f3f620387fa5263a454c8e6d7b9580bdd225641cfd4d27deaf4de98d7e7450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:277-286 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:321-330 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:277\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 first that the copies are not typed on the same thing: \u0060PushPin\u0060 names \u0060androidx.compose.material.icons.filled.PushPin\u0060 in one and \u0060androidx.compose.material.icons.outlined.PushPin\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dcd8d64ac374be6a17a7513a0727f29e8d4478ad7698bda9c933414d66fa9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:90-96 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:93-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 \u0060app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:90\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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1685306cea00d3d43c7b7dde9912efe4470304abb796a124ea7d2715ab4defa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:197-201 | desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt:165-169 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt:197\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":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed882ac1d8d33e42bee6fe14b3196f473b650611814e93377244464d4e61b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:156-160 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:171-176 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:156\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8094543c7fc8318004199e584eeaa437b2e85f7931e615007638b24ff08c67b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:162-169 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:178-185 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:162\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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"72364cf40acf01a9f6b05861eb412ee0d45d5ba28397fc1a075aa0c0f17582a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/CreatePlaylistSheet.kt:88-93 | app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:114-119 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/CreatePlaylistSheet.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":"app/src/main/java/com/aurora/music/ui/screens/library/CreatePlaylistSheet.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cff613e08423c6a138f2e9499f9ef48c4eb9c2ea71e7630cf96226c4dacd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:132-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:109-113 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:132\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":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c03aadd845a5521485ec5e11cd5ff2b89853b6d4c710ac9edecd352715bc683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:172-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:129-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:126\u0060 calls \u0060TextButton\u0060, \u0060padding\u0060, \u0060Text\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:171\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":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba420da7a0bfffe51715269a36cad8009b9b29f03c1d56e166f4f65ca8f4d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:244-254 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:297-307 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:244\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce2c1c68040ece9b484bd7897623bb92bf903361217f38300578fe3323fe0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:360-367 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:346-353 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842658044c3977e4769e9e02b05e6dee42186fdc0d34ce65b43ee164d7eb14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:96-103 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:97-104 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b6c4a954c44c4e5ec0e04765f4ed9bc8aff148754cab7af30f9b5c52fe9e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:234-242 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:235-243 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:234\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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2ae964e1a36d75699946529e71209c30d5e0f3841f9c7ee28beb28bfac59c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:265-281 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:124-140 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:265\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b7726fa79ae10d807f17be23f202970f8b56f07cfe1676d9352c9a43c40881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:436-440 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:273-277 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c17a13c55eea0e75fd7f077cc853bd83e222ddeb7ea4f769deb2457f54fdf48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:198-202 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:197-201 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:198\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0681f94440208ddf3b9a2c94d7220d5e5ee0735c7c3b1b21380ddfdd9a4f6d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:206-214 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:205-213 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:206\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1900207fbbf580718be0a43961d1756e2099a890eff5e62990b32e8a3c72a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:259-270 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt:258-269 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 358 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt:259\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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c6fd232b35a0e20924542b3bed1b28edc424a948e0e3b9ab56180cdef34795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:339-343 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:288-292 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:339\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"29049d1c84dc5b77761afc1e214473eead287c3daa0d9b9e16ca7731c82a5fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:661-672 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:500-511 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:661\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e881c1d9939ba9b52cadfe214fd14d6faa8652cfddf198b071550d91b0d3703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:658-662 | app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:671-675 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:658\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cae2e052c841f6105cb7160df7a0f18b5c95736c8ce4027297d0f1ae7b43168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1477-1487 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:1042-1052 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1477\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1488\u0060 calls \u0060CommentTrack\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:1053\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92e06247c46c499e4410f89308c9cc1f7bb6c1d66ff3eaa4e9e8813c332cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt:209-213 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:171-175 \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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"db75e7a1ccfe9c2faedc40eeee6de08e03c863405648b883f1a8e3ab3cfc2f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:240-244 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:160-165 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:240\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d09c272cea08042d61b5137cd15aff0a5183ec7e80a4c0e641f1337efe961ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 8): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:528-529 | app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:131-132 | app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:787-788 | app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:328-332 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:344-345 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.kt:127-128 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:900-901 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:355-359 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:328\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:328\u0060 calls \u0060contains\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt:131\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0df8ba44cd7b9d7e3b9e3eb8c198116f175db68cc7b769f54cc62739589cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:96-101 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:88-92 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c25627e74ff29e2a7730738513aa262bb4c4305e4f4c2d31fa78e423b6eea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:99-104 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:97-102 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:99\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df6070cbf5780fabf218844199a9d8e8be3e5606134b8f75f8440fe03aa4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:128-134 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:114-120 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:113\u0060 calls \u0060rememberLazyListState\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:126\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af88a0f707cc14cae955bde413b61e075a62b22ef9b88a20a99ab5915d2a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:137-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt:122-130 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 190 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21a543fd26f80e8623b98cf802b9950247a7958823eb4b01a0f0d0e99821d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:105-114 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:94-103 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:115\u0060 calls \u0060Note\u0060, \u0060appString\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:104\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7f6981d3675aebff75c36c941de3655ef3172ee0f738509da35b17dfcf93c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:324-333 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:286-295 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"df69dcb2b682936ae05205ee2213f6634d2a58d61938ab3545afa94fb271fcbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:339-348 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt:301-310 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/DetailedStatsScreen.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be80f94b6b357e00ad32cf77842f578a30798da222bb7ed6a5d4f4314f3da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:308-312 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:326-330 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:308\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eacafc75206c2e2a25e607bd7c14449027a5bfb593911cd82def1affbe32559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:445-451 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:472-478 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:445\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3eb4319901c4cd79f47983ec273a6efe0aae353cf1869e49e230bc63eed08b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:478-489 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:505-516 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6020c35b94726e670e5c503508aaa8f27cb94b365a6a0d9340a42ae08e3f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:398-406 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:363-371 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a5ee6b9dc2e3095e58ebd0148cb9993977258245cfb2eb3f887ea53d04bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:608-618 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:513-523 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1a724b9fde2c44e114f75be08752011e9fe821a3e802f390435958cdef86a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:128-161 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt:128-161 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69f5f14d923e85224f957ff2fffe5c2b8e318575a79a3d67347e67f53a049df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:59-66 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:61-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:57\u0060 calls \u0060collectAsStateWithLifecycle\u0060, \u0060DiscordAccount\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:59\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"db72c088d43a06a0ac0aac6bc38cd370fd7b50c015f3132bf3880e4c028784da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:210-230 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:277-297 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:210\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"26daf90f1b86fb6da48dc5238db69701a1baef5f8a5baa6fbc5acd42f7e0ffd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:302-308 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:160-166 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt:302\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":"app/src/main/java/com/aurora/music/ui/screens/settings/NavigationMenuScreen.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"726315f352d5f2ebc57dd6d35b9d6cbca94687873460b02118070e218c1d2bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:129-142 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:128-141 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a82390fab7648d8f988372fe3896b4569d4780d52f77e7895c42bd3b987d10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:242-249 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:241-248 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d7d9ceb82213b4b1a324939156f9eab4d4aacf9a3ec9cf31c3eac05212235c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:398-407 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:352-361 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b500219368acdaf9247baf742b4da01125c2ed72950b520b16068f360c4c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:161-179 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:162-180 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a232b4881fe949570992baf0a67623fde89749955e7ae6c7592a1db6a2250d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:209-224 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:208-223 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:209\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d4c247e972480600099686dfbda07ee40851436cc433f2281c46aa30fde6de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:529-572 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:523-566 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:529\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"efddfbe8b81c1805226ce32461b865e12ad7951387d162c1431c20ad98157521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:611-622 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:598-609 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:611\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b37b7b612c677a6ef9e6d8512735966cc09ba9579e891efe0aa45eca53f287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:199-206 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:199-206 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"822a0b1e5da6cb57cf27f439cf442604d9f96dd164f1106f1b02eac3c60b2362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:219-246 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:219-246 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 180 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt:219\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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ec50166e2c343c5cb1f7c39ebc379d1e9841c0eaf9f0310481597cc702956f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:47-62 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:121-136 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:47\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb75797e43b842069ec8472bd0272265c2861ff483968149e59ae02f7a9612d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:385-390 | app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:409-414 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:385\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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c2dd6537617e9a98e0d173e419736252b4276577d3fdb78060eb8c7835edfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:81-90 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:70-79 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9181eec1e632959fe64dc0f17ecfc682decc45996d6f38d7f91ada3d40a725cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:91-98 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:81-88 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"501d5119e394676e1dc39a83c5fc96c7f7665f684e6b27978ac0607ca0cb77c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:88-113 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:81-106 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:88\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8002b44330cf215d33f6bc6daf0b572cfd95fad10f06ccbdbb3426bc98f71a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:120-126 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt:113-119 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39b03048886f2c521e5170d7187d72e01f22c6c83afc8d9758c1b95bcc85c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:512-521 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:509-518 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85b46e3822c68394fd3405cc10ad26d800c6731f58e3a8626fca6906bf132d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:111-118 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt:108-115 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningTargetLibraryDialog.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0abca408a6da1b0e77d57cfe27c859bec0cf5476ee72af538d1219d1c8bfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:195-208 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:195-208 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8717fe267273a8c942c656416e082556ee7af441b9f4361d73a991a242dbdc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:93-98 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:92-97 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt:93\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"10704328b1305b0d7e8c0ffbb00e20d37f107f9132ffe3e86f41a80c0b0ed6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:125-131 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:143-149 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:125\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d983d436a07b53ba5e3417616f311911171380636e24b2d9fc83d5f5b7653e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:87-92 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:85-90 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b2ec06ff87c7a4f298afafad956e958f537b2048e1aeec294f785f75ce9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:107-113 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:111-117 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d15edbeddaee7334a056e16439ad102935213eed554ab778bf4ae731ff2616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:161-166 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:165-170 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a566be73c34b78cf5360ea16c1375286c1deba2f0d63f0442f376990651f52fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt:33-46 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInsights.kt:54-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt:33\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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd22738365e667ebc850cbf6ea2cece244a0379d55044264e6f7f0e8415fb328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:278-284 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:278-284 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:278\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d18f2f10cc30727063239c07b8d327a61c9b6b208ec4e31ff90a1e0744c37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:356-366 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:356-366 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa464333d34a6bb6f8cbd0ae8dd13178a3928d6f0d90bcb5d62d4028c10b7a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:822-827 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:819-824 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d95ad2c41abd9ae9eb216434997103b0972d15e9da8052663e512bb211989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:141-147 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:156-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:141\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:163\u0060 calls \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:148\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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d259e99c6fed2d0d04c71be2b6c98773f59fd43673c45cc22ab40a724ee6f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:152-161 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt:149-158 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 113 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 \u0060app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d8422a2c412c4219119d1810c62013f269ebceaf1c87e3ae696405e8166daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Type.kt:64-71 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt:29-36 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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 \u0060app/src/main/java/com/aurora/music/ui/theme/Type.kt:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6341af9843c7b4bda263721193088c6938cca4f09a1fe3f4471bdfcc752503bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:234-240 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:228-234 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 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":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce713e872bedc2541708b64fe0df907e50b99711151bc7302d1ec64e25354f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt:76-84 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AiPlaylistViewModel.kt:74-82 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/AiPlaylistViewModel.kt\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d051463aa8cfae7fce29c42ff01cf02fbe104aa2f734242168071bf73e855b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:238-244 | desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.kt:195-201 \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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a5dee319799edb0c8175966cbd6e9766dd5e4fc14426f64e4aec5db73b430c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:342-347 | desktop/src/main/kotlin/com/aurora/music/desktop/auth/AccountAuthenticator.kt:65-70 \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 \u0060app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt:342\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060ServerType? = null): String = when (e\u0060 in one and \u0060ServerType? = null): String = when (error\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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1f6ea6552f4f0080601118df64eb8a6924c16280990adc3ccce1efd29db110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt:163-170 | desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt:130-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/ComparisonViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/viewmodel/ComparisonViewModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1334cf981c743887524b65b9bc3ce0bad7184ed13c2bce07ed4fd6e0d8db8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:93-103 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:86-96 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a2d6c412ed4534f3f024c3077f7b813ee4172ca6acf0ccd361894fa4253daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:207-217 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:200-210 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c191a3bba7a3075016fa50877b8cb29bbdcaf83e2313ecb17a2371a8aa82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:243-252 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:236-245 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:243\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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2123b11e0788a8311e94b78c3b2be5649255055ebc1a33b3ed1f47953a54cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:44-49 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:42-47 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d3f5b098d365815d03429e4ab30fcfe06cf29162bce5214e7a5bc2c82ba62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:64-69 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:62-67 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0f7bfbfd160620c38fe2f46d43b6362389f98c7f0a99c19b18044d9fbeabc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:82-87 | desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:76-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt:88\u0060 calls \u0060i\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/TagEditViewModel.kt:82\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/TagEditViewModel.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5955f772589d98ebf2306bcc29d78ac88bbeec372c6e38451df67a7434626b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:101-107 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:121-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dadaed642f53c4729f5ac67c0c04f73c08b6f90d87db37e128f8af4639722e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/playback/engine/AdvancedRackKernels.kt:50-54 | core/src/main/kotlin/com/aurora/music/playback/engine/StudioRackKernels.kt:40-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/playback/engine/AdvancedRackKernels.kt:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/AdvancedRackKernels.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"67af6fa6bbabc0cc7621dfb0eecca69baccda75709f59e12826069f87414eeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:595-599 | desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:608-612 \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 \u0060desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt:595\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d487f8bf547b32f0fbff25ceb5f1655b04487371c7e58cd93d2dfc3e3b262fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1380-1384 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1549-1553 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:1380\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":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d00c4109e8c9a584be1c2634a322071a2bb6e16aa0f1039961085343d02075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:610-614 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt:144-148 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:610\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33684f9aea4adce4268c43d238fa7705497e8d85b7118a309b5e9e88151c892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:111-123 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:141-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:111\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"911ef2b72fcb1c7bbb0f72e2a70577cae2a7fcb908d4357979e64b67e1ac8944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:131-132 | app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:313-314 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:80-84 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:178-182 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1f9e7d1d2d3a41346fd1ebb06ba456b6d61c1c17529054636110cfe531d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt:210-217 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt:235-242 \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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerSheets.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0659c6c2ea6fbe551509d197d34bade8550a8030630c1f798c54f25e2d7b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:274-279 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:300-305 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:274\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec890987c2b050633aba5c6f743ff1836ba6cf7758d742385596dc220c52d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1381-1394 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:913-926 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1381\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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eae39fb962f33e64170555e1bfdb9c9648a589274af55699009f741ec8cdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/PaperControls.kt:35-62 | desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperControls.kt:35-62 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/PaperControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperControls.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/PaperControls.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96b07ccd362df9af123e33ff6a8b67a8d9d9bc80c6ec9c5f632a7447f2f1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/data/AppContainer.kt:251-256 | desktop/src/main/kotlin/com/aurora/music/desktop/DesktopContainer.kt:151-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b5f934ce4c1001180d5065dcca38f88976ae5f7a2633929ec029b1dfd25972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:107-117 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:116-126 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b7d6badb5b990a18726f9c523742f87d3af16c54051211a2ac89fd1b1317c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/data/PlacesStore.kt:35-41 | desktop/src/main/kotlin/com/aurora/music/desktop/platform/PlacesStore.kt:88-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/desktop/platform/PlacesStore.kt:86\u0060 calls \u0060get\u0060 and \u0060app/src/main/java/com/aurora/music/data/PlacesStore.kt:33\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/PlacesStore.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"958cded78cf70cabd9bd9f1cef9e6d4b7fbc326a84527923efbef2b68f18b14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt:357-367 | desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.kt:332-342 \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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1018c828aefed625b83bcf5540bf292a7dcbf23be1e087a081348192f8813a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt:64-70 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt:84-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt:81\u0060 calls \u0060get\u0060 and \u0060app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt:61\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":"app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df602c93355347fa4f84a396909800c66e497c7ac9ef8e8c6cfcded8f5058cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:48-52 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:49-53 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ffefc44e572f5c915a02b041e561f17961fe13d443f14503cb68b8bd9f959f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:59-67 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:60-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d1b1ab2400fc6b8f4ddd066ce7da4ad8050774e80b74ad8b55ac91bf1dd8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt:174-181 | desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt:183-190 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6ec8074dc42e5d6097aa4e9279fa2cc214f74adecb64a61ccb18b90caa98fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/navigation/NavMenu.kt:59-63 | desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt:45-49 \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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e098477627b7c936f5c390415b8e70f8cc96b41d86a0f29c218c066e5d1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/compare/ComparisonPlayback.kt:129-135 | desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.kt:210-216 \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":"app/src/main/java/com/aurora/music/playback/compare/ComparisonPlayback.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2415490114a5e262cf1d71c7642ec587deaa36cad89bfe2d35bcc025c404d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/Common.kt:179-185 | desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt:286-292 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/Common.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/Common.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Common.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61deb682ad1ddb31e54648973de36f39dc0870e736e9973cb823e828950478c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/SourceViewIcon.kt:12-18 | desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.kt:183-189 \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":"app/src/main/java/com/aurora/music/ui/components/SourceViewIcon.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a3ea2c4637b2c643247dba9129c956fe8618c2a9c144111e9daaf97de17c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:235-240 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt:237-242 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 143 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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7438613fe306503302aacfe9fbfa6f162dc5661a5c80daf1bfa722dc17da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:346-353 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:367-374 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce4bf8034cfb6b2420b7124e3c4b6c7314443ec1f3f8467713b7884e0adef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt:175-183 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt:155-163 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/TagEditScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 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":"app/src/main/java/com/aurora/music/ui/screens/detail/TagEditScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"825bab7c49babb3e02536dd466ab1c077ed49414a6f8f7393a6e7cc11442f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:213-217 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:170-174 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e3e79713976cd25060e4b6b87324e5239472cb6de0c51b1deb52f8d8e70a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:220-226 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:177-183 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d581ed8f4a9ea926c15011f3e7b442e793dd09c272c0fbe45c7edb8c15837c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:624-629 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:395-400 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaa4dbcaf5cc96779f13c58d5af5aceeea8e71570e8caf1104262e00a0f9104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:80-84 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:82-86 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2ee337f1c389e653003bc181efa98579f03641180fe89f6d9b912b0583d245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:176-183 | app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:203-210 | desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt:177-184 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:204-211 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8fae50283d1f9316df6918fca830693798ad27004a2214f242a7f918655266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/profile/ProfileScreen.kt:162-167 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileScreen.kt:250-255 \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":"app/src/main/java/com/aurora/music/ui/screens/profile/ProfileScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb47b79af1cf85ecac5f3a1a0abb072fa29e4e4ec68bdba961f2cee3dcde6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:524-528 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:551-555 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62de0dc695abc30e845a9aa9ab96b0df0f58afa40da5b808a7e3ade8c1828d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:98-103 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:191-196 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af99db234c34187fb04adfe5cf52ed250688e8a9ffc62ff5f44a00bb60f50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:251-255 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:250-254 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad7a6b68e849fe47d16987f69eaa244c8311af666ab331cbd621b47978f8120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:379-383 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:333-337 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40f424f78d980b01a1ba8c88879ef0d4001eb954dd40e789af596e712c63d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:70-74 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:88-92 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9c55712c3358326f7d95d16487fbcbcea9fc3639c3ee3def8d68ad5894cbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:275-281 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:345-351 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f3c4782dadfa9a096c19027283de43b0014ec3abdc033b7624c25198f45b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:69-74 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:66-71 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 125 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"313b7553fc82c41dbc73d772315ff12fd9b49bd59c78896c44e7208bc6165527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:75-80 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt:72-77 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 125 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d901c28fdf6b79370f5ffb567262c22b6b07b1242cb9401a80aadb9cae6c496b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:327-331 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:327-331 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8befdc7161ba3eb679fc63c45f6e4971e145bd6dcfcb63765b8027828c0ba77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:333-338 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:333-338 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bca61e8ed92412d30e5fc6bdf23632258b6490ccea0f91110d3f44f2e8a5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:340-348 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:340-348 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e419e2fde9fba1f347b640cff8bc5ab0bb8e4e8e500cdb4871977301e6b8928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:170-174 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:208-212 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"454587b36512cd37829380aa791a376e4de12e93735498a06c430345ae522502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:720-725 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:720-725 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"424380ef99ce1fedc64dce3826c0f2e482ddb0c85f7bbeb478ecb2b53a0edd0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt:53-60 | desktop/src/main/kotlin/com/aurora/music/ui/theme/ContextAccent.kt:20-27 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/ContextAccent.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ContextAccent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7450f8f8f7bf9dd8f07833fede15d35d57e6372f188db4a88cc01acbe251a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt:105-112 | desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt:105-112 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/PaperButtons.kt\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt:105\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":"app/src/main/java/com/aurora/music/ui/theme/PaperButtons.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f275923d363aeea70de0b6220fa0836401f7dfc61acdae286b532adbde14d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/theme/Theme.kt:92-99 | desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt:130-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/theme/Theme.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/theme/Theme.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"app/src/main/java/com/aurora/music/ui/theme/Theme.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"609caf9afdbf106d8e8f3732a7fa7cdffb9f66b906c34875095d7aea8d28aed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/util/DominantColor.kt:68-75 | desktop/src/main/kotlin/com/aurora/music/util/DominantColor.kt:193-200 \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":"app/src/main/java/com/aurora/music/util/DominantColor.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bd75af0869147801d92685182641326011acf585c8c483b80b8f38dae9514c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/DuplicatesViewModel.kt:29-35 | desktop/src/main/kotlin/com/aurora/music/viewmodel/DuplicatesViewModel.kt:26-32 \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":"app/src/main/java/com/aurora/music/viewmodel/DuplicatesViewModel.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4366a280894602a3517e0f6b4707b2cdbf7c05d3b6c7a561882ea1a565aeba98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt:97-102 | desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt:105-110 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc6eb51633885fba073aaebcbaf5c249f9afe320e4c56b115d3fa9414081d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt:80-85 | desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt:78-83 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/PodcastViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PodcastViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"746424fd82eb0669d25c7181b15caca96576e7a1c0a1db776df9828f1fd23c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt:77-82 | desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt:75-80 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/RadioViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/RadioViewModel.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c68c5a4aa4bae010ab6d2f10033d6f7d41d1bde35840203fd7bb52d6a4bb5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/BackupManager.kt:162-168 | core/src/main/kotlin/com/aurora/music/data/settings/ProcessingEditor.kt:139-145 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060block\u0060 to \u0060(\u0060 in one and \u0060suspend (\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupManager.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd20d31da3ceeb0d2aa7c78a0e649852865c6adc0825b91393882b8e2045a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt:118-122 | core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt:679-683 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf06d6569a2abec673f29c07dbae8b779d5f6f7dcc4b1b58cd49cc782f9d4b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt:139-146 | core/src/main/kotlin/com/aurora/music/playback/engine/CrowdNoise.kt:239-246 | core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt:399-406 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertRenderer.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"709da9fd2ccb887d32eb3ff9162beb35e1e695de3f1a37578371a17779027524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/ai/DjVoice.kt:117-123 | core/src/main/kotlin/com/aurora/music/ai/LocalLlm.kt:77-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjVoice.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87fd9328f26ff9cb35ef029e16612e3a48b09b2d038a1ac313626dbbdd91947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt:277-283 | core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt:329-335 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt:277\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b246014d618e4d7927ace63b94785a3103452d0c2785e0afeae43d70baea599b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt:212-217 | core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:161-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"21558cc46231bd55a651a6982f24988f4b619dd51edd3273de5e07eacd897483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:139-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:134-140 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:684-690 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/NowPlayingPanes.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt:139\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":"app/src/main/java/com/aurora/music/ui/screens/player/NowPlayingPanes.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3185e002c09d0be1bd4b4ac4395e5f2b0e18ddcdde518d27d0f0315d78593ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt:47-52 | core/src/main/kotlin/com/aurora/music/data/rules/PresetRuleCodec.kt:75-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ccc9828670dbfdedbe692aa5bf7f9df58734fa15f6bb36fd2391dfa33d945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:153-158 | core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt:261-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d52e7440c63b5b86f3968026f952136baea7eeaeb5c197e78951ee9226dca53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:424-429 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:475-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:424\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06a8f48acc728eb6a6037b29ac63f48c6206c3936099fcc37f8886819da4ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/data/DiscordRpc.kt:139-143 | desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt:194-198 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060app/src/main/java/com/aurora/music/data/DiscordRpc.kt:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77870b42f16287a59b4cc129bd2fc692f5c1e79765149abfee17e7a491b9beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:146-150 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:120-124 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"592d45107e88d078bf7e9ab1fe61d0994f2207e400406138eba16b9f4489eb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicEngine.kt:170-174 | desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt:144-148 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 104 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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a39019d09d1c58a5b605d7fee1fe2ede57ef6ddbfb4287420aa04248b75001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/data/SonicStore.kt:70-74 | desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt:54-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/data/SonicStore.kt:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6209ec31c13b5799544bc10835a788fb8d10a4cdec42ab834b67c00cbc7d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/data/VisualizerLabels.kt:14-19 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerLabels.kt:15-20 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/VisualizerLabels.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerLabels.kt\u0060 as WHOLE FILES: 87% 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 \u0060app/src/main/java/com/aurora/music/data/VisualizerLabels.kt:14\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":"app/src/main/java/com/aurora/music/data/VisualizerLabels.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"211613d3644387410d085f556ef9300d2abb94bef9b98a1d4ada7ce1fbf61286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt:146-151 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YouTubeDownloader.kt:141-146 \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":"app/src/main/java/com/aurora/music/data/YouTubeDownloader.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d4a72d963dbfd9d1e1a3df51a1a9271c399e5579d8a29dfb81de29d818838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt:61-69 | desktop/src/main/kotlin/com/aurora/music/data/remote/AcoustIdClient.kt:61-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/data/remote/AcoustIdClient.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/data/remote/AcoustIdClient.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"90aed2241b9ed9961b8e5af2fa3c1a3b9f40e4f4138696b7ce805da527a12997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt:100-115 | desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt:119-134 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f39750f735de5a259f7148514b8b45f49a95c4665ffc4241fc2ab14939f0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/mix/StemSeparator.kt:198-203 | desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt:203-208 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/mix/StemSeparator.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"762e5cb533ef6909e0d173cc30652f1628ac02fc94b171b827d746b08fbeecde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/navigation/NavMenu.kt:66-71 | desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt:52-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/navigation/NavMenu.kt:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a5535ad66cbf86931be36d5865e60ca29d38cfafa5723358efe30128cc324d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt:141-146 | app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt:248-253 \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 \u0060app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt:141\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":"app/src/main/java/com/aurora/music/playback/PlaybackAudioOutput.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06eebb8841cce5bccc3cb7b5554580b13637a61a2a2610a17cf60ef15379666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:94-101 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:101-108 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"decbd2a68c525bf0449c80bdba91efac5b4ce9a5be837a7bb097e6d56f7a4cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:172-184 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:177-189 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:172\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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9125266d1b5de8a6011a7e1a48b0facc1e85a96fd0da55bd21057141bb545bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:162-170 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:167-175 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3eac96f2e0f811cc300a71750c5834f6959b24eed7fef712d491648ee7a75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:156-160 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:161-165 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8c2fddf7e677d8d9a2176c656e9dc9025b637cf14d6cd22410ec6eace73db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:194-198 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:199-203 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceab51f6259a4103032e926ac85212070fa977c73694c3dcb8c31cc5694c1b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:216-221 | desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt:77-82 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d7fc050c6f8ad963333dd1a7b3dd88a4232d99f541469949bcbd6ce291f352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt:88-92 | desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnectHost.kt:41-45 \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":"app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca58d44851de105ace2774242d8b5c10ffd0939e53595da98f42c3d5db29111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:192-196 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:350-354 \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 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt:192\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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c074ccfaadadd70e8757a6348496157dfaf7dbba5e258381e01c98cd6cfadcfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:698-702 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:722-726 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"182c1db2a8edbdf6ae98298bb8c88e0fc4f63860f13d146b234687dfb7649e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:726-730 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:743-747 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"81455f203b1dd27f9f155b849b72c0e12bd3d1357e8aacea867ca8ecc1f14e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/AuroraApp.kt:1022-1026 | desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt:970-974 \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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd5d1b328e29bb6b3fdbd8e15c9f637bf45c2b532b035ac1edc65bd0398f855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/ListItems.kt:380-384 | desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt:502-506 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 50 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 \u0060app/src/main/java/com/aurora/music/ui/components/ListItems.kt:380\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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e869b49e14481ed08eb4f5d52762e644f9c03f61b314740bc4d0d6a6aae313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:106-110 | desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt:103-107 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/MatchPicker.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt:106\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":"app/src/main/java/com/aurora/music/ui/components/MatchPicker.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e313ed7bc127d28307798933ca2814134b65553a884866b74a455ce1dbcf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:212-220 | desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt:383-391 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt:212\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":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5f9b051e7f48bed89e95cd4dd09eb7f08b2a93af84bc587a246dd2d25f231b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt:47-56 | desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.kt:47-56 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c532153c425d1fb491d0125d62840c73f4273fa5dba6c9360a4849cb4740a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:182-186 | desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:254-258 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:182\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TabletNavigation.kt:259\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt:187\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TabletNavigation.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f061a7f3ba16b01fd5e0a6eb7b1ad9866aaea760982c448c06a6c58eb666df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:112-116 | desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:111-115 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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 \u0060app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt:112\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":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a9760c036fcc5f9b6eefb43fcd0900c88a3b466ba58af294baea35283065f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:142-152 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:144-154 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4719b2ba48c12447f4de5978675b11fd82a3c50716570bc6ca63c7a5aa899e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:267-272 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:269-274 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66c1a31386214354ce0832385c3c50f319f2d31e7255e6b3b1de11b36eb311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:176-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt:178-182 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 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 \u0060app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ad4eaffcafedf8e8bfc11b6907097a7e75bcd73c4bff82a1abd86e997b7faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/AppleMusicStep.kt:21-25 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:438-442 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/AppleMusicStep.kt:21\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":"app/src/main/java/com/aurora/music/ui/screens/auth/AppleMusicStep.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e0e9abf40f7be8af7f40263167db75e1d1fe3315485d5064215d6eec107253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:140-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:136-141 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5246f64e125b8b704cc245ab36e0e8966caa3ae1b1fd76253555298c7a0ff78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:477-481 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:495-499 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:477\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6615c8417bd9c66d1a07c084dff1e5eee6c8ed96c53fcdcb339fac0920f7cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:196-203 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt:219-226 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 149 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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt:196\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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1493aaa11067740c66f3fbf93d2f0185fa9dafc0366d469ec332fd619ac28e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/auth/SoundCloudStep.kt:24-28 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:372-376 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/auth/SoundCloudStep.kt:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SoundCloudStep.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f5ac68d0cf2e04eb2529f28cb1e2453c52144bddc381dc5aa5a6dbdd6408fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:234-238 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:279-283 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:234\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fdfa3e2e119a024b980ea1a5d01f453038fc9528afd0418613d497bfe925d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:266-272 | desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt:310-316 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 124 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 \u0060app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt:266\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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71241f0467f1039f7941ba31d9eb60a9bbd0a6307c888bb5c36f823726af7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:277-287 | desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt:459-469 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt:277\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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3b99b6edcfad81407b44ed83adab1c5dc2b2f5ea233b9bc4d273c4436d8922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:56-61 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:70-75 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:56\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":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ec0b7975600341e6749ec7d285e98466717401ff20c33aca8df7a9e86cef7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:119-124 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt:130-135 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/DuplicatesScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/DuplicatesScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc4a3decdfeae1e6760fdcad89ca20c51a91d9d935a9205e00f516cbc78995d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt:200-205 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt:157-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"548a61dcea72b162cb4342ed67fc307990ad76ed23b3d226314e43d343be644b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:218-222 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:287-291 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae5fd9331d0d64e30b3c6d1eb25228a49ac4da3dcb0dea9ade97fd7c0f2796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:611-615 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:763-767 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:611\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8585b76c0e0bdfddc8258768cf229e96a3764f0b15eba62cda2461d91f290b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:742-746 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:842-846 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:742\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:847\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:747\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b512c280f0990b549083ee5be05228b70624184bc593e549f733b5397c39f14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:781-785 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:894-898 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:781\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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd1950f488479348da5a1ae10019285805acbea1bf7fc5db8c46bbea0c6eae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:905-909 | desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt:1081-1085 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt:905\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b4e4ac8edf89c3421b720f344f45887be616444fb18862a48d2189a70ad518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:185-209 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:186-210 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d35009cdf4fbff80f2eff4ff81c2feaccf84798b11458a2d1f62eec1f37b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:148-154 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:149-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"36078ae73d6482d2589913a26774cc554555b576e14f10b5a235453864e51d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:140-144 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:141-145 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f863e62b0873642f04a529ba12a1d0954dbc3d329c5432ab12d163c5f66b3c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt:162-180 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt:163-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 190 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85c5f7566524e39e849cc06877fe8cef906e81dd90a1a68b9ee7e4db2ded8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:79-86 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.kt:77-84 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"997030dc1753b894594c81fe01ff1393ab3ce2ed8d735f334177966d5bc435b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:246-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:106-116 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:246\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8808534ffd81bd94575fd5248376d93d5bbd6079217a13278f2a9b49f1ebc399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:239-243 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:99-103 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:239\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"421da1489f9501f27577352c42572c6c79af616e54b02932cbb8d5d5bb59c4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:359-363 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:219-223 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:359\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fce2a585d6f36c4fdcb456c2720ed5931d5b98643cefca1851a776e544cde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:400-411 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt:248-259 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 165 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt:400\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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecd541fc6ad374cdc35679faf7045f70c12bdae31e9ee2099f4b1f1528dd5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1075-1079 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:846-850 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"359b6deb6b6e5f8317f80b9c63d5150add956c5b13f78567fdad643f3ddd6128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt:1404-1410 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt:936-942 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0464f8da697fcf90a85c4052cee089824a450d21ab4388c2408f27c916b356bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:334-340 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:267-273 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt:274\u0060 calls \u0060IconButton\u0060, \u0060Icon\u0060, \u0060appString\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt:341\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":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0a04b603d524cd1f060e8738e38c03f15f1d06375623019d5e295abad00afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:89-97 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:103-111 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ReverbSettingsScreen.kt:102\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt:88\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/ReverbQuickControls.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3f514fc5d50cd8f990ee1388e7bc402475302cfd21f58d468c5795b9ad1afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:192-202 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt:183-193 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4962ccd8c1e2bccc7ee815d4b0f4fb2c3ff07e44031cb35fb7d5f3ea7b227a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:69-74 | desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:64-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt:69\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":"app/src/main/java/com/aurora/music/ui/screens/player/SpeedPitchSheet.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"085ffc05f38f785fff455b93c76910e67bdd2f30f1c25b0329bef076cde010e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:29-33 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:35-39 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:29\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":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"520c0ef0ad17ab45e08ad3a5bbd64d5b5dfbe6d55c49b1f5968c96397e2b8493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:40-44 | desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:48-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt:40\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":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a2da5b63014892b2b80291f744493807e4e74fa1917df7557f511c69982ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt:259-268 | desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt:260-269 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 229 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":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"63add0a63f0d83a1f2bbc82768cc72516bf68c88e983b6976738eaab612cfc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:207-213 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:233-239 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb49eb4311ffa916bd3b0d9633431d1ee7c5ee3e78e75eff7f03bbef2fc0c0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:216-220 | desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt:242-246 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 76 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 \u0060app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt:216\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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"74426b8ba7f71f5911a02ecf4833818d6b792cf7141ad69abbd527fbd1e6e9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:103-107 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:108-112 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae606ed37fe267c1da3666feb36e189eab5fed59a40fb38d67d9272654b8bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:151-155 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:167-171 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47dbe66e003c5fc2ae9fecec47612742dd37d2da66d51ae6bb75f6ee49f3c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt:65-72 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt:66-73 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf799f0ec4f1ca7993b9fa31ac4f860cfc6612c556124834c28fb7ffba6e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:107-112 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt:105-110 \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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f306f30879318b6f47b69a5754ac9aff2c8dcd50e2a968943645406a90377cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:376-387 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:403-414 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:376\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03e2a03417eea1ebce4764bc0a2a3a01aa5bed3795ed57377984b38f50bad07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:460-471 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:487-498 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"103624c5256da39f7cd1f3000c8770453a71c6f634e9549e1cfa0aca40e16686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt:514-520 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt:541-547 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 284 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb03f91d259b012322d025d6431d4eccf20d5ee2763b2988f00496a00c89444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:113-119 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:107-113 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b34b277e13036d5ec6a0d4af6128a39d7ef6412252ae5e9a06b631aed1b2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:307-311 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:295-299 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:307\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da3bcff93494f3c4ab3c557ee007e0ff930db08754616e165b3b2380ca49677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:408-415 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:372-379 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:408\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1dc4a3150544836996fcacb65724ac8e2b10d440638e59222db2d67d9d307c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:505-515 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:465-475 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:505\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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7fe5e012c9ea4e7e484375f2c227ba65a8654234b037521c2c0b6a8254cdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:686-690 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:406-410 \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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:686\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:411\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:691\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb653c9916f3540e25e1e145e7561657b3b37ab55eac38773438ff5e79669236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:787-791 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:611-615 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2fe1fa897f62c9bcfccd1d196a19197dc602ca5ade8bd9b94a3ba572f8b9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:793-797 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt:617-621 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 244 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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c8f352c7c5eec6312deb1c9fde7bc5c62306ce3c7ee0330c2e66184cafacbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:70-79 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:72-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb85dcce118653bcbdc7ac8500d2ff56849653b18ba9f497a6b835d1fd03628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:336-342 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:431-437 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:336\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e327ccce24f9650cea49b88459368a798e1b51f8856298f059122f0ed28ff3b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:356-360 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:451-455 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 169 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt:356\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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a21e4ad64b57fe90a6e1faca7e0f6fc84af8c3708eea241dc479beae7f6a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:171-185 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:170-184 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:171\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"031e2f356039f048c2e2df700a57db7fe81000bff767437a7580365250748c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:187-201 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:186-200 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 174 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff4b59086753d5f7146c0c2b63cb6f14395e812c4e6651cb97201c3ba5c0f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:142-148 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:141-147 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 120 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt:142\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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf076cb345e157916c7c2bae42b21432cbbb76619bead5ecd40e04c8c1dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:147-156 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:146-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d0292e5dfc84b53f8a5a00c964053435828e5309dbd7e3e9a8486fc5ce47dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:197-206 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:196-205 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8111d51a35f6ad645b73d2edbe537c838cb3311e7121357e2d20bf1a88bd632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:257-264 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt:256-263 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 227 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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983cea34551a3f5826d569ab2812d7d90f2f639200e7972ef569e10da7720b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:333-342 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:301-310 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:333\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e86570627e7bd65c1927853082cf043ccd6148a3e37cfe21a8d83ce21cc5cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:327-331 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:295-299 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:327\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7708b2b2db5f9de3c2347f8299d55d76dfb1f788b6dc230ab7574d692c091947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:362-367 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:316-321 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"71baa3591e95013e0fc6d8f9abc90c589075a418afc3628bd650445229345750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:369-374 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:323-328 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 217 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt:369\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77174bc475a8257f491b0022d9ea36e1c4b033b32e1090856794577dc8b3e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:326-331 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:322-327 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:326\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"74681c2d58f3d361c63a7ce13bb45db0333096176380581c3c74c42567eabbeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:337-344 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:332-339 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:337\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec217efa22566f1e44f5936ad4f9ac0614a92171794a22bb017ec61ce4d145f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:387-394 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:382-389 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:390\u0060 calls \u0060rememberLazyListState\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:395\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a71e61da80e228c8d340d22505c9e85c43a7e1728a5058ea42f0f31f84ff100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:623-640 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:610-627 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 459 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt:623\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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ce5555f5eae9f93487f9374b337c9e4233c79294d7ce80f40e41931c31a972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:162-173 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt:141-152 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d364f247732f7f450d28595f1c9ac215c8f0aba3e8206e67d5014f44233242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:262-268 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:331-337 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:262\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, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:338\u0060 calls \u0060pointerHoverIcon\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:269\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53ab594ecb5d41bf49a171ad354344c98bcf74809b08e82b73d58753a3a8353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:228-233 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:297-302 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96e3e97a3878c91addb5730265f4f146de27c01cb0833e50641cf4f2958165d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt:252-256 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt:321-325 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsComponents.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsComponents.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfad97500e13fadf673e936609e7bf57428d8de386989e30727108131dffb19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:127-137 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:127-137 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt:139\u0060 calls \u0060CompositionLocalProvider\u0060, \u0060provides\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt:139\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cddb71a9a66dd1c5c54f15ed7822103d676e318f4e56eb2bb23cac681600603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:118-122 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt:131-135 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsSearchUi.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c06ade198958b541002f9ad3b26624c61240f1ef0648af29d197faf189393f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:241-254 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt:243-256 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SignalPathScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SignalPathScreen.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7101de5c5cf0d69335ae469f6d3da6420bc5cdff8a882be284e077348b86af20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt:42-48 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt:44-50 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"043b5c6c4817e7f19b198d2c6823acae007d4a20c5f19d449dbbb94dcf426992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:258-266 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:247-255 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:258\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f4872c5359e5ee6cd80fd9a36174d879cdb78b2f37abe5d9c80ff80d85e8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:141-147 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:128-134 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:141\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bd25bce0b4c4e695c4f462f29cb47604454ed98fd3dbe4ac54ff873c65d0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:131-136 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:118-123 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:131\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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f2cfd1f2136d739b78bd662cf18d483e72c24749079c6a1c1b7046dadb772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:196-200 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:177-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e12e6203e05431abd853f1d270f32e81a34ab04a80a76ae2963455fb57e4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:570-574 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt:447-451 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageSettingsScreen.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"636c59c6b23f22cb82574bf7f48d27358a187442c5f75f2d5702df4e80f6fda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:28-50 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt:28-50 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a50521b175df28ddefce4f6dce8baff8571320dcab12ccee92aa05dcdd6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:271-277 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:268-274 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e572d445967f475a869fc1fda3d65c35219efc5c402a7e986deec24dc02f848f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:136-141 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:133-138 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3292bf0417719c8cc49238af8dc482be94f4afefb57c12d24143517419a41d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:473-478 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:470-475 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:473\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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f2ae082aa0566abcdc4199e6b209845c243ca19c40a2d6dfe74b1e3bc53a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:455-459 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt:452-456 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 371 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71adf2b4af0f2e11f0459fca2a96ad5e29329860958a735942cdb9c5a33063a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:185-191 | desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:183-189 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 126 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 \u0060app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt:185\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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c495ce27fb6cf64015f49008ae43344a9c4f05e5d0fe8f8490dfb33cbecde92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:212-225 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:212-225 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b84de66beae903a68417fecd9e4e8c64d2eb3d019c517c3c864d3a4442304a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:351-362 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:351-362 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a271387315e07621a6b3a19dc8dfb59c3bca1d1db0bd3519b2c05d2abe07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:308-317 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:308-317 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3e3723712c2512003f56c8030e4df43148bb81cd0759210153ff88944a6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt:300-304 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt:300-304 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dda56558682f29dcb6cca0a6aaf231f32bb9843ecb0a9b36d2505b627a058e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:100-106 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:75-81 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt:100\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningMapScreen.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b9250e2b22043e213cc19ceadb126684da0ca15ae77d3c06592c5fd0d00098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:228-234 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:269-275 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt:228\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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"23300f9d61ecafa718acebffd5a264f8799041f942f28aabef0ea6279c5f88e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:62-68 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:62-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:62\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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7919b384d2054b9e3b54083984f93b515ab48765d4c87ca6ac1850ad1952ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:117-121 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:121-125 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 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 \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:117\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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"203493e18b760f8d2398816da8ea0923b67facc966320cbe2b7fbd622598d128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt:141-145 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt:145-149 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7502d3e936371292bbebeca8d1b3e4668b4b12119598de32053e3aad2a3d2078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt:50-61 | desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapSummary.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapSummary.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d783c3b7ce09323284ac8c19fccc2598422cd79a59d18025d1eacf17438969f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:695-702 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:695-702 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:695\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"033f76f19d0e91a4663aaee0ba8cdb3c8a5c42bd08b3bcf2f38b79d60927107c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:639-645 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:639-645 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"5652568902372d6c99431edbce8dfb399a75d052d65ed109b09fa2c9f77900d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:295-300 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:295-300 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:295\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5a1490bd0afdff4ed22d2452b26fd5455f3d38529dccff84d223d77e9d749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:766-770 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:766-770 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 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 \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:766\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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"06387da8ad10655a9826332386fe878943a273a962b3792ee1fa50cca62bf8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:830-835 | desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt:827-832 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 771 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ac5ffcf7d78cd9579bbcd78b6d31a989f8688e7291a2970932a5ce7a2721b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:70-74 | desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:74-78 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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: \u0060YoutubeResolver\u0060 names \u0060com.aurora.music.desktop.youtube.YoutubeResolver\u0060 in one and \u0060com.aurora.music.playback.YoutubeResolver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:80\u0060 calls \u0060reveal\u0060, \u0060launch\u0060, \u0060getDesktop\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt:76\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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1bdfd7ef2c8987be8a9dd9fcc2e8f1dc5b7874fff57bcc693960a72c3220c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:573-582 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:565-574 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 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 \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:573\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":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"db91a074ede3dceea4fc63bce62fadb4bfe359e738ef3b39779975155f950780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:514-520 | desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt:506-512 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/whatsnew/WhatsNewTour.kt\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 421 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/whatsnew/WhatsNewTour.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94bb43e6d37510ad15f93ef67cda634d1fa6c2ba9297222fbdb53e222f61cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt:57-62 | desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt:53-58 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt:57\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":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"223d4960c33848a1e66962a18201312429854ad5ab2ea2b72964cb1d00942ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt:204-209 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt:175-180 \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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4934737fd683b90d5cfa5189673ddbc5226062b528143a098730806524906d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:53-58 | desktop/src/main/kotlin/com/aurora/music/viewmodel/LocalProfileViewModel.kt:53-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LocalProfileViewModel.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b742e111a61d1a831a8223dc84d52f109c90c2023adbcdccc0e73ba726673c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:142-150 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:135-143 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bbfdc198626e498ad20728a6a1d9707d109b8b2320f29478ca493439aab44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt:236-240 | desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt:229-233 \u2014 before extracting anything, compare \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 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 \u0060app/src/main/java/com/aurora/music/viewmodel/MixViewModel.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"117da3b1dde86534883dd189693eb50918c0f7e4d44f76dd1a08ed253ea280ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt:23-28 | core/src/main/kotlin/com/aurora/music/data/merged/MergeMatcher.kt:119-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e212c84d6c8bfe4d483637a09fcd3d1073dc0741adb994b70d26e2bad09296fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/data/SettingsStore.kt:77-82 | core/src/main/kotlin/com/aurora/music/data/SettingsStore.kt:93-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SettingsStore.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68b5bcd1d6fd2710da3807f7b142580716db4b30c353410417766ffe17abfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt:192-196 | core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt:210-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/DspCoeffBuilder.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc25ef84b48adb954b0ca0254af9516b3b28cbf5a5cf786a5495d1def60a20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:405-409 | desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:460-464 \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 \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt:405\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":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/WebSignIn.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"495a555b107be330edf58314884b41750085a5d5ca0ca66845a69e1145a6a92f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :core: :core: abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c169ab358d9ef7b8aa3cb879c1f7e85b6a8f6804912a9a734828ed1d7a04167"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlayHistoryStore (LCOM4 5): PlayHistoryStore\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlayHistoryStore.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0c92d09ebbf8aa9df752926f64ca3716104a96b0d0b8f2bf5d9630e6397551"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProcessingEditor (LCOM4 4): ProcessingEditor\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":"core/src/main/kotlin/com/aurora/music/data/settings/ProcessingEditor.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"81df4cc976c79d3d507d7bab2538e4690fd3dfce10dc0f85255d905b3f6fac99"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.jellyfin.media3:media3-ffmpeg-decoder: \u0060org.jellyfin.media3:media3-ffmpeg-decoder\u0060 1.5.0\u002B1 is published on Maven Central under \u0060GPL-3.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b20205083af06cf446d4e0b217040f3c8c64996d59434ebe45a3875339d3df64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/AuroraApp.kt: app/src/main/java/com/aurora/music/ui/AuroraApp.kt changed 82 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 211 in AuroraAppKt.AuroraApp at line 154. 16 of those changes were fix/bug commits, and the other 66 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/AuroraApp.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b04bc215d4f09b056f48e9d0c3c66b83dc6ff605e645848cca5c5015a7fb92b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt: desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 209 in AuroraAppKt.Shell at line 264. 5 of those changes were fix/bug commits, and the other 43 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12f275005b8b63734de73786ebc528513d414a9c82e6513455847735dcdeb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt: app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in PlayerScreenKt.PlayerScreen at line 168. 11 of those changes were fix/bug commits, and the other 36 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb23577105da2e19398fe122079b55eb6967aedb872350047674a9ffcab1de6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in PlayerScreenKt.PlayerScreen at line 172. 3 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b6961f010d721d21036828aa80f009dfa63220557b57bbd77a0d271d9d2f20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/playback/PlaybackService.kt: app/src/main/java/com/aurora/music/playback/PlaybackService.kt changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in PlaybackService.serviceListener at line 184. 15 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/playback/PlaybackService.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackService.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0656bb1f3d48bc3bb9b7fb1483d095345bbdff8b3dcd72118427c628ed59622b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt: app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in DetailScreenKt.DetailScreen at line 88. 6 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bdd3f87a9d7bf7ac995c5995ce00247f837ae7d255516b85c43bec061376af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in DetailScreenKt.DetailScreen at line 124. 4 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c8e7c0d7970a160d146be800c1e1c9b43e7cbf1336044a22c982c7d993d6ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/ListItems.kt: app/src/main/java/com/aurora/music/ui/components/ListItems.kt changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in ListItemsKt.SongRow at line 79. 2 of those changes were fix/bug commits, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/ListItems.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a092f304549de6986d6934944aa7b23a29017ae0c6ed1b24ed799b701304caf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt: app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PlayerViewModel.syncFromController at line 669. 14 of those changes were fix/bug commits, and the other 33 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2890496a98eb8636ebe7499f30425db24cf17622ba5d1cbae5f97b73b435f1fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in SettingsScreenKt.SettingsScreen at line 74. 4 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe57f082ec3892a0a08e8f332f7149a8316ccdcf1216ca7bf4779258498381d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt: desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in MainKt.main at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/Main.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b32622a052b8d578e756ec22cc820f7830c721a32afdf5b88ac4e7ee23f37dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt: desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in ListItemsKt.SongRow at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d803983f38d2ba9a8b2e873970ebff2528335da35b405b56415a2ae42d8abc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in SignInScreenKt.SignInScreen at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"619a78aab96f19203c0fabd62575089a0b3967e836baf4710f564501942b8333"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt: app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in HomeScreenKt.HomeScreen at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b01977a8eb42ebf3a9fe8a3bf274042083edd50ddd7dbb138415f2fabce63b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt: app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in LibraryScreenKt.LibraryScreen at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"462feeef1456dfe3d51d04fbb59496f4f2e0f2e6cd604f47c5effdd2732b4f46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in SettingsScreenKt.SettingsScreen at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eab3ddf365a4c82267d0535bd814c638af64e95df2dcbc4a9fe43b46af26c24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in LyricsScreenKt.ImmersiveLyrics at line 414. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ef8fabd9723aa012845524c994304b3c4a684c9fba36944fd525e556956e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt: desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in DesktopPlayer.sync at line 313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b8cdfcc124e88c1aa556d8f2e5e3c038b250463b7bfc13b39097d7a11e171"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/data/LocalLibrary.kt: app/src/main/java/com/aurora/music/data/LocalLibrary.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in LocalLibrary.scan at line 241. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/data/LocalLibrary.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74008e955655fff4a8cef5cfcb14c59c929c2818d09e04a338b29c1dcb2bd58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt: app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in SignInScreenKt.SignInScreen at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8665f995d802522566bed1bfa45c5a9f363b869bdb2a44daf24adeb0f43858"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt: core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in VoiceAligner.place at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricTiming.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"08620d858a92175728bc86e47107ab410ea20c169f60f522d7955dce6a8c4f3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LibraryScreenKt.LibraryScreen at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f874155c7555e213508f61b170d7382b8fd8976c18e864c45fa076a418e342b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt: desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in PlaybackDockKt.PlaybackDock at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c3ddad75472c5135c38b2af259faf7c888cb422c29879d01b1351627c730e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in SourcesSettingsScreenKt.SourcesSettingsScreen at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13e9e60b0cf108fbf510c78458686bae8e7e06be13242721f8e8fb1a3a3ec95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in ProcessingRackScreenKt.ProcessingRackScreen at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"358045efbe48547197616c6894ad9a4287393fdfd9619ac3956230a5e6ac26c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt: decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in UsbAudioDescriptors.parse at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDescriptors.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85de2ac59fece682c87233283c804ab1d1e0178112cf7c7f24dd421a365c1af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt: app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in QueueScreenKt.QueueContent at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"787df6fd25adf0c211a832d20b76c9e6beb3bd2e0acef7623a2a3a56c36043af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in EqualizerScreenKt.AutoEqPanel at line 341. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fa96dcf420a1f811a37af83036ea43604e730d758c7bce104264a2bb9a0ea9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt: core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in ProductionSerialRack.compile at line 179. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc11688a89983aa6c2d6a06909a40ad4c75ce7b1b43997c0215a91644c27539d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in ProcessingRackScreenKt.ProcessingRackScreen at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0b891d5e39b744351edf82d6e5c820c2e3c0c4710e497917341edabf4cdbc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt: app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in YoutubeResolver.findMusicVideo at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25a68f2a4009cd3df7d4d7258f1217a2b0486620c872abcd2dc10adc00bb9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt: core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ReverbKernel.process at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ReverbKernel.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed6d000f7cb3f29a24ef60b08d4fce43fe12cd4aa4ce1316bb8fa94130ab18b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt: desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DesktopPlaybackEngine.pump at line 879. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d901d9763b6ef5c73afaad7fc006e1a497606a9753d3de72a056972f28bd6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt: core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in YouTubeMusicBackend.detail at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/YouTubeMusicBackend.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d117611757af479b163445ae2f344acb5b1e49af2f63c02aaad076694d66baa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in LyricsScreenKt.ImmersiveLyrics at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f227f9881c5abab4a9c0269776697d6e3a1e432f17ddc8e1789bd92e9b4eed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ListeningStatsScreenKt.ListeningStatsScreen at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"28da0b23af37bc558a4ae108ca7fbeeaaffeee30f4296a552b6239e8712634dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HomeScreenKt.HomeScreen at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85c135ada02154968f11430d782e90f0f1c42614887b3a388c82c505e98d5ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt: core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ConcertAcoustics.room at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/ConcertAcoustics.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab585cafcf5bc0a869c068851b22433cf32e8f3a8c09f318bf1508803288d1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt: app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in MixScreenKt.MixScreen at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0f80f0c94b21f58a436abdf6a0415f1c072c0aff614d8952578818698a1c68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in QueueScreenKt.QueueContent at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/QueueScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7d79e43c4a4022432c1198b467078f904bdb43342588fd59652911a067ed05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AccountsScreenKt.AccountsScreen at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132e3ac3d3de72181c8bfcb9379c028b0ed42d84ac7367708fcfcc9a6fd3994"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AppearanceScreenKt.AppearanceScreen at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppearanceScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c15e55c1b6fb2858e21fd454f520de359de6eced7dc98876422931c3e4950"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt: core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LyricsRepository.lookup at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c85fe0907367843070e922449ea7693b4a4ce4d685394024c415a426050a0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt: core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in DjEngine.nextSet at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"599cffd046d79a470ac1649395d302589a3078a3e832f929dbe1b08f79ce5252"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ConvolutionLibraryScreenKt.ConvolutionLibraryScreen at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"689b631f757a7fca295c5a79e0b80b52ea54bb68a6e819a565afe59ca545cbdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt: app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in SearchScreenKt.SearchScreen at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f17ae0f20157b4c1d725eba7b18cd72b2b0e8781c8016fa9d2261a0bbd4786b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EqualizerScreenKt.AutoEqPanel at line 329. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d270fa5758cd9f093ea4ebf34108866844a01bb2364ebf0baa5fb4068c9574"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in TuningProjectsScreenKt.TuningProjectsScreen at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf73fea6eca74b3188b61588af63155ca5232733193447af8552ed5539d1f16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in SearchScreenKt.Results at line 320. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"298d228e07e071c1bb46d88ad4606dac52a310f6ca61577a7787886649a41bd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt: desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LibraryViewModel.load at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf2a08c0d83bc5c6587f05216d904bbe7d7a66643188dc729c34f7bf61e4500"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt: app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MiniPlayerKt.MiniPlayer at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/MiniPlayer.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f0ee772943621496095b0ad9dc20fa518e2ccce7cb8cf3519fa01982694de0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VisualizerSettingsScreenKt.VisualizerSettingsScreen at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fdfec8e807b172c65cf56ca5c1f45eabf2fce2e2f3e3266366f8cf91038e93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt: app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PlaybackDockKt.PlaybackDock at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/PlaybackDock.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dc2a9172026a7099089ca0c02a80563ee41a9ae818594901b55c5a6dcdffee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt: desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ShortcutsKt.pcShortcut at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/ui/Shortcuts.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84fbab67a50a28d28972e783719997eeaa7c1536d5ad4da1c9cceed82802869"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt: app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TrackPlaylistsSheetKt.TrackPlaylistsSheet at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c825a5daadf209f5dbbcf152c4493a80c363dfb5109a447f67a77831db9e9298"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt: core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SoundCloudClient.attempt at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f928821f6769ce37089f64fd12363d2d29dfe113f2ab5539feb69ef245ae18c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProcessingPresetsScreenKt.ProcessingPresetsScreen at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd6c10e912803a828e9c80cc205a33d450000505a46f18ab6673974e545aa6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt: core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BackupArchive.decodeJson at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b6d6e146ac37dd3295c8d8bd0de565947cb338a3761acbeb1dc3a277dad075"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AccountsScreenKt.AccountRow at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dda7e72d7c35b844b82c66931e49255c5c8fff7cd6fa10f0f40af166fc96ede"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt: core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in YouTubeMusicParser.results at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1272beea9eae6a13536351599b7c60003762484f1053562934efb60deda072df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt: app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in VisualizerScreenKt.VisualizerScreen at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb95e1e68436c62e36e0cf97ece2ae3c5c4b4e7f28ecf5d383605bcaf8c2ee8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ListeningStatsScreenKt.ListeningStatsScreen at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e29d9bff2ad011a2eba08329cfa17de4a1301a7208f1e139ae1331a06f83c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt: app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in TrackSwipeActionsKt.TrackSwipeActions at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackSwipeActions.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddccdf22d577d1dbf392965df546b240b87014c4502ae5124246a3a66cc905d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/theme/Type.kt: app/src/main/java/com/aurora/music/ui/theme/Type.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TypeKt.auroraTypography at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/theme/Type.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f042e4d46c45d072315b151e2c68d1995629a0df3ead9215ade7a811eab48a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AudioOutputSettingsScreenKt.AudioOutputSettingsScreen at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioOutputSettingsScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"535ca1faf43c10534b57b20b6d1b83c73e2074d81fb869e9ebf74ecb8b028c59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/SignalPath.kt: core/src/main/kotlin/com/aurora/music/data/SignalPath.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in SignalPathKt.buildSignalPath at line 138. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/SignalPath.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SignalPath.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56736f6c4b7cca22653551c4dd8e006f60206050d0c17f02e889e4464423b72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt: core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AutoEqController.apply at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AutoEqController.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"37445a63459d47535eac89eecd3c009ba71b46d7a659135a75fdfffc457ecaa8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt: desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MediaControls.attach at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bf9ec10609545a7d3a8abd58fb5189277df8f462235549ddedeef0f13edac8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SourcesSettingsScreenKt.SourcesSettingsScreen at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce6faedcae1caf1aa4605d26c091fbd666f8ac56dc82f2fa887a12ab4a660dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt: desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in VideoPlayer.run at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoPlayer.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9794867aae024e6b0d2b26b29b671f927708084541344e47d5133d9ed25a37d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt: core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ArtworkRepository.open at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/ArtworkRepository.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0f921a0df84af5731aa50b9daffc5b3302bca51feb4e434e0e3e152636cfbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/ai/DjMode.kt: core/src/main/kotlin/com/aurora/music/ai/DjMode.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DjMode.onQueueChanged at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/ai/DjMode.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjMode.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e950db8db4c54a23ae5033a62df589146f72e76cf996028204a5fdff72e20e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in VisualizerScreenKt.VisualizerScreen at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a0993a69567633ae656ae0ec665808ce3ace8373960d822e37598234c1641"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt: core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in PcmLevelMeter.observe at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PcmLevelMeter.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad19f0139c23b2347e85a20cdd274091dfdc9cadb7f3687d691531d6e7c69bd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt: core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ProcessingPresetBundle.validateImpulseResponse at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6f10a07c04cc83e9a1844955fc1a789e74810e5bd870aeb3b6e977c1647f55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt: app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TuningFitSettingsDialogKt.TuningFitSettingsDialog at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fac62c38f93a6831ae889b22a04a24e848d119b22d2b89e4a408c7a894d063"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt: desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in EngineSignalPathKt.signalPath at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSignalPath.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e65fe4d0dd7d783d59e7a4cf505daa402a1357e019077f3dd7e1a6dc0c4fee9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VisualizerSettingsScreenKt.VisualizerSettingsScreen at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b501016ef8ee4b53c4eb6263b7d2916519621db03170158a162e7605a3fdc33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt: core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RackHeadroomAnalyzer.analyze at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/engine/RackHeadroom.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5959b0ed8c71ad4e8bdf5e849c4c2c450e924b0954655f78c51b4df2516b29f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt: decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in UsbAudioSink.configureUsbBitPerfect at line 740. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbAudioSink.kt"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64388608bf6f631966c37e776c6d583f84f29551b776677f3be0939cc490c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt: app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DragToDismissKt.DragToDismiss at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/DragToDismiss.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9368fa54305589660acfa3fef54d4034f7536c75d93a5140e6fd8f7887b0cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt: app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in RackAdvancedControlsKt.RackAdvancedControls at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackAdvancedControls.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d50ced808d9e9a7820613caceba62fcc493d180b9674bc2e34bcf66fb0ddf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProcessingPresetsScreenKt.ProcessingPresetsScreen at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e940d53e7629adba90d58903920b5db8b780fc12e67e450062a6d14aaca4400"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt: app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RackEqTextDialogsKt.RackEqImportDialog at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cba30e5900087a047028e6333dc16745a50b5cdbc008649145e4c06269cdecb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt: app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TuningMeasurementDialogsKt.TuningMeasurementImportDialog at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"546949d1fcf75e3d670c6f1739e8d227250918bbdb4d4eaf80fe58d50ced1cc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt: core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PrecisionBlockProcessor.takeOutput at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d331fdae543e942f2fe6e1359219865c12d653d3b5dc68b73d87eeca039fea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ConvolutionLibraryScreenKt.ImpulseDetails at line 245. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"077e2e891bdbd2f0302595ce61f2bfae88ac4b7e81dd6b5ea5ed66f7a609481e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in InsightsScreenKt.InsightsScreen at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b98cfdc0d110f86e5c3b587b853d12ac5d447dfa260baec3397b2a9f72dddb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/components/Waveform.kt: app/src/main/java/com/aurora/music/ui/components/Waveform.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WaveformKt.Waveform at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/components/Waveform.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"edef798ebd1bc1ae377e29bb6cbbc67657da3eff52cf07f9325642391a72c3b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt: core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DjPicker.pick at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjPicker.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97351db2a91c4f2e5627239bc2cd7f8634dbf375914c8ce855ea4f68942f9c22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt: desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TrackPlaylistsSheetKt.TrackPlaylistsSheet at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e80f63dbc22c904f03478ac5fa914ef7a748ff52c874a7b9d4a4be81a05b38e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt: app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ImpulsePreparationDialogKt.ImpulsePreparationDialog at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8b7845c5f843166c5334bd5c0370923226fd187416b14b48d579b46366a04f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt: app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AiDjControlsKt.setLine at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfc2a95cae89b1583161b73513a93430344874c8dc6e1b21ce0c707df536341"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PermissionsScreenKt.PermissionsScreen at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/PermissionsScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da9af7f80942489c3278993411196eb58ac920abafaf1400098ac564154336"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AiDjControlsKt.setLine at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiDjControls.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4487b0bc17bb62875af539a87e3566f101d878d1442e9ffaa60e3759708c98a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt: desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MixScreenKt.MixTimeline at line 287. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba22fc560f5b67b9c6c6c33153fe1907a4740a2dfe4c352c782beaaf335fdb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt: app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OutputPresetBindingsScreenKt.OutputPresetBindingsScreen at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3aecb6f8ff56daa502074d0499c80a6ce8e5269df96d84025cb3c11f26620a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt: app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ThemeStylesKt.styleColorScheme at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c1b76a185232c52865691f0a167b3a38fdd7005fcef5753f23a9a7f550817f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt: desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ThemeStylesKt.auroraPanel at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/theme/ThemeStyles.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cd2a7cfae184091f83501f2ca5020c98e53e6ce5fcc262a89be8be6c5bdf77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt: desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WaveformKt.Waveform at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"725ccb3f0d295075481dca45f91693211bc7c252b288c7fbf986e6816cb84e9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/data/AudioDecoder.kt: app/src/main/java/com/aurora/music/data/AudioDecoder.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AudioDecoder.decodeTrack at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/data/AudioDecoder.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AudioDecoder.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0749742433fdb55ca3b8abde5b01229d1f64eaf200cb03f119207ece665b1e14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt: app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RadioScreenKt.RadioScreen at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bc3104d7a06dcaf2d03030f39a272a02040841f89b7245b8bc9042c96ea691"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/aurora/music/data/SonicEngine.kt: app/src/main/java/com/aurora/music/data/SonicEngine.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SonicEngine.buildAutoDj at line 198. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- app/src/main/java/com/aurora/music/data/SonicEngine.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91a1ec269787ef3a3d57732ad5bca2952112409f5f9a4e7a3f3a54d1aa573c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSettingsBinder.kt: desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSettingsBinder.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is EngineSettingsBinderKt.bindSettings at line 21), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cdesktop/android: gapless/silent playback fixed, option to add your own stats (#41)\u201D; \u201Candroid/desktop: fixed the same issue when using aurora connect and fixed an issue where imported rooms didn\u0027t show\u201D; \u201Cbrought the desktop app up to date with the latest android features, added youtube music, spotify and soundcloud sign-in through an embedded browser, added youtube music discovery (explore, quick picks, start radio, related) and fixed glass theming, transparent dialogs and the fullscreen freeze\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSettingsBinder.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/EngineSettingsBinder.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17420e494a77a74d4129680e3288b20d53db6e7903c1eaf999fb1633c1fd195"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt: desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is NavMenu.parse at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CPort remaining Android features to desktop and fix bugs found in hands-on testing\u201D; \u201Cbrought the desktop app up to date with the latest android features, added youtube music, spotify and soundcloud sign-in through an embedded browser, added youtube music discovery (explore, quick picks, start radio, related) and fixed glass theming, transparent dialogs and the fullscreen freeze\u201D; \u201CFixed the engine and platform\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc8d51225bc93c7e82daf65b231a11a01eb79c63430cb62da46c7de973d806c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: desktop/src/main/kotlin/com/aurora/music/desktop/natives/WindowNative.kt: desktop/src/main/kotlin/com/aurora/music/desktop/natives/WindowNative.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is WindowNative.addAccentListener at line 32), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cbrought the desktop app up to date with the latest android features, added youtube music, spotify and soundcloud sign-in through an embedded browser, added youtube music discovery (explore, quick picks, start radio, related) and fixed glass theming, transparent dialogs and the fullscreen freeze\u201D; \u201Cdesktop fixes/tweaks\u201D; \u201CFixes to the desktop shell and strings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 20:12:17 \u002B05:00\u0027 --until=\u00272026-11-16 20:12:17 \u002B05:00\u0027 --full-history --no-merges -- desktop/src/main/kotlin/com/aurora/music/desktop/natives/WindowNative.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/natives/WindowNative.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd53b194a78313eb3961d95b5e073c964291f397ab62016755150b88fee9753"}},{"ruleId":"D16","level":"warning","message":{"text":"bus factor 1 \u2014 one contributor carries this repository: 3 contributor(s) have commits in this repository (automation and bot accounts excluded), but the commits of a single one of them cover most of its history \u2014 81% of the 423 commit(s) sampled \u2014 so the number of people who actually carry it is 1. This is not the ambient state of a solo project: there ARE other contributors, and if the one who carries the repository becomes unavailable, the knowledge behind most of its history goes with them. Spread the next changes deliberately \u2014 have a second contributor review or pair on them \u2014 and write down the parts only one person can currently change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a99f114ab4dfee37ae0bf0665b44c7468d85b809d361949e2b6258101fa1e5a2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060desktop/build.gradle.kts\u0060 makes this repository a deployable product (line 168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/build.gradle.kts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1880a590597cedbec87b1e4c454f97cf722bcc1dd9ab60efc8a5ab1e1fd218"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060playlistItemID\u0060 spells \u0060ID\u0060 where 286 names in the project spell it \u0060Id\u0060: 286 of 287 names in project core spell the token \u0060Id\u0060 (286 of 287; unit: names in project core containing \u0060Id\u0060). Peers: AppleMusicProfile.userId (core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:23); AppleMusicBackend.radio(seedId) (core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:158); AppleMusicBackend.playlistsForSong(songId) (core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:265); AppleMusicBackend.createPlaylistWithId (core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:269); AppleMusicBackend.createPlaylistWithId (core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt:270). Rename to \u0060playlistItemId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/PlexClient.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a83ac4baf0a4e49d7216f32fb79832e29ec8e95b55a643f88c17235c51a54f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core\u0060 (35168 LoC, 1345 module-visible types across 28 directories) overshoots its size bounds. 3 of 8 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 2.5/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":"core/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f66367ad154de9bc6aabebdca700af321a29f4ae2b321abace13de16281b06"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (55366 LoC, 616 module-visible types across 48 directories) overshoots its size bounds. 3 of 8 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 2.5/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":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060desktop\u0060 (48659 LoC, 702 module-visible types across 48 directories) overshoots its size bounds. 3 of 8 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 2.5/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":"desktop/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83f8b58a9e69925c8aae0a5c8fdd93a56fee9b1620bd15c24ea54ad1865f9c"}},{"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":"25981d18813e65b8e90499f7a53630146f2ba6e749410aedf86fed1744bb23e8"},"properties":{"commitSha":"b6e5efbf2ab5694d5859ea54adfc49f73ffc7448"}},{"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":"df4a037914fcfd69fe42091750f002ecb53921cf7d672b67e1ab2103d32c44fd"},"properties":{"commitSha":"b6e5efbf2ab5694d5859ea54adfc49f73ffc7448"}},{"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":"8dc70119c033b4ede0103f70f2ed62cc088daa77eafef9e8d9b6240cd2992482"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"214aa3170f54f2841ef1bb2f58a78c7ecd5591e9922cd439aca620a37aaa51d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"805692d5720a9af9a095cd634da03f6d832e5b434f7bd4c196db125f888e9ee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95b1e207a865b1ed4e7b9bcda47286e49c0c5d64a3dcff7d4b71644426546f20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6d329acececab7f6500d25bfd9cc4bdd5e6d4019dfb7bfb2f0da6ddbd0ee40e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"365eebe2b18f3c0c3df7ea8fbd290b76bbc659423090be2c4aa732f7be341c81"},"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":"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":"e0027d11027f451637198cbf1ebe4f58e969fa3f2a4b88b76af885ccddd1f6da"},"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":"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":"51e3e39d50933454c8e46bed461cfa0b6973df06dba359cace83f5e22610a323"},"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":"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":"fd2890e041ab4cc031052084ba717c513bf1dc8f5934f93cfd01fa1b055471b6"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"33e9726a21fda8b85d34c8d145de325bbb4d13bda403733abc0d9308af768b45"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Destinations.kt \u2192 AuroraApp.kt, SettingsKeys.kt, SettingsStore.kt: \u0060app/src/main/java/com/aurora/music/navigation/Destinations.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/com/aurora/music/ui/AuroraApp.kt\u0060, \u0060core/src/main/kotlin/com/aurora/music/data/SettingsKeys.kt\u0060, \u0060core/src/main/kotlin/com/aurora/music/data/SettingsStore.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":"app/src/main/java/com/aurora/music/navigation/Destinations.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04b7495f579fb40f6c56a917808e6d62073f49b2e6e33553c1ba7a7cac2c2fa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingsKeys.kt \u2194 SettingsStore.kt: \u0060core/src/main/kotlin/com/aurora/music/data/SettingsKeys.kt\u0060 and \u0060core/src/main/kotlin/com/aurora/music/data/SettingsStore.kt\u0060 change together 80% of the time (20 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 20 shared commits counted here, the most recent 3 are \u0060355fe01e\u0060 android/desktop: reorder and hide library tabs, library opens on the \u2026; \u0060eef8d579\u0060 android: option to select a specific music folder instead of showing \u2026; \u00606a40000a\u0060 android: a toggle under appearance to enable per song covers instead \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SettingsKeys.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b543956e24e535a9efce622780a83b901115fbc011668392d6f6340a1e190599"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingsKeys.kt \u2194 SettingsModels.kt: \u0060core/src/main/kotlin/com/aurora/music/data/SettingsKeys.kt\u0060 and \u0060core/src/main/kotlin/com/aurora/music/data/SettingsModels.kt\u0060 change together 64% of the time (9 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00604372036e\u0060 android/desktop: apple music joins the merged library (feeds, search,\u2026; \u0060ac4acd0d\u0060 android/desktop: apple music source (catalogue, guest mode, library, \u2026; \u0060355fe01e\u0060 android/desktop: reorder and hide library tabs, library opens on the \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SettingsKeys.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64cbbfbb97189dc67e328a44f2e78ffea65a2d054e3c322bb30d8057511e9f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AuroraApp.kt \u2194 LibraryScreen.kt: \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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 \u0060c8e911e3\u0060 desktop: apple music sign-in, guest likes and source wiring; \u0060f1d2bb24\u0060 android/desktop: Paper squares borders along with what they frame; \u0060355fe01e\u0060 android/desktop: reorder and hide library tabs, library opens on the \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6069a4fdd5c5e45ddfc39eb37090db19249d7854c3974e3689a24c5ad01b7a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AuroraApp.kt \u2194 PlayerScreen.kt: \u0060desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt\u0060 and \u0060desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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 \u0060844b47d3\u0060 android/desktop: tap title/artist to open album/artist, hold for play\u2026; \u0060e54ebd59\u0060 desktop: hide queue, loop and shuffle in ai dj mode; \u00606e3992eb\u0060 desktop: ai dj voice, speaking stage, hold to talk button \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c3f716e4b344db39e5283ab1a0afa8e547d124edffbe54419ea8c6de7dbf9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: YoutubeResolver.kt \u2194 PlayerScreen.kt: \u0060app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt\u0060 and \u0060app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.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 \u00602bef02f8\u0060 fixed quality pill in player not showing stats when streaming from yo\u2026; \u006038bc6f0d\u0060 Added music videos from YouTube to songs played/streamed from local/s\u2026; \u0060c193c72e\u0060 Fixed the pause/delay when switching between audio and video at the t\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"680247db1ef8ab698af1702d4a49b3e161f6a204308828457cf0ef8c1f90970d"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MediaBackend (21 abstract methods): \u0060MediaBackend\u0060 declares 21 abstract methods: \u0060ping\u0060, \u0060home\u0060, \u0060allAlbums\u0060, \u0060allArtists\u0060, \u0060allPlaylists\u0060, \u0060allSongs\u0060, \u0060starredSongs\u0060, \u0060starredCount\u0060, \u0060starredIds\u0060, \u0060songFor\u0060, \u0060search\u0060, \u0060scrobble\u0060, \u0060radio\u0060, \u0060createPlaylist\u0060, \u0060updatePlaylist\u0060, \u0060deletePlaylist\u0060, \u0060setStarred\u0060, \u0060detail\u0060, \u0060serverLyrics\u0060, \u0060streamUrl\u0060, \u0060coverArtUrl\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":"core/src/main/kotlin/com/aurora/music/data/MediaBackend.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23ef6745c8f55ee64b99cd28dd9ee412cd12b65022100841780e72af9674a00"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: JellyfinApi (24 abstract methods): \u0060JellyfinApi\u0060 declares 24 abstract methods: \u0060publicInfo\u0060, \u0060authenticate\u0060, \u0060quickConnectEnabled\u0060, \u0060quickConnectInitiate\u0060, \u0060quickConnectStatus\u0060, \u0060authenticateWithQuickConnect\u0060, \u0060items\u0060, \u0060item\u0060, \u0060itemRaw\u0060, \u0060updateItem\u0060, \u0060artists\u0060, \u0060playlistItems\u0060, \u0060similar\u0060, \u0060lyrics\u0060, \u0060favorite\u0060, \u0060unfavorite\u0060, \u0060markPlayed\u0060, \u0060playbackStarted\u0060, \u0060playbackProgress\u0060, \u0060playbackStopped\u0060, \u0060createPlaylist\u0060, \u0060addToPlaylist\u0060, \u0060removePlaylistItems\u0060, \u0060deleteItem\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":"core/src/main/kotlin/com/aurora/music/data/remote/JellyfinApi.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0281d5db76f69a8b17bc8102d06be39bc03fcaf188129943370700e0509d7c56"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SpotifyApi (34 abstract methods): \u0060SpotifyApi\u0060 declares 34 abstract methods: \u0060me\u0060, \u0060savedTracks\u0060, \u0060tracksContains\u0060, \u0060myPlaylists\u0060, \u0060savedAlbums\u0060, \u0060followedArtists\u0060, \u0060topTracks\u0060, \u0060topArtists\u0060, \u0060recentlyPlayed\u0060, \u0060newReleases\u0060, \u0060recommendations\u0060, \u0060search\u0060, \u0060album\u0060, \u0060albumTracks\u0060, \u0060artist\u0060, \u0060artistTopTracks\u0060, \u0060artistAlbums\u0060, \u0060playlist\u0060, \u0060playlistTracks\u0060, \u0060playlistItems\u0060, \u0060track\u0060, \u0060tracks\u0060, \u0060saveTracks\u0060, \u0060removeTracks\u0060, \u0060followArtists\u0060, \u0060unfollowArtists\u0060, \u0060saveAlbums\u0060, \u0060removeAlbums\u0060, \u0060followPlaylist\u0060, \u0060unfollowPlaylist\u0060, \u0060createPlaylist\u0060, \u0060changePlaylistDetails\u0060, \u0060addToPlaylist\u0060, \u0060removeFromPlaylist\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":"core/src/main/kotlin/com/aurora/music/data/remote/SpotifyApi.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"81efc8893929c440050b56d9c1af93330cdda3d0187b3877a0ca94f7d5df336b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SubsonicApi (24 abstract methods): \u0060SubsonicApi\u0060 declares 24 abstract methods: \u0060ping\u0060, \u0060getOpenSubsonicExtensions\u0060, \u0060reportPlayback\u0060, \u0060getAlbumList2\u0060, \u0060getAlbum\u0060, \u0060getSong\u0060, \u0060getLyricsBySongId\u0060, \u0060getArtists\u0060, \u0060getMusicFolders\u0060, \u0060getIndexes\u0060, \u0060getMusicDirectory\u0060, \u0060getArtist\u0060, \u0060getPlaylists\u0060, \u0060getPlaylist\u0060, \u0060createPlaylist\u0060, \u0060updatePlaylist\u0060, \u0060deletePlaylist\u0060, \u0060getStarred2\u0060, \u0060getRandomSongs\u0060, \u0060getSimilarSongs2\u0060, \u0060search3\u0060, \u0060star\u0060, \u0060unstar\u0060, \u0060scrobble\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":"core/src/main/kotlin/com/aurora/music/data/remote/SubsonicApi.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7cbd5b840ff8e3faf1f71f0d6da7c612ff95a320e8b911fd43b3aa614a1611"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppearanceSettings (33 abstract methods): \u0060AppearanceSettings\u0060 declares 33 abstract methods: \u0060setVisualizer\u0060, \u0060setGestureSwipeArtwork\u0060, \u0060setGestureSwipeDismiss\u0060, \u0060setGestureDoubleTap\u0060, \u0060setHaptics\u0060, \u0060setMusicHaptics\u0060, \u0060setMusicHapticsIntensity\u0060, \u0060setMusicHapticsDetail\u0060, \u0060setMusicHapticsTexture\u0060, \u0060setMusicHapticsOffset\u0060, \u0060setThemeMode\u0060, \u0060setThemeStyle\u0060, \u0060setAccentMode\u0060, \u0060setAccentPreset\u0060, \u0060setAccentColor\u0060, \u0060setFontScale\u0060, \u0060setTypeface\u0060, \u0060setCornerStyle\u0060, \u0060setPlayerSeekStyle\u0060, \u0060setLyricsSync\u0060, \u0060setLyricsTranslate\u0060, \u0060setPlayerWaveBars\u0060, \u0060setPlayerArtSize\u0060, \u0060setPlayerGradient\u0060, \u0060setPlayerShowUtilities\u0060, \u0060setMiniStyle\u0060, \u0060setMiniProgress\u0060, \u0060setLibraryColumns\u0060, \u0060setLibraryTabs\u0060, \u0060setTabletSetting\u0060, \u0060resetTabletSettings\u0060, \u0060setNavLayout\u0060, \u0060setHomeSectionHidden\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":"core/src/main/kotlin/com/aurora/music/data/settings/AppearanceSettings.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e471b9abc71a17c2bd96e62549e5b8f06e2e574f5930695ead05afe4e9d752a6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: DspSettings (42 abstract methods): \u0060DspSettings\u0060 declares 42 abstract methods: \u0060setProcessingRack\u0060, \u0060migrateProcessingRack\u0060, \u0060resetProcessingRack\u0060, \u0060setOutputRatePolicy\u0060, \u0060updateOutputRatePolicy\u0060, \u0060applyEqBindingIfEnabled\u0060, \u0060setReverb\u0060, \u0060setAutoEqAutoSwitch\u0060, \u0060setActiveEqProfile\u0060, \u0060applyLegacyEqProfile\u0060, \u0060upsertEqBinding\u0060, \u0060bindEqToCurrentOutput\u0060, \u0060removeEqBinding\u0060, \u0060setEqEnabled\u0060, \u0060setEqPreset\u0060, \u0060setEqBands\u0060, \u0060setBassBoost\u0060, \u0060setVirtualizer\u0060, \u0060setLoudness\u0060, \u0060setReplayGain\u0060, \u0060setDspMode\u0060, \u0060setDspGraphicBands\u0060, \u0060setDspGraphic\u0060, \u0060setDspParametric\u0060, \u0060setDspPreamp\u0060, \u0060setDspBalance\u0060, \u0060setDspWidth\u0060, \u0060setDspCrossfeed\u0060, \u0060setDspLimiterEnabled\u0060, \u0060setDspCeiling\u0060, \u0060setDspCompEnabled\u0060, \u0060setDspCompThresh\u0060, \u0060setDspCompRatio\u0060, \u0060setDspConvEnabled\u0060, \u0060setDspConvMakeup\u0060, \u0060setDspConvIr\u0060, \u0060setDspGraphicLayout\u0060, \u0060setDspSaturation\u0060, \u0060setDspDelayLeft\u0060, \u0060setDspDelayRight\u0060, and 2 more. 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":"core/src/main/kotlin/com/aurora/music/data/settings/DspSettings.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7977ce42e0454938abb00722e7a5627a1b7a5b5b944b53944cb963f52232d552"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: GeneralSettings (16 abstract methods): \u0060GeneralSettings\u0060 declares 16 abstract methods: \u0060setOnboardingSeen\u0060, \u0060setWhatsNewSeen\u0060, \u0060setWhatsNewEnabled\u0060, \u0060setUpdateAnnounced\u0060, \u0060setStarPromptSeen\u0060, \u0060setHistoricalListeningMs\u0060, \u0060setOfflineMode\u0060, \u0060setDataSaver\u0060, \u0060setMobileDataDownloads\u0060, \u0060setInsightsEnabled\u0060, \u0060setInsightsDevice\u0060, \u0060setInsightsAudioPath\u0060, \u0060setInsightsPlaces\u0060, \u0060setInsightsLocationHistory\u0060, \u0060setSimpleMode\u0060, \u0060setPrivateSession\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":"core/src/main/kotlin/com/aurora/music/data/settings/GeneralSettings.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"abedaf39ef7528cfe71195b519eef07de342d275d5ebe9a45676de804b259616"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IntegrationSettings (19 abstract methods): \u0060IntegrationSettings\u0060 declares 19 abstract methods: \u0060setSquigBaseUrl\u0060, \u0060setSquigTarget\u0060, \u0060setAcoustIdKey\u0060, \u0060saveLastfm\u0060, \u0060clearLastfm\u0060, \u0060setLastfmEnabled\u0060, \u0060setLastfmKeys\u0060, \u0060setLastfmPendingToken\u0060, \u0060setLastfmArtistRules\u0060, \u0060saveListenBrainz\u0060, \u0060clearListenBrainz\u0060, \u0060setListenBrainzEnabled\u0060, \u0060saveDiscord\u0060, \u0060clearDiscord\u0060, \u0060setDiscordEnabled\u0060, \u0060setDiscordImgur\u0060, \u0060setDiscordShowAlbum\u0060, \u0060setDiscordActivityName\u0060, \u0060setDiscordAppId\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":"core/src/main/kotlin/com/aurora/music/data/settings/IntegrationSettings.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f21e4f9b20c0ec72897d71d2f634779a45500a4cc2569d9ab42bcfc429c24"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LibrarySettings (20 abstract methods): \u0060LibrarySettings\u0060 declares 20 abstract methods: \u0060setSonicAutoAnalyze\u0060, \u0060setArtistEnrichment\u0060, \u0060setPreferLocalSources\u0060, \u0060setSourcePriority\u0060, \u0060setCatalogueLibraryCopies\u0060, \u0060setCatalogueMatchRelaxed\u0060, \u0060setCatalogueLosslessOnly\u0060, \u0060setUnifiedLibrary\u0060, \u0060setLocalFolders\u0060, \u0060setLocalExcludedFolders\u0060, \u0060setMergeSources\u0060, \u0060setMergeFeatures\u0060, \u0060setLyricsSources\u0060, \u0060setArtworkLookupEnabled\u0060, \u0060setTrackCovers\u0060, \u0060setAnimatedCoversEnabled\u0060, \u0060setAnimatedCoversFolder\u0060, \u0060setLrclibEnabled\u0060, \u0060setArtistSeparators\u0060, \u0060setTrackSort\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":"core/src/main/kotlin/com/aurora/music/data/settings/LibrarySettings.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed278eaa732894771afcc1f084c4e24f6e459215abb792c317ec9ff2167d3355"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PlaybackSettings (32 abstract methods): \u0060PlaybackSettings\u0060 declares 32 abstract methods: \u0060setAudioCacheEnabled\u0060, \u0060setAudioCacheLimit\u0060, \u0060setAiDjSpoken\u0060, \u0060setConnectSwitch\u0060, \u0060setSkipSilence\u0060, \u0060setCrossfade\u0060, \u0060setCrossfadeCurve\u0060, \u0060setCrossfadeHeadroom\u0060, \u0060setGapless\u0060, \u0060setDefaultSpeed\u0060, \u0060setMono\u0060, \u0060setStreamWifi\u0060, \u0060setStreamCellular\u0060, \u0060setDownloadBitrate\u0060, \u0060setYouTubeDownloadFormat\u0060, \u0060setYouTubeDownloadBitrate\u0060, \u0060setYouTubeDownloadAnonymous\u0060, \u0060setYouTubeDownloadArtwork\u0060, \u0060setPreferHighRes\u0060, \u0060setBitPerfectUsb\u0060, \u0060setUsbOutputMode\u0060, \u0060setUsbDsdMode\u0060, \u0060setUsbDsdExperimental\u0060, \u0060setUsbHardwareVolume\u0060, \u0060setUsbFallbackPolicy\u0060, \u0060setIndependentOutput\u0060, \u0060setScrobble\u0060, \u0060setAutoplayRadio\u0060, \u0060setResumePodcasts\u0060, \u0060setResumeLongTracks\u0060, \u0060setLongFormSkipButtons\u0060, \u0060setAlarm\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":"core/src/main/kotlin/com/aurora/music/data/settings/PlaybackSettings.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402a594db02ad055e898bf254a7636a004add6b70c57b614c4b429e20f7af5b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PresetSettings (19 abstract methods): \u0060PresetSettings\u0060 declares 19 abstract methods: \u0060saveProcessingPreset\u0060, \u0060savePresetRule\u0060, \u0060removePresetRule\u0060, \u0060movePresetRule\u0060, \u0060setPresetRulesEnabled\u0060, \u0060setPresetRuleManualHold\u0060, \u0060transitionPresetRule\u0060, \u0060setRouteRulesEnabled\u0060, \u0060holdCurrentRoute\u0060, \u0060chooseRouteHeadphones\u0060, \u0060bindCurrentRoute\u0060, \u0060removeRouteBinding\u0060, \u0060applyProcessingPreset\u0060, \u0060applyRoutePreset\u0060, \u0060duplicateProcessingPreset\u0060, \u0060renameProcessingPreset\u0060, \u0060deleteProcessingPreset\u0060, \u0060exportProcessingPreset\u0060, \u0060importProcessingPreset\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":"core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"174ed651e3c8658a67b5a6b80307be25b556923563c6b507e00e813060783a98"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RackLibrarySettings (17 abstract methods): \u0060RackLibrarySettings\u0060 declares 17 abstract methods: \u0060importImpulse\u0060, \u0060importCurrentImpulse\u0060, \u0060renameImpulse\u0060, \u0060deleteImpulse\u0060, \u0060prepareImpulse\u0060, \u0060selectImpulse\u0060, \u0060exportImpulse\u0060, \u0060saveTuningTarget\u0060, \u0060deleteTuningTarget\u0060, \u0060revertTuningAppend\u0060, \u0060saveTuningProject\u0060, \u0060deleteTuningProject\u0060, \u0060appendTuningProjectToRack\u0060, \u0060appendTuningProjectWithUndo\u0060, \u0060saveRackSubchain\u0060, \u0060deleteRackSubchain\u0060, \u0060appendRackSubchain\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":"core/src/main/kotlin/com/aurora/music/data/settings/RackLibrarySettings.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2054825efbd972842ff074d2523444a3de40428ddb027499119a58efe7a5a468"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PlaybackEngine (26 abstract methods): \u0060PlaybackEngine\u0060 declares 26 abstract methods: \u0060setQueue\u0060, \u0060insert\u0060, \u0060append\u0060, \u0060move\u0060, \u0060remove\u0060, \u0060replace\u0060, \u0060clear\u0060, \u0060seekTo\u0060, \u0060next\u0060, \u0060previousItem\u0060, \u0060play\u0060, \u0060pause\u0060, \u0060stop\u0060, \u0060setRepeat\u0060, \u0060setShuffle\u0060, \u0060setSpeed\u0060, \u0060setVolume\u0060, \u0060sleepFade\u0060, \u0060wakeFade\u0060, \u0060configure\u0060, \u0060setOutput\u0060, \u0060applyDsp\u0060, \u0060setLegacyImpulse\u0060, \u0060setRackImpulses\u0060, \u0060dspReport\u0060, \u0060rackMeters\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":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/PlaybackEngine.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"707ccb4464799f6d912c566fadc0886aba2cc82f3612d0aab39be59e72f23740"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PlayerController (33 abstract methods): \u0060PlayerController\u0060 declares 33 abstract methods: \u0060playAll\u0060, \u0060play\u0060, \u0060playCollection\u0060, \u0060shuffleCollection\u0060, \u0060shufflePlay\u0060, \u0060startSonicRadio\u0060, \u0060startAutoDj\u0060, \u0060addToQueue\u0060, \u0060playNext\u0060, \u0060jumpTo\u0060, \u0060removeFromQueue\u0060, \u0060clearQueue\u0060, \u0060moveQueueItem\u0060, \u0060saveQueueAsPlaylist\u0060, \u0060togglePlay\u0060, \u0060seekTo\u0060, \u0060next\u0060, \u0060previous\u0060, \u0060toggleShuffle\u0060, \u0060cycleRepeat\u0060, \u0060toggleLikeCurrent\u0060, \u0060refreshLikes\u0060, \u0060checkLiked\u0060, \u0060toggleLike\u0060, \u0060setExpanded\u0060, \u0060setSpeed\u0060, \u0060resetSpeedPitch\u0060, \u0060setSleepTimer\u0060, \u0060setSleepEndOfTrack\u0060, \u0060setPreferredDevice\u0060, \u0060setExclusiveOutput\u0060, \u0060setVolume\u0060, \u0060stopPlayback\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":"desktop/src/main/kotlin/com/aurora/music/desktop/player/PlayerController.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ed7f8b5e791e4aa22f48d83d00d383c8a401698fb986ca79c2e32c14c5ffc1"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add 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 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060app/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170fb04fe78176a33c2b44461eeb0bf2839b74c80362ebf7185e17a3b446ff7"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f083f3832dae536dc6feb136fa89c44e7a492a6682731efb22add24dac441465"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8605cd60b54af1e87e9474a3c585d9d492518fe0a027129cb63daaa016af522"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!SPCLIENT_PATH.containsMatchIn(path) || \u0022..\u0022 in path\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d48fc80299674368b2510d71e7bebca68b405fea4e8f50732eef7f161cef39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 bindable \u0026\u0026 profile.routeKey == route.route.key\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"966858ee6aeabf1b6edbaf387c58acbbc643e43d92658ffc4cc9c267417360c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 draft != null \u0026\u0026 draft != saved\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"da56b21cd32495718da71a740677f289122129a1da620e3e86295c84d1e374f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 draft != null \u0026\u0026 rules.size \u003C 24\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ArtistSeparatorsScreen.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2bfd8460eb61269f70abf53117ccda7be5c3a8f1246a1aac1dd7e72b45d52c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 fitJob == null \u0026\u0026 loadError == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2071c44c5bc5dd1afd426fbc56b152e3c8d5afdb82a65fcfec76bc5120abe2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 options != null \u0026\u0026 options == reviewed \u0026\u0026 preview != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"575e75a7d0dda58b3d60d27b1ca3b49443b2fb0ac7c4a68c557c6f6caf50315d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 source.isNotBlank() \u0026\u0026 name.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a66fe55f6cd06e21636ec8a22cd2d4b0b639e3671a8180af70cc6ed3e4dc790"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!busy \u0026\u0026 text.isNotBlank() \u0026\u0026 (preview == null || appendPlan?.isSuccess == true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07eeac916148ffe052940f94bada011fb8298c5f558695a7fe65027252c5e12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!centred \u0026\u0026 hypot(centre.x / r.width, centre.y / r.height) \u003E 0.05f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConcertControls.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":"app/src/main/java/com/aurora/music/ui/screens/player/ConcertControls.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb03332b44daa3db7550691fa89b660260018825a9640bd65da5efb8b58fd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!convolutionEnabled \u0026\u0026 audio != null \u0026\u0026 rack != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f5f5b7419c79b16fceffc77850abdab273dec14321403eec51f4a267f90b6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current.updateAvailable || current.checking || current.download != UpdateDownload.IDLE || downloadJob?.isActive == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"85de0ce012d7381d5cfde422fec9860ee3f51bd72f6ca2ef45fb2d94c2094bbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!drawerNavigationPending \u0026\u0026 !drawerState.isAnimationRunning\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6b7b6c7fc0cfda15e1b0e618e70d1a547a8f127fa3a0b703efb705d2b20cda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!enabled || song.title.isBlank() || song.artist.isBlank()\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt, core/src/main/kotlin/com/aurora/music/data/ListenBrainzScrobbler.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LastfmScrobbler.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b337c9b9a42fb4e5fcfbe4903d60b40c94d4bb432be89f79f1471c8e95a67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!id.matches(VIDEO_ID) || item.duration \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"854c5706e86e2075496225f6e54aa25832ae4a5ed0929144a49a62fa6a03a701"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!inChannelImage \u0026\u0026 channelTitle.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69f1027747a71c472fb3ae775adf91c5b47246484d55be98fa40d44ed1c41e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!info.isArtist \u0026\u0026 s.albumId.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"36286756bec2df72d7b9d58dcafb99b049f23778aacf55b156fb467ece2c35bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!insights.enabled || onShowOnMap == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2262658a1aa1cbb90d639cc35c4d90bd56c46144739e57022928866cd92db70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!it.checking \u0026\u0026 (it.checked || it.error != null)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f0e4c8aa71f9fba9339900f3c6678a3ad6a4d6c8855a3cc48bebea94d88976"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!it.isCompleted || it.getCompleted().isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"07db2991a33fa7a7e3fa954409da75dbd95910f24e56a785efa5eccccf08c6c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!latestAdvanced || latestBands.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqEditor.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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqEditor.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ba86d4cee750e7967680e52a8d13ec7dbf4aeaffa2bb27f1f1d0b0266d6c3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!linkLimits \u0026\u0026 mode == TuningChannelMode.INDEPENDENT\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ccdfd73956ffc862a02165f720e4fe4a6e779e7d275ad654eeefe52b7597a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!noneSelected \u0026\u0026 (mergeKeys.isEmpty() || key in mergeKeys)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab46c72ee22ae4d914d301e49be9ade802d888d8dda2a637ade2b14a1f1de833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outputDirectory.isDirectory \u0026\u0026 !outputDirectory.mkdirs()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/network/audio/DirectNetworkPreparer.kt, app/src/main/java/com/aurora/music/playback/network/audio/ProcessedNetworkRenderer.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":"app/src/main/java/com/aurora/music/playback/network/audio/DirectNetworkPreparer.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bfb6894c8307dcdb7db56e189a8104355d9f26f6b442f14179053432a87d92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!s.startsWith(\u0022http://\u0022) \u0026\u0026 !s.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/remote/JellyfinClient.kt, core/src/main/kotlin/com/aurora/music/data/remote/SubsonicClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/JellyfinClient.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"542dfb4e7892909ee664a6eade1685891b16fbce0cdb1c04d763467c8cfb4c3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.building \u0026\u0026 project.clips.size \u003E= 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb9a2c0c78db01201af2b94c0c37fd5927ff20cbabc75b9bfefcd893c4611a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.busy \u0026\u0026 project.clips.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e4e0e129f99cf1f2ca79c4a54de86f7c90df8e5b23c005cacaece3c60e5906"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.busy \u0026\u0026 state.profile.name.orEmpty().length \u003C= 80\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/LocalProfileDialog.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":"app/src/main/java/com/aurora/music/ui/screens/profile/LocalProfileDialog.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"700bbd39087eb207855ca4c8dc23e2788cb8597105d153e23b8510e3113ba647"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.loading \u0026\u0026 state.error == null \u0026\u0026 data.continuation == null \u0026\u0026 data.sections.isEmpty() \u0026\u0026 data.newReleases.isEmpty() \u0026\u0026 data.recently\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d276e8fb86ef4b9716b77b7fa4e2bf1be56dac1d4473fb2cfde53dc6f7448cd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.value.building \u0026\u0026 redo.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba1e709aea402f7b07e1d3da92bdf9dee9de86003157f40a807fd1deda033e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.value.building \u0026\u0026 undo.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1caebc39851bb46bc60012d73504360ef572847dbbbc610311ab69243d92ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(path \u0026\u0026 audio != null) custom \u0026\u0026 audio.dspConvEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.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":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d196b7c8e907ecbd59c7b84efe9c583661e7bffc18c3a3ab4a121967c8e3a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(path \u0026\u0026 audio != null) custom \u0026\u0026 audio.dspCrossfeed \u003E 0f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.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":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"692d329106ad93171187f820f75491ca28c4a57f4db35963125b2792694a4c28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(path \u0026\u0026 audio != null) custom \u0026\u0026 autoEqProfile.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopListeningDetails.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":"app/src/main/java/com/aurora/music/playback/PlaybackListeningDetails.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4601529b746499a63efdee985fb78b3a8571e11c7389f54a947a689ec8e9b25a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(saving) name.isNotBlank() \u0026\u0026 selected.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"86010d54afbcc2854eba2976eff14955716ac39ff946e984043f41814645e680"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(simpleMode \u0026\u0026 it.advancedAudio) || (!discovery \u0026\u0026 it.discovery)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/navigation/NavMenu.kt, desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ffd588da78c14947ec01d4bab717bf21139afa2653d9e9a21103354e848479"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(type == ServerType.PLEX || username.isNotBlank()) \u0026\u0026 password.isNotBlank() \u0026\u0026 !loading\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4714e65d97d40f2699f600af527c565b6d25e383fee473c36a16593e796dc647"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(zone \u0026\u0026 state.value.configured) || point\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/PlacesStore.kt, desktop/src/main/kotlin/com/aurora/music/desktop/platform/PlacesStore.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":"app/src/main/java/com/aurora/music/data/PlacesStore.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc90f5f6cd33f0cd4ec7f835982000908afae922db7aaed69aebb971f03d4bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060File(cache, \u0022$id.ready\u0022).exists() \u0026\u0026 vocals.length() \u003E 44 \u0026\u0026 backing.length() == vocals.length()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/mix/StemSeparator.kt, desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4aa9fb8bb296ac16b9bb0669a7f9e873aec91b277e6a2f905a257f2f4e14a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LocalCanLike.current(song.id) \u0026\u0026 !hiddenEverywhere\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/ListItems.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88e1b5db54e24739724a37f67e2ed18db1286e11bddc4ee010448f9c8fa10ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_state.value.loading || !type.supportsGuest\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb2cdac9385c67ec11f8bf946c71922de188c4a1b0e19b1858f48c980a09780"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_state.value.speed == 1.0f \u0026\u0026 p.defaultSpeed != 1.0f \u0026\u0026 _state.value.current.id.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e09b51eb65daf77f28d05dafc0b562026738e0f251eae1681511565dec7f28a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.id == b.id \u0026\u0026 a.title == b.title \u0026\u0026 a.artist == b.artist\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a7a9a4f5a4c056025796905844cb7b5298c078e46145c990d52eac3cc25438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(position - fraction) \u003C= 0.002f || (position \u003E= fraction - 0.002f \u0026\u0026 abs(position - fraction) \u003C abs(position - origin))\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/Waveform.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/Waveform.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":"app/src/main/java/com/aurora/music/ui/components/Waveform.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"31876fff14bdcb7134e8b062cfdf599cf1155e35680b59c013191f2fb2c44f03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accounts.containsKey(account) || _count.subscriptionCount.value \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SonicStore.kt, desktop/src/main/kotlin/com/aurora/music/data/SonicStore.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":"app/src/main/java/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ce26d3c0dd11e9b4db834bea32c998a98aca874faeca8abf0c880245b10d98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active.isNotBlank() \u0026\u0026 observedOutput.route.key != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beef967cf12a6b88ba97aabdc2b5d64d56f854ca46e4b9b351af01cf21ff970"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active.playbackState == Player.STATE_IDLE || active.playbackState == Player.STATE_ENDED\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/PlaybackReportingController.kt, app/src/main/java/com/aurora/music/playback/PlaybackService.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":"app/src/main/java/com/aurora/music/playback/PlaybackReportingController.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38c5db68dfb74f0ad7f70101ea0c49b442baf6bfaed23fb13492fdd23f42212"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis?.bpm != null \u0026\u0026 analysis.bpm \u003E 0 \u0026\u0026 project.clips.indexOf(clip) \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a505ba457245ec2175bf1a32db44ef8bc6808997080b6ed9d8deb83bd8fbb6b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anchor != null \u0026\u0026 songMenusFor(anchor) \u0026\u0026 it.manySources()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"62380426e7894c3af50f86ad13583ee4a3594959db5bb26d80e9b6b881e0fb7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060background != null \u0026\u0026 foreground.get() \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt, desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.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":"app/src/main/java/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f7644562469d889f245a99815e984d2c0f6ac26685d6544fc8b40198550852"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.format == format \u0026\u0026 block.frameCount \u003C= INPUT_FRAMES\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt, core/src/main/kotlin/com/aurora/music/playback/engine/RackGraph.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafd97e3200c499b997240492e9b40a56e1ffbde40b4e2b1ed41453ff0f64d74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060blocked.isNotEmpty() \u0026\u0026 hidden.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/HiddenSongsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/HiddenSongsScreen.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d65ff7fcc823b3fe6f3fe439efb82ca61802278aa6138af717c3836d57696"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060busy || fitJob != null || loadError != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6cf4b46c2e4f97a4fe43cf89fc4c52b91398d2f3c6d9c5e3656ab64989f197"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.size \u003E 3 \u0026\u0026 bytes[0] == 0x89.toByte() \u0026\u0026 bytes[1] == \u0027P\u0027.code.toByte()\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/playback/network/endpoint/EndpointServer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/library/FolderLibrary.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/EndpointServer.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db5d5a3b6b6231e5f813215c604052fa6cb64251e6380a25fab9c09a0d61c33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.size \u003E= 2 \u0026\u0026 bytes[0] == 0xFE.toByte() \u0026\u0026 bytes[1] == 0xFF.toByte()\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/CueSheet.kt, core/src/main/kotlin/com/aurora/music/data/FileLyrics.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/CueSheet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"723cd663c8864a705f8c90f7ba52b76764d7c0e3667b9bd640847e41451673e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.size \u003E= 2 \u0026\u0026 bytes[0] == 0xFF.toByte() \u0026\u0026 bytes[1] == 0xFE.toByte()\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/CueSheet.kt, core/src/main/kotlin/com/aurora/music/data/FileLyrics.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/CueSheet.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da21063ee6878c083ed689abc393ca45424dbac647243852c34556566bd2b80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached != null \u0026\u0026 \u0022PersistedQueryNotFound\u0022 in reply.body\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/web/SpotifyWeb.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":"app/src/main/java/com/aurora/music/data/SpotifyWebPlayer.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63cc9b249b70ce6efcbc4e495adbded6f1847e81e62d5d53c4bf68dc9e2ceb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canDownload \u0026\u0026 downloadedIds.contains(s.id)\u0060 appears character-identically in 6 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt, app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acf0dcfebd581db3a4de1de2e768b9d534656be54a8ed993443e4cd64ebd6a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canDownload \u0026\u0026 downloadedIds.contains(song.id)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f490b4ee4f0dc459014bc3ffadfb1b520f2403ec524ac18c6eafa8a2ba6e4ed6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canDownload || it != LibraryFilter.DOWNLOADED\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, app/src/main/java/com/aurora/music/ui/screens/library/LibraryTabsSheet.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"425b7bbdc03a4e488c0288829ed84a4b7201f50a8f4d0e4b54a072d90c5e398c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canExpandSidebar \u0026\u0026 roomWithSidebar \u003E= TabletMetrics.ComfortableContentWidth.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt, desktop/src/main/kotlin/com/aurora/music/ui/layout/AdaptiveLayout.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":"app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac999c37ec13da3bde09bf61d51001285fd9b07c619da4109752b5d34b5fe3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canLikeItem \u0026\u0026 (itemKind == \u0022album\u0022 || itemKind == \u0022playlist\u0022 || itemKind == \u0022artist\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45953533603b4e33a3aba1712ece8459d978e4fa9e3ae744ca0500e6de7b8c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.length \u003C= RackEqTextCodec.MAX_TEXT_BYTES \u0026\u0026 candidate.toByteArray(Charsets.UTF_8).size \u003C= RackEqTextCodec.MAX_TEXT_BYTES\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackEqTextDialogs.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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackEqTextDialogs.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"76176b88a5ee4cca371a02a3be8c3b4d9c8d712471e0071e88aea459c1bbfe3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checkJob?.isActive == true || state.value.download != UpdateDownload.IDLE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c980206a5a050cf7ca6bb989c45b9b0ef065643ce37d93a135a024f27018c604"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chosen.size \u003C count \u0026\u0026 used.size \u003C vectors.size\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SonicEngine.kt, desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3c15790afa4c201f86102f775b40ba2a81206ac6e8bf9b78a9e529909b5a4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clear || selected != it.selectedFeed || starredFor != key\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/HomeViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/HomeViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3681cc8a447ff1a6ec9ee8ac14c3f3ff09043b6d0bb54ff8a2d642dc64221c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coalesceKey == null || coalesceKey != lastEditKey || now - lastEditMs \u003E 350\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"01187a5270b857083a50cf0c6f6f6a1145270853e68feb38c31d0efddc066809"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container.acoustId.available \u0026\u0026 tagState.localFile\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"556143f54f90a410c9a701eef04e41ac2fb31fa5392b80eadf8106e98927f995"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container.sessionReady.value == true \u0026\u0026 !container.offline.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f9488548284b8be573f668aa1516b74fc51db964bae14196ba6b3e413379db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content == null || (content.folders.isEmpty() \u0026\u0026 content.songs.isEmpty())\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/FolderScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/FolderScreen.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71c9fa5df9f236f9a2056347cd265c2c948022c25b665e470f19f9dd089c023"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content == null || content.lines.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5796adcaa88745763568a2b10adf21673dfebdb9fec71f5e237c5507e3bfdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.cast == false \u0026\u0026 context.androidAuto == false\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"887830997d4e6adae573320efed3e1e9b54df9ea93b9c116f64e9c0e336f80cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controlsVisible \u0026\u0026 !pointerDown \u0026\u0026 !modeListState.isScrollInProgress\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0abd27865f0aecd62dce2870f15061de4604c2aac048117ac249639759ef4a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060count != null \u0026\u0026 scope() == scope \u0026\u0026 epoch == container.accountEpoch.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fe3cb40f1dca86384570564a2c19d9fcf7c08c3cbeadd0f521650f9351e567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cover != null \u0026\u0026 scope() == scope \u0026\u0026 epoch == container.accountEpoch.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6d6be2422971cd03d68847bbb769ad9469425582ae88e4e9ca0dc7c2ff87f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur != null \u0026\u0026 s.durationSec - cur.first().durationSec \u003C= TrackMatch.DURATION_TOLERANCE_SEC\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt, core/src/main/kotlin/com/aurora/music/data/merged/MergeMatcher.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DuplicateFinder.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80bab9b65738aec6133a1af3b2708aa393faa6e1249e2ab1e96483a794d2b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur.id.isEmpty() || cur.id == lastNowPlayingId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee64b13e8f99751044bf9964bd1883f6afabebfe82fc795422a2261908f291"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur.id.isEmpty() || posSec \u003C 30f || cur.id == lastRecordedId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfae2b7dc6e56dfd6da133d9d6bf0472f70951a84be76f596c855fd320fbbb59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur.isRadio() || cur.isPodcast() || cur.id.startsWith(\u0022aurora-mix:\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d3ed87f34b62164572b6434c47967d69bacf093fb49ce366f4780bf9d43ab2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 lastPlaying \u0026\u0026 enabled \u0026\u0026 token == authorization \u0026\u0026 imageKey(current.artworkUrl) == key\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/DiscordRpc.kt, desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2761fff41688589366ed3f2457d2cc23c3ddba17bcd037aa130ce0906bc6fcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.sourceRate == format.sourceRate \u0026\u0026 current.resampleRate == format.resampleRate \u0026\u0026 current.outputRate == format.outputRate\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/playback/chain/DspChain.kt, desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/chain/DspChain.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abc9e9fc30d8dcca1be15b34491a0b869e3fb3d1d2a4d9b1bee80e105e845f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentSource.isNotBlank() \u0026\u0026 source != currentSource\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2521a4c1da8fdaa351ed878b76f574db662b29ded4064857c2d0a8d0571e5581"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060curve != null \u0026\u0026 curve.format != TuningCurveFormat.WAVELET\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"546ade92ce4b6137fac1178b25e311f108fcef3df405ef9783e3b6628dd35740"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data != null \u0026\u0026 data.tracks.size \u003C data.info.songCount\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b17892e9494729f8e97322dec7035720fdaa15130f5a2945bf0d4c5504f781"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.artists.isNotEmpty() \u0026\u0026 HomeSection.ARTISTS !in hidden\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f668c91e701babd83ceb3a6c51d85a8bb3353004f198de46bd8d5dd5d227b7a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.continuation != null \u0026\u0026 state.error == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1898e8159824edd8e459f4838927c6a35d266be7cdac528b6731c75f6d1388"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.continuation != null || state.error != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccdd000c06d6ea6ca72e01c92707e43baf9228b2104091e4c7e44b718a4e90e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.playlists.isNotEmpty() \u0026\u0026 HomeSection.PLAYLISTS !in hidden\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5206078f5f69c652995fed7348471cf1907aa19f3ea67be0879c613be55844db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.recentlyPlayed.isNotEmpty() \u0026\u0026 HomeSection.RECENT !in hidden\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/home/HomeScreen.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":"app/src/main/java/com/aurora/music/ui/screens/home/HomeScreen.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b9f4bc88bd9462e9c83e17930310d3cd39a4156d0be390476f75dd773fbb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060days.first == days.last \u0026\u0026 hours.first == hours.last\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae00a150c7196fd2f3b446f36337ceef40018c05db0c11fd5b50535bb4bf45a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060digest.startsWith(\u0022sha256:\u0022) \u0026\u0026 hash.matches(Regex(\u0022[a-fA-F0-9]{64}\u0022))\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/updates/AppRelease.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/updates/AppRelease.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf01ca105ee09be08a8baaa727c394a3da3a2a838999254d1d35c25ae5c80d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directory.isDirectory || directory.mkdirs()\u0060 appears character-identically in 4 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupManager.kt, core/src/main/kotlin/com/aurora/music/data/settings/PresetSettings.kt, core/src/main/kotlin/com/aurora/music/data/settings/ProcessingEditor.kt, core/src/main/kotlin/com/aurora/music/data/settings/RackLibrarySettings.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupManager.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a36127005a70a16aeb8d35fae3048c7f869d5a6e406d5a0bb9aaf098294e03d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draft == afterFit \u0026\u0026 currentFingerprint == result.inputFingerprint\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11faa091314732f7e9e5f0970bd3525f68cc0ea688e82229f41af7b5df3008f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060durationSec \u003E 0 \u0026\u0026 durationGap \u003E maxOf(120.0, durationSec * 0.6)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f277c60ee087bcc57d3192e5dc66289f15bb1d000ac2fa13b6f41f47722c47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enabled \u0026\u0026 selectedPath != assetPath \u0026\u0026 preview != null \u0026\u0026 sourceSupported \u0026\u0026 estimate.supported\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd911f1ee6247a49311a59c898bce28813a7c05349d01f9dcead2df2929d6d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entries != null \u0026\u0026 loadError == null \u0026\u0026 !busy\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3d62e9fd15a744e38956decae46d60f08239fb2764e3c30701006b8f08dc10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry != null \u0026\u0026 nav.previousBackStackEntry == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f8ac5e30de72c6c0861025fef28c4943abefaba8c6ffb76b513072035fdc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.sourceMetadata.channels == 4 \u0026\u0026 minimumPhase\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ImpulsePreparationDialog.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c23b68745c6b88ab533dbbe8f6db6f0a5fd361fdba99d1a63506b626026bb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evaluation?.matched == true \u0026\u0026 preview.winner?.id != selected.id\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee0edc00f5b592428f05c9714f5aff399526e26c4fba0f4ef8bc9ce61deea4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == PointerEventType.Press \u0026\u0026 event.buttons.isSecondaryPressed\u0060 appears character-identically in 6 files \u2014 desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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":"desktop/src/main/kotlin/com/aurora/music/ui/components/LikeHeart.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4294cf12f2d56c5a17f6e397c91ec031ba55367b69dc859e786da8dd72a99bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extensionBytes \u003E= 22 \u0026\u0026 extensionBytes.toLong() \u003C= length - 18\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt, core/src/main/kotlin/com/aurora/music/playback/ImpulseResponse.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc4b857ef7cc8e573870ed52692119e41f2b2ac90c7b7368b820920dba22989"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.isFile \u0026\u0026 file.length() == asset.size\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d631b5c85f6d22f295467161d0eae402caaf15f9bd8d534c1eab9048bb20e5fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter == \u0022ALL\u0022 || it.period.name == filter\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInbox.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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInbox.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"325dbecdb17d166b3fdd41ed891581b617690f5ae824268c9b9bd2ba89b02f40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fit.config.leftDelayMs != 0.0 || fit.config.rightDelayMs != 0.0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34992f2470cfd3fda22ab56365549531acbea803a17e211fbd8e104349e921"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fit.config.leftTrimDb != 0.0 || fit.config.rightTrimDb != 0.0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d309e3fbbcc9efce7452d5d9bee29b2ff5bb2d3e22412f8954e99ed05d924598"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folder != indexedFolder || now - indexedAt \u003E REFRESH_MS\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/AnimatedCovers.kt, desktop/src/main/kotlin/com/aurora/music/data/AnimatedCovers.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":"app/src/main/java/com/aurora/music/data/AnimatedCovers.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb7146592541157bfe640dc4085e98fe2e4cd2a95aff32da68f203d87d5fec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060format == TuningCurveFormat.TEXT || format == TuningCurveFormat.SQUIG\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"508fa0bcd379d290aa77d1ee2a59fdb9f3c8390a77307d734822a0f9a67fe793"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frequencyValid \u0026\u0026 gainValid \u0026\u0026 qValid \u0026\u0026 coefficientError == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8844d1bfbcd6a241821bacbf1fa288dbb518579fd1665f07c9752bb7b3f60a45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060from \u003E= 0 \u0026\u0026 from \u002B step in list.indices\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae69f63e8506c3681510c659662588f218e6e294a1359cda198e38f1dac627"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullWidth \u003E shownWidth \u0026\u0026 shownWidth \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d23476b81c4fcb311457b9264bc993eb3b20157c59899a73ce9b418fa5cf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guestLikes.playlists(session.type).isNotEmpty() || guestLikes.likedCollections(session.type).isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/GuestLikesPrompt.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":"app/src/main/java/com/aurora/music/ui/components/GuestLikesPrompt.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6b1f292ee33d93122c9e2bca223d866b06d3c73f1a55b0505e4dfdf487f28a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasVideoPhrase(name, artistKey) || hasVideoPhrase(uploader, artistKey)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee0fc3f52de1b9bd1b965256138641c75bffacf3d328bec6ec3dce3768ff8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasVideoPhrase(name, it) \u0026\u0026 !hasVideoPhrase(sourceTitle, it)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"90acaf17cf6fce61a248d9b72815e2b630f6d52f499cd1ea9bdf63b9d4d61fcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imagesPossible \u0026\u0026 song.artworkUrl.isNotBlank() \u0026\u0026 canHost\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/DiscordRpc.kt, desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"879906e3ce09cd12980c44b2472af4f0bc653bafbb844fa0e38149eb1a7e5369"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imgurId().isNotBlank() || isPublicArt(song.artworkUrl)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/DiscordRpc.kt, desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ee57f1d1ae713aadac0df4e4dfc413cef2d92ea40683be66d450424eac311"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info != null \u0026\u0026 info.found \u0026\u0026 _state.value.data?.info?.title == name\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b06310262e9a189a87aa4ec2213b5431896b982d929268bd331b1268a63b8d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info.typeLabel.equals(\u0022Playlist\u0022, true) || info.typeLabel.equals(\u0022Smart playlist\u0022, true) || info.typeLabel.equals(\u0022Liked\u0022, true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635902d71808e6af8f1ea8f18ecc94007bd48ea7a6eb61c6414158514b5d42a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initial.leftLimits == null \u0026\u0026 initial.rightLimits == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03c0fd7c57c57a54159376f0e2c4df43cef111c2ce6492cfc9f45b0395145d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initial.trebleMaxBoostDb != null || initial.trebleMaxCutDb != null || initial.trebleMaxQ != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningFitSettingsDialog.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae18f70a60e90c5b748996579cf18f1ee9fdd99bbbd459e0852fe33a497ab12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputAudioFormat.encoding == C.ENCODING_PCM_16BIT \u0026\u0026 inputAudioFormat.channelCount == 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt, app/src/main/java/com/aurora/music/playback/MonoAudioProcessor.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":"app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"519cd59437187ef04e6293f09381456f363cc0c9b257cc51380e6fbe8330e927"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isDownloaded \u0026\u0026 onRemoveDownload != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/ListItems.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/ListItems.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":"app/src/main/java/com/aurora/music/ui/components/ListItems.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8eb86717217783f27b925227ddbcf4738a9bd3ed1b3172100ad22d932150ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRadial \u0026\u0026 prefs.showAlbumArt \u0026\u0026 song.artworkUrl.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e804182334d88eff5ab0d06f110a59fbe7c84f0ec42d6522b580fffaaf957"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it == \u0022captcha-delivery.com\u0022 || it.endsWith(\u0022.captcha-delivery.com\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt, desktop/src/main/kotlin/com/aurora/music/desktop/web/SoundCloudWebWriter.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":"app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86c970b8db90f7cf7d8c61b770e860433202441bee47a1178bcff44e2c169a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it is HomeFeedItem.Track \u0026\u0026 hiddenSongs.hides(it.song)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.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":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae7c49ff3fbe3b28a6a807bc9c8cb8471710ca97922d7cae9054b58df3564f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.artistId.isNotBlank() \u0026\u0026 TrackMatch.identity(it.artist) == TrackMatch.identity(artist)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b507d355da87713296599455c2e589b0959a3a5200ec7f4675b7bcfd860c395a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.codec.orEmpty().contains(\u0022avc\u0022, ignoreCase = true) || it.codec.orEmpty().contains(\u0022h264\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad0054f9b9fd5ec89cfe602614df187c596df3348f5d4da175726f6452ed700"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.durationSec \u003E 0 \u0026\u0026 it.streamUrl.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1f0c2610205e5e6651c7a1c8427a76e34292abb3bf795e1921c0eafad80c17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.endSec \u003E position \u0026\u0026 it.startSec \u003C= position \u002B 15f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/mix/MixPlayer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/audio/mix/DesktopMixPlayer.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":"app/src/main/java/com/aurora/music/mix/MixPlayer.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6314fdff9dbe816399cd1971adef877556702c9d0cb33f29495e0c86208f38a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.id == peer.id \u0026\u0026 it.address != peer.address\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt, desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnect.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":"app/src/main/java/com/aurora/music/playback/network/NetworkOutputManager.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6618997b82e96a8b66f5e3523268fed38619f2e865bb926286cd3f7c7bcd80ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.id.isNotEmpty() \u0026\u0026 it.streamUrl.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"4298dfda62dc7bbcd80cea5c831168868dcb46a8791e54498e437b901a4656ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.inputFingerprint == TuningProjectCodec.inputFingerprint(changed) \u0026\u0026 it.config == changed.config\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c79347f21fad609c6f8dd2ee531a44752b4ef65f174f955141f7ad3e81fe2c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isJsonPrimitive \u0026\u0026 it.asJsonPrimitive.isBoolean\u0060 appears character-identically in 4 files \u2014 core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt, core/src/main/kotlin/com/aurora/music/data/RackAdvanced.kt, core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt, core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererJson.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b8c7362c79aa5206eecf2e2a61011610c0cbcf4952aeca107dfa3466aea476"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isJsonPrimitive \u0026\u0026 it.asJsonPrimitive.isNumber\u0060 appears character-identically in 5 files \u2014 core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt, core/src/main/kotlin/com/aurora/music/data/remote/DiscordGateway.kt, core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt, core/src/main/kotlin/com/aurora/music/playback/network/endpoint/ConnectProtocol.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"748da7c619219bb288a6a7f63b72dc62c926e498f0f7c3a460cb8c43278a4c9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isJsonPrimitive \u0026\u0026 it.asJsonPrimitive.isNumber \u0026\u0026 it.asDouble.isFinite()\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/RackAdvanced.kt, core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/RackAdvanced.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ce5f3218c3fcee068133239532b9b074099531daf6e21ef7828f4cd1dc1e51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isJsonPrimitive \u0026\u0026 it.asJsonPrimitive.isString\u0060 appears character-identically in 7 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/RackAdvanced.kt, core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt, core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1088a17d06dff32765fd8b14ba4f5a70d6d89e6fd74edda0c508be57c81c7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isLetterOrDigit() || it == \u0027 \u0027 || it == \u0027-\u0027 || it == \u0027_\u0027\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9286d8cd300fcf228e20a3f2dd08f95025256ac980f6cba596dc0bada0d62e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isLetterOrDigit() || it == \u0027-\u0027 || it == \u0027_\u0027 || it == \u0027 \u0027\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"991eb659cb382f45f4df61248440c9f3b44fe8e2a8101481e9e67d5746878018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isNotBlank() \u0026\u0026 it.length \u003C= 80 \u0026\u0026 it.none(Char::isISOControl)\u0060 appears character-identically in 3 files \u2014 core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt, core/src/main/kotlin/com/aurora/music/data/ir/ImpulseLibraryCodec.kt, core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5284e65c972f0c2003fc8a934969a042e1151e8f6f74b0c34f06471c9868f012"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isUrl \u0026\u0026 it.content.isNotBlank() \u0026\u0026 it.deliveryMethod == DeliveryMethod.PROGRESSIVE_HTTP\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b4197d3ab7de8f705b2857f30ebfea8d565d0819947f0e1f8bd38b1464edee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.key == key \u0026\u0026 !it.songs.isCancelled \u0026\u0026 System.nanoTime() - it.at \u003C WALK_NANOS\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SonicEngine.kt, desktop/src/main/kotlin/com/aurora/music/data/SonicEngine.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":"app/src/main/java/com/aurora/music/data/SonicEngine.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f62e418c25e96355b492d1f573b0d60780c7944b2fd854ffc8ea9b00b8f502"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.kind == RackNodeKind.CONVOLUTION \u0026\u0026 !it.bypass \u0026\u0026 it.wet \u003E 0 \u0026\u0026 it.impulseId == null\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6430bc0b25b24d9c116e8620c93f71fa8399b8098b53a3dcff8275e8f4299d3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.kind == RackNodeKind.CONVOLUTION \u0026\u0026 !it.bypass \u0026\u0026 it.wet \u003E 0f\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"caccb3d1432ff96f3297968bca17239ac8e4271dc37d871473fb6c44524800c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.kind == RackNodeKind.EQ || it.kind == RackNodeKind.LEGACY_DSP\u0060 appears character-identically in 7 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, core/src/main/kotlin/com/aurora/music/data/RackEqTextCodec.kt, core/src/main/kotlin/com/aurora/music/data/tuning/TuningRackPlan.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f173c7453ebbea230086ad41692cb5b7af4910d048ed8c533d6ae10b9bcd8d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.label != appString(R.string.text_correction_7f2640) \u0026\u0026 it.label != appString(R.string.text_fitted_eq_3bc5ee)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningCurveChart.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningCurveChart.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a15da6e0749aebc6dc2f73817f776e460c4563b53cffae29e0e9624ce268b37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.size * 3 \u003E= strongest.size || it === strongest\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt, desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"11629026252a28e450ac423508527b6c377adc6f25e0dad855dbf8d5d89ed378"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.sourcePath == selectedPath || it.prepared?.path == selectedPath\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51d4b15e765b262e0974aa7968e8ae4ba298094eee64adc94e1d20a4ed360bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.startMs \u003E= 0 \u0026\u0026 it.startMs \u003C= clock.longValue\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53eac0402d7d52bcabb2ec7d8a2406001a09c47de0e994a175192c8f2a6403a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.title.contains(q, true) || it.artist.contains(q, true)\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/LocalBackend.kt, core/src/main/kotlin/com/aurora/music/data/MusicRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LocalBackend.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4e0b8c71b905350a7913aa30602797ccc8adfb3eb920be340e47eedf2fc48f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.title.contains(q, true) || it.artist.contains(q, true) || it.album.contains(q, true)\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/LocalBackend.kt, core/src/main/kotlin/com/aurora/music/data/MusicRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LocalBackend.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2858bff314abd6314c6456c1c112c942ddcd1f3741217679f16ae604fd62680a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.title.contains(query, true) || it.artist.contains(query, true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0df3879f8b6a9fa9cf8aaeed494e223079899c3b33081dc92d46195b0ecba14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.type == ServerType.SOUNDCLOUD \u0026\u0026 !it.isGuest\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AccountsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/AccountsScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17374df4f0bc814644544e5b8046715f2be6f19849e5d3f743fc6d268a914ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.type.supportsMergedLibrary \u0026\u0026 it.type != ServerType.LOCAL\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/SourcesSettingsScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2167be89e9d2a5e59276afbca5e8069ae413e7c6e74688202affe191e5b7ca7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.typeLabel == \u0022EP\u0022 || it.typeLabel == \u0022Single\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d30af013f9a0fd668c20dbc0d8ca11f545d50ca23c80f606c22c03a3c2db8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key != null \u0026\u0026 route.kind == ProcessingRouteKind.ANDROID\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7dc3a427bf44527af50494e6f39ef922a2881efc92c8c585dade788da8d84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060layout != null \u0026\u0026 line != null \u0026\u0026 point.y \u003E= layout.getLineTop(line) \u0026\u0026 point.y \u003C layout.getLineBottom(line) \u0026\u0026 point.x \u003E= layout.getLineLef\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde60c6cb24943ebd5b56eb680e183dd59e6b2565a6e195d4de163e5ccf7db7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060library?.error == null \u0026\u0026 library?.presets.isNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingPresetsScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0fccaaa9dee0c430b3033d36d8acd013a72ebbc1f6016ffdf123459d1bb3ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listOfNotNull(report.lossless, report.hiRes, report.autoEq, report.convolution, report.replayGain, report.bitPerfect).isNotEmpty() || report\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f622fd015b1e110a32b464940dccfb64e67a8a89e1addd1a561e231994e408c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listeners.remove(listener) \u0026\u0026 listeners.isEmpty()\u0060 appears character-identically in 2 files \u2014 desktop/src/main/kotlin/com/aurora/music/desktop/audio/DeviceWatcher.kt, desktop/src/main/kotlin/com/aurora/music/desktop/natives/AudioDevices.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":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DeviceWatcher.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7c1dd81278e3a767c0dde12d9ce96a4be656dc21f21ba4e59289537f9544c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060longFormSkipButtons \u0026\u0026 !isMix \u0026\u0026 !isLive \u0026\u0026 com.aurora.music.data.LongForm.skips(current.id, maxOf(current.durationSec, durationSec), curren\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/PlayerController.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":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef8ea29e12ada63737b33c1142ecc910d3699cf0274f383b74202897dfc03a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lyrics == null || lyrics.lines.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be960271bfee0596c00c95cbc4a55d3d7e3d78a2c0fc3c0b78d41acb0f6409c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lyrics.synced \u0026\u0026 durationSec \u003E 0 \u0026\u0026 lines[index].startMs \u003E= 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/LyricsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/LyricsScreen.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3307c9c2d7b9df983eb0376a5456913199b30bb5edc1711344ecd4976054b7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060measurementLeft != null \u0026\u0026 measurementRight != null \u0026\u0026 config.bandBudget \u003C 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a00e6a33a38c1ddc2d4958169b51749a0fb4ebdd8c0a598d5f8060f46f1e68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060measurementLeft == null \u0026\u0026 measurementRight == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f91412c7c4d6c255c2b25ee1592e7a1d10b5a42635a426f6b095f617224a53d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060measurementLeft == null || measurementRight == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff6cbbbc3a43057fa9761486435bcc0076fb9d44b909cf4ee2f5b514e9d4f54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060menu == SongMenuPage.ARTIST \u0026\u0026 sources != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e69a4c9aa12667ccda76b127720c99f8960d4c9d6c5789a30332b9da0acecb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060menu == SongMenuPage.ROOT \u0026\u0026 sources != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"374f0ef1ba35dabdaa957b2091f00f3dbe869b248a08d2cb140466385efa8653"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method == \u0022GET\u0022 || method == \u0022DELETE\u0022 \u0026\u0026 payload == null\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/remote/AppleMusicClient.kt, core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/AppleMusicClient.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01d755907d28b37515600763b57a8e23c95d704465b07d7eb53bf6fcaa1a20c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mixTime \u003C c.startSec || mixTime \u003E= c.endSec\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c8fbca989f403a16471d66ccd9857b914b0efc02185d3fe5643958ce378104"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060more.isNotEmpty() \u0026\u0026 newTracks.size \u003C d.info.songCount\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae03a2bca4fbba96e2ceb7fafe5976e068e60af8340c50a5a9afe023a6d3558e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060moved \u003E 0 \u0026\u0026 session.type == com.aurora.music.data.ServerType.SOUNDCLOUD\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/AppContainer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/DesktopContainer.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":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee56eeecc433fcfe41c31c028c3624b03b154008f91d46221353639768a300"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.contains(\u0022music video\u0022) || name.contains(\u0022official video\u0022) || name.contains(\u0022musikvideo\u0022) || name.contains(\u0022visualizer\u0022) || name.contai\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a6cc37a9a310b65b18f678f4c89a9b0788ac0d5ca09300e72d53e9ec39078c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022enclosure\u0022, true) \u0026\u0026 inItem\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed6133fbc9f90f8fbdae09e574404a8870a573022766064825812543201957a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022image\u0022, true) \u0026\u0026 inChannelImage\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10d01a6c7fb5f174837da7dd9b0499ec293612f24650053f6255d015942e7d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022itunes:author\u0022, true) \u0026\u0026 !inItem\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda24854feb0d0cdae9fd7d9f5e9d02733accc4b14b17d6e6905741e60402ad8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022itunes:duration\u0022, true) \u0026\u0026 inItem\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfddd213deae7876434959f6846c85688807bed89ec32e2f566b7ea84b5b77a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022itunes:summary\u0022, true) \u0026\u0026 inItem \u0026\u0026 desc.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1813e55cf60a62b95e783cd927a12d5393e8af8cf45edfb13c7ed0aa5c1ad18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022media:content\u0022, true) \u0026\u0026 inItem \u0026\u0026 audioUrl.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed376bb91c63143c9c44999577ddd7ef785293610ea101cd509ab2e7244d501d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022media:thumbnail\u0022, true) \u0026\u0026 inItem\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cf400575e2e2a389505fcb164ebf8443055db27aff9401914b4230c1e0b209"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.equals(\u0022url\u0022, true) \u0026\u0026 inChannelImage\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4955f2daea946eb25a27ba7259d00d22cf611c8a6d693681efa78f3d44b3cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind !in listOf(RackNodeKind.EQ, RackNodeKind.LEGACY_DSP) || current.parametricBandCount() \u002B node.audio.dspParametric.size \u003C= Processin\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea62490e76e786bfdcc7b5a02e9a26a59baf1b189c19a466096d205f2e9080d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind == kind || legacy \u0026\u0026 legacySection == section\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53e9138b063efa6ed435a5849b0d68ede0c093e058225826edb07a52fc19b83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060now.get(Calendar.YEAR) == then.get(Calendar.YEAR) \u0026\u0026 now.get(Calendar.DAY_OF_YEAR) == then.get(Calendar.DAY_OF_YEAR)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningHistoryScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2470c7f0fe6e233e28e12991b4ac90663927469e37bf6e50f4ebb3e1bf0afb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onOpenInsights != null \u0026\u0026 insights.enabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/ListeningStatsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/ListeningStatsScreen.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe13f4e24c007fe0971cc0480849dbdab3e8d4c90ce3ca8bc24b6593e73fd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onOpenMap != null \u0026\u0026 prefs?.locationHistory == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab7875818e963071d4c4ca5b9010331d57722f571dd7fd13672538d0ea8a9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ordered.manualHold || key in rules!!.manual\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6459bcdcb3326598e3d4e97a8c92b555cdae70532a35d5ce1684be29beeff2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060origin in SoundCloudWebSession.ORIGINS \u0026\u0026 url.startsWith(\u0022https://api-v2.soundcloud.com/\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt, desktop/src/main/kotlin/com/aurora/music/desktop/web/SoundCloudWebWriter.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":"app/src/main/java/com/aurora/music/data/SoundCloudWebWriter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19bf4c849cbb311b906635778ca501ff7732a25b0cfb48a4d31a6a1396ca9e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outputReady || stagePosition == stageCount\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt, core/src/main/kotlin/com/aurora/music/playback/engine/ProductionSerialRack.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f1575b7ad950ddf0257b493095d5cada54ad8826ad9c92c47b4643e6addd89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overlap \u003C 0.7 || !artistMatch || item.duration \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0143d2e7da49bf08d96f699ad9f08f5b199f3d504809d01f79e772b469aae997"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.life \u003C= 0f || p.x \u003C -20 || p.x \u003E w \u002B 20 || p.y \u003C -20 || p.y \u003E h \u002B 20\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerRenderers.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99e7b76b0c53850a6e02d0003ac2409f3ad0e63d38eb31e4a77c4e807b7ae54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paper \u0026\u0026 AppTypeface.normalize(typeface) == AppTypeface.THEME_DEFAULT\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/theme/Type.kt, desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.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":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb17fc7be74c0bc87d6157553773179e548865d06a2c108f6840f192f83758"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts[\u0022hidden\u0022] == null \u0026\u0026 \u0022explore\u0022 !in mainIds \u0026\u0026 \u0022explore\u0022 !in moreIds\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/navigation/NavMenu.kt, desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"df21b76cb329f6f40dc176eee5db0c0b094b27bbcc9e226b4168ba06e7190f20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phrase.isNotBlank() \u0026\u0026 \u0022 $value \u0022.contains(\u0022 $phrase \u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"af62b452344e8d8a4aa2c3e97a8e1b2bef2116a5cb4f479582a2027c70c3e4ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playlists.isEmpty() \u0026\u0026 albums.isEmpty() \u0026\u0026 artists.isEmpty() \u0026\u0026 songs.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"334bdaabd911f79e5bc4b67067e9752d122b4e69eb64e983afc68b252228f7cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefs.colorSource == VizColor.CUSTOM || prefs.colorSource == VizColor.GRADIENT\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/VisualizerSettingsScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edf510d0c66d831b46e69dda1ddc372eb3de12a3d4b2131e72ef8d27191a04a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefs.dspConvEnabled \u0026\u0026 prefs.dspConvIrName.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0f60f8b16997d36a28faff82a95a690ec96f3dcee546c40be5ac3c7c3a7ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefs.dspDelayLeftMs \u003E 0f || prefs.dspDelayRightMs \u003E 0f || prefs.dspTrimLeftDb != 0f || prefs.dspTrimRightDb != 0f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"768b6954ef571193a122850c8be4232e7319314fccdabb5e2627a47173c7dea8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefs.style == VisualizerStyle.RADIAL_BARS || prefs.style == VisualizerStyle.RADIAL_WAVE || prefs.style == VisualizerStyle.COMBO || prefs.st\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c38f040af451f3f7d4bbdb7e22c70618c9b638bd9072b37521c6f1cd5b548e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preset.rack.enabled || preset.audio.dspMode != DspMode.SYSTEM\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/audio/compare/DesktopComparison.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":"app/src/main/java/com/aurora/music/playback/compare/ComparisonRenderer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"deda11792c3d1b58fe9148968d2ec944cd875eb6bab0628ac907deabda306fb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous?.id != song.id || previous?.artworkUrl != song.artworkUrl || previous?.title != song.title || previous?.album != song.album || prev\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/DiscordRpc.kt, desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e675d74837d99cde314d16101f7a8e75df70cda69190495065bcd3ba647f90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous?.impulse === impulse \u0026\u0026 previous.rate == rate\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt, core/src/main/kotlin/com/aurora/music/playback/PrecisionBlockProcessor.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":"app/src/main/java/com/aurora/music/playback/ConvolutionProcessor.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b4d3ba3875d4780395b865a480956561f3092cd679c3a36b8d241368bc014"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060progress.failed \u003E 0 || progress.error != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/SonicSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/SonicSettingsScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"305185bed9aec34adb55dc79ef43db9aa800aa0feb04b3f304a7ac2c6ba522e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060project.clips.size \u003E= 2 \u0026\u0026 !state.busy \u0026\u0026 !state.building\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd94e3031d817fd130b464919802dc4309b9025dfbafec461a6b9c9ecb3e14ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060project.config.leftLimits != null || project.config.rightLimits != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b664c78885ec459eb859a9a944b879e42602d3f002370758ae21abbfcc02ff1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rack != null \u0026\u0026 rack.nodes.size \u002B addedNodes \u003C= 16 \u0026\u0026 oldBands \u002B bands \u003C= ProcessingRackCodec.MAX_TOTAL_PARAMETRIC_BANDS\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"899468f1d93e995770e42958ad0e9e362094a8b37e0642f85401aa2f0a7efe85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rack.nodes.isNotEmpty() \u0026\u0026 chains.size \u003C RackSubchainCodec.MAX_CHAINS\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/RackSubchainsDialog.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":"app/src/main/java/com/aurora/music/ui/screens/settings/RackSubchainsDialog.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"698865b459dec1b346db4111e5a8f0aaecc8f9836a4e46c66220ec3084426a73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rack?.enabled == true \u0026\u0026 audio?.dspMode == DspMode.CUSTOM\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConvolutionLibraryScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a8b7b457c71e7da1442b7927062e1978d6a30bbdda93ec6c4ccc7aea2aa02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rail \u0026\u0026 sidePane != null \u0026\u0026 playerState.hasTrack\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbfac9f46e4c38173a90a62e4169e49d7b0d1784ae1980cb657e61271eb27ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ready \u0026\u0026 index \u003C ruleSet!!.rules.lastIndex\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6574e00ba8e11cea261ba553cd93d1b447e6ed2cda1d785fdcdc210a19c70dfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ready \u0026\u0026 library?.error == null \u0026\u0026 library?.presets?.isNotEmpty() == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f72defaacca8f04ed57049fc9ac3b8b1c5cdf11de35b34761cbe2541db1146"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recap.window.period != RecapPeriod.ALL \u0026\u0026 previous.window == recap.window.move(-1) \u0026\u0026 previous.millis \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/RecapInsights.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":"app/src/main/java/com/aurora/music/ui/screens/stats/RecapInsights.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25fe1643de739715b93194959263a8e46a9fc09e85c62c6e2f6543cfd188972"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request == stemRequest \u0026\u0026 state.value.project.id == projectId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f495fd6ebec161a1e8c316bad3830f30bc71fb648786f4f72da7528a5986a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.code == 403 || response.code == 429\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.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":"app/src/main/java/com/aurora/music/data/updates/AppUpdater.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"958be5e2be637c4f7acc26785be80d3c56c73a6d0c1b017b2532fe4f811abe86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060results.songs.isEmpty() \u0026\u0026 results.albums.isEmpty() \u0026\u0026 results.artists.isEmpty() \u0026\u0026 results.playlists.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/search/SearchScreen.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":"app/src/main/java/com/aurora/music/ui/screens/search/SearchScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c11942b6f71783fe8c926608d95824caf9e81d7563fb32a78db02e1657f675"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route == Routes.HOME || route == Routes.SEARCH || route == Routes.LIBRARY\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/navigation/NavMenu.kt, desktop/src/main/kotlin/com/aurora/music/navigation/NavMenu.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":"app/src/main/java/com/aurora/music/navigation/NavMenu.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ab5a582b36fe34785edb5d689a15ee0aa846d77a3342cdda80bd8dab0e571e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060route.route.key != null \u0026\u0026 route.route.kind == ProcessingRouteKind.ANDROID \u0026\u0026 route.route.category in setOf(OutputDeviceCategory.HEADPHONES,\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ListeningLevelsScreen.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"307265f3bb0a2e51e6278fbfa954e8e21366a5674449e79055abc7dce8d36daf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ruleSet != null \u0026\u0026 loadError == null \u0026\u0026 !busy \u0026\u0026 !context.frozen\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3481e19f41b1bc130b3c03fb5c1f0f6a4ac32384b2e35f168718c3ed693a578"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rules != null \u0026\u0026 loadError == null \u0026\u0026 !busy\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/OutputPresetBindingsScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5facecfd884c64223ba64ff1acc3dfe95ff5405d227a6331dd3baa2aa5af9d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rules.manualHold || route.route.key in outputRules.manual\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/PresetRulesScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/PresetRulesScreen.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fc741ae95b88bc7e15c3304babae459e54117f62f68e0913951f804841b94a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.isNotEmpty() \u0026\u0026 (abs(anchor.offsetMs - run.last().offsetMs) \u003E 900 || anchor.songMs - run.last().songMs \u003E 12_000)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt, desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"13edf3aac35453819f82caaca73959d2792997c3ed62d3be4fc6b0097f8e2de6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.songsLoadingMore || !s.canLoadMoreSongs || s.loading\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739a2de4ff7c26f454da4694c034eab44ab874486ae768e755a5d503fecc6a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060saved != null \u0026\u0026 (draft?.id != selectedId || draft == baseline)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningProjectsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningProjectsScreen.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93792c433529210e9464b2a70c827367fd4cf1f9150a0bb5b59a0c1c2637149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedItem == null || selectedItem.offset \u003C layout.viewportStartOffset || selectedItem.offset \u002B selectedItem.size \u003E layout.viewportEndOffs\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/visualizer/VisualizerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/visualizer/VisualizerScreen.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d52911c8b1449841f7e45df3835fa53dd713cdd118a49e0adfdb1b821093413"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serverId == null || it.serverId.orEmpty() == serverId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/StorageInventory.kt, desktop/src/main/kotlin/com/aurora/music/data/StorageInventory.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":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9119cc5c5b109720d199383fa896ede363cc67db6ecd149d08f29fde6bfc877"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session != null \u0026\u0026 session?.type != ServerType.LOCAL\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AboutSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/AboutSettingsScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1e7e9c6732f0e770c3c8f8f43cb94dba2207e042af569e1170b1e79ebb3f92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session != null \u0026\u0026 settingsStore.sonicAutoAnalyze.first()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/AppContainer.kt, desktop/src/main/kotlin/com/aurora/music/desktop/DesktopContainer.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":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"81131995c09d16b894d11098773909fa8e58840d7e33f266e725783234dfd19b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionCookie.isBlank() || profile == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/AuthViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/AuthViewModel.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebc28464211b3eee5059e0a668fdfed50e29dcf553df11aef640b69c9c838c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionReady == true \u0026\u0026 !container.offline.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4fd5d6bfb5c5b881cd5dacf2e3ba19ca592b1ec9ae96479860443ec1f0359f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionReady == true \u0026\u0026 session != null \u0026\u0026 session?.imageUrl.isNullOrBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd673e9e375a8215f274c92106a0d5dfdb93c0c845c36d12af70e6ecd78a08d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060size == entry.size \u0026\u0026 crc.value == entry.crc\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/ProcessingPresetBundle.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c794f164e182638c25c1caa57c1e430182fa2d479d0def1e8180fa87f474d0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060song.durationSec \u003C= 0 || song.streamUrl.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafbd83118c6c709a52e8412ebfb13315c798e215dd272e39f57c608201fcd9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060song.id.isNotBlank() \u0026\u0026 !song.isRadio() \u0026\u0026 !song.isPodcast() \u0026\u0026 !song.isDjSpeech() \u0026\u0026 !song.id.startsWith(\u0022aurora-mix:\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"659520e950f412b573b865fd69df5469cf223760aecf684d629996cffbea51f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060song.size \u003C window || video.size \u003C window\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt, desktop/src/main/kotlin/com/aurora/music/desktop/video/VideoAudioAligner.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":"app/src/main/java/com/aurora/music/playback/VideoAudioAligner.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"472679438a1d45430174dec8640d7fa524bb5747ca818f698c880956166192b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060songId != null \u0026\u0026 songId != currentSongId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/CompanionVideoController.kt, desktop/src/main/kotlin/com/aurora/music/desktop/video/CompanionVideo.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":"app/src/main/java/com/aurora/music/viewmodel/CompanionVideoController.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"de47d37f5a753f48dce498cb0e511e7bbf1ae0ee8777250425df9db4b8bd4566"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060songId != song.id || videoId != match.videoId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/CompanionVideoController.kt, desktop/src/main/kotlin/com/aurora/music/desktop/video/CompanionVideo.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":"app/src/main/java/com/aurora/music/viewmodel/CompanionVideoController.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"514fa814638c73596d0ff48b5458cb910f096dcdf22dc84153f3866784cde385"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sort == LibrarySort.ALPHABETICAL \u0026\u0026 rows.size \u003E 30\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fc258ddd8416b04a53e6ddb728087c4bdf109b440f2f0dbd7e975c9f19b9c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.isNotBlank() \u0026\u0026 aId.isNotBlank() \u0026\u0026 bId.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ComparisonScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ComparisonScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d06284465079335f707107fc0f89010f3bb57313421ceda96931cdf6084c816"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.isNotBlank() \u0026\u0026 replacement.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/IntegrationsSettingsScreen.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3165b626e618b01345e46d03084b9e9af233df2af5d286fbd9c95251dc0a2633"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start == SongMenuPage.ROOT \u0026\u0026 song.albumId.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.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":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4750b3f62bfee0e617d1b1cee771250ba16c80f12214ff8343e2b046fabce01d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state == YouTubeDownloader.State.Queued || state == YouTubeDownloader.State.Saving || state is YouTubeDownloader.State.Downloading\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.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":"app/src/main/java/com/aurora/music/ui/screens/youtube/YouTubeDownloadScreen.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a308fc2f767f355619d8119df9db997cab780dce48f776e97a53077280e36a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.canLoadMore \u0026\u0026 count \u003E 0 \u0026\u0026 last \u003E= count - 6\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/detail/DetailScreen.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":"app/src/main/java/com/aurora/music/ui/screens/detail/DetailScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ad86c28f066c651e521e0828ff452110737943af51cebc28e66905d19e21c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.canLoadMoreSongs \u0026\u0026 count \u003E 0 \u0026\u0026 last \u003E= count - 14\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca9ece2591e483eeb5afbb75507e3ccc81aea042ddf34db916551d62f733198"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.checking || state.download == UpdateDownload.VERIFYING || state.download == UpdateDownload.DOWNLOADING\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c308eaa266b3d98aa6138a4e5789fb2a150ba9c696b4fa89aa127ec966afb11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.download == UpdateDownload.DOWNLOADING \u0026\u0026 progress != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AppUpdateCard.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":"app/src/main/java/com/aurora/music/ui/screens/settings/AppUpdateCard.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0495c50a26db0aa97282ceeabe83bbc07832ddd8798f379d1fb369808f70de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.loading \u0026\u0026 state.albums.isEmpty() \u0026\u0026 state.playlists.isEmpty() \u0026\u0026 state.songs.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"004b7ac81a9e52630cb217508196f998be7298020fc3184836e9c81ba9cf5f74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.loading \u0026\u0026 state.quickConnectCode == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/auth/SignInScreen.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":"app/src/main/java/com/aurora/music/ui/screens/auth/SignInScreen.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461c53ba35de52e06be89ddbd89471476b9d5a18b950742248b33eaed0bef7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.pairing != null \u0026\u0026 System.currentTimeMillis() \u003C state.pairing!!.expiresAtMs\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ConnectSettingsScreen.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bc0ee8ab48ce41f2eb31cd4f0345a542d4bed6f2521e1758826b4d5edb7ce9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.phase == AiPlaylistViewModel.Phase.DONE \u0026\u0026 intent != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e000aa4cf9edd7635e9f60f73d2baa0fce3cd6c5ebdb9ad49fdc0d54687c44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.phase == AiPlaylistViewModel.Phase.THINKING || state.phase == AiPlaylistViewModel.Phase.PICKING\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.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":"app/src/main/java/com/aurora/music/ui/screens/aidj/AiPlaylistScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7d15ba55c9f7ff70c856fb83d44f453ba36b26ba44acafcc5b9d0cae2f4ef7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.playlists.isNotEmpty() || state.smartPlaylists.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/library/LibraryScreen.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":"app/src/main/java/com/aurora/music/ui/screens/library/LibraryScreen.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8641dfaeae0e93b160517218745af5440525f0c434106888c78270736ba437b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.query.isBlank() \u0026\u0026 state.activeTag.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/radio/RadioScreen.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":"app/src/main/java/com/aurora/music/ui/screens/radio/RadioScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"19746830666c5e1180d61b0d45cb0a70b68547bbc7db9fda63d9417f525fb431"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.query.isBlank() \u0026\u0026 subs.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastsScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1469330e8a887c1a0012f32e3baf480cccb55863cd09c3cb9b200546c762b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.scanning \u0026\u0026 unpaired.isEmpty() \u0026\u0026 state.paired.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.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":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7ace2d05d901005c0ffa7227eb9c068eaee50e2b78026045ae76aae861e6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.sleepTimerMinutes \u003E 0 || state.sleepEndOfTrack\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/PlayerScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/PlayerScreen.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed7a7010b4e34d77b7bbfd87ed0eb269898fd555c8462e5232c55048a4034f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.songs.isEmpty() \u0026\u0026 state.query.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/MixScreen.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":"app/src/main/java/com/aurora/music/ui/screens/player/MixScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75c6ffe1d3e7f3e4b9a2babb2da28f6257f9e16d03a0f987bac2b13faa6235b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.value.building || state.value.project.clips.size \u003C 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7eb334d85f0c70351df98dbee7de54bc339bb9b8bc99bb8cd813d63363d6ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.value.dirty \u0026\u0026 state.value.project.clips.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt, desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.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":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1e7867a6ee128c582b5085ee16a8353c7b0b2ed4268aaedd79b71bec3b1e15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.ready \u0026\u0026 status.bytes \u003E 0 \u0026\u0026 !clearing\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/AudioCacheSettings.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":"app/src/main/java/com/aurora/music/ui/screens/settings/AudioCacheSettings.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfec571532ad1232dfb08610565b953e65de609e4b1760c40be0e495b1fcf58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style == ThemeStyle.GLASS \u0026\u0026 size \u003E= 22f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/theme/Type.kt, desktop/src/main/kotlin/com/aurora/music/ui/theme/Type.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":"app/src/main/java/com/aurora/music/ui/theme/Type.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dbf15f468d42258b2e663f64a97baa38545dc734f1e26dd660ee4e0708a35f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.length \u003C= MeasurementTextImporter.MAX_TEXT_BYTES \u0026\u0026 text.toByteArray(Charsets.UTF_8).size \u003C= MeasurementTextImporter.MAX_TEXT_BYTES\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.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":"app/src/main/java/com/aurora/music/ui/screens/settings/TuningMeasurementDialogs.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd09dd820cf38cc68171aaf464020725780ca60f2628a8a70b2e410a58803e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.length \u003E MAX_TEXT_BYTES || text.toByteArray(Charsets.UTF_8).size \u003E MAX_TEXT_BYTES\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/RackEqTextCodec.kt, core/src/main/kotlin/com/aurora/music/data/tuning/MeasurementTextImporter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/RackEqTextCodec.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6344a27d764454c4975e345139c4423c299b28b1ba475b982405a7b14243063"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.isNotBlank() \u0026\u0026 enabled \u0026\u0026 acct.username.isBlank() \u0026\u0026 !active\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/DiscordRpc.kt, desktop/src/main/kotlin/com/aurora/music/data/DiscordRpc.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":"app/src/main/java/com/aurora/music/data/DiscordRpc.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56de6c1fe2dc6c4037bcfc1828a11473c55aa990d66a508e382381297486a5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tracks.size == section.items.size \u0026\u0026 tracks.size \u003E= GridRows * 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt, desktop/src/main/kotlin/com/aurora/music/ui/components/FeedShelves.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":"app/src/main/java/com/aurora/music/ui/components/FeedShelves.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9235a645c5c1ec6fe8a334af6c404fbc414fc743dbfa9208ec54274f2d62d9a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060twoPane \u0026\u0026 simpleMode \u0026\u0026 paneRoute in advanced\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484cd1b23b57a5026aa02c37b15bb98f08542b0553fb516a87cfd898ec8e6e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unpaired.isEmpty() \u0026\u0026 state.paired.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/player/ConnectDevices.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":"app/src/main/java/com/aurora/music/ui/screens/player/ConnectSheet.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7814dcc152e51f908db8cb69a15c4f3c4336c051866eb9b8d0570786e870e728"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uploader == artistKey || uploader == \u0022$artistKey vevo\u0022 || uploader == \u0022$artistKey official\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt, desktop/src/main/kotlin/com/aurora/music/desktop/youtube/YoutubeResolver.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":"app/src/main/java/com/aurora/music/playback/YoutubeResolver.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e03c00af149527d98962c9bb45526caa2e82586d526c13034b3c4ee34139cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri.scheme == \u0022https\u0022 \u0026\u0026 uri.host == \u0022github.com\u0022 \u0026\u0026 uri.port == -1 \u0026\u0026 uri.userInfo == null \u0026\u0026 uri.path.startsWith(\u0022/nessli420/aurora/releas\u2026\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/updates/AppRelease.kt, desktop/src/main/kotlin/com/aurora/music/desktop/updates/DesktopUpdater.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/updates/AppRelease.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8782a834663f7f99098526372499f7dd46f2d48e93f5b0207031871b428f05db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.isNotBlank() \u0026\u0026 (type.isBlank() || type.startsWith(\u0022audio\u0022)) \u0026\u0026 audioUrl.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6596423a42ef5c3ff3928b7405f4ce0596c5818c2ea4d39ba207f1adb6714bf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.isNotBlank() \u0026\u0026 type.startsWith(\u0022audio\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt, desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.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":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a97b2e07b7f07363c9997324b476a801f10ce3e218d9f1725fe664df396b10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.startsWith(\u0022http://\u0022) || url.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/data/VocalAnalysis.kt, desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.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":"app/src/main/java/com/aurora/music/data/VocalAnalysis.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d41362b19ed99389e84cddf4bbb646652d43ef923ab7efa8b2b0011d7d5fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.ready \u0026\u0026 !clearing \u0026\u0026 usage.caches \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/StorageRows.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":"app/src/main/java/com/aurora/music/ui/screens/settings/StorageRows.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d451dfd3086623339cc3519c6801af729289f12a536dc855cecf6d00bce99ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useNavigationRail \u0026\u0026 widthDp - TabletMetrics.RailWidth.value - TabletMetrics.SidePanelWidth.value \u003E= TabletMetrics.MinContentWidth.value\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt, desktop/src/main/kotlin/com/aurora/music/ui/layout/AdaptiveLayout.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":"app/src/main/java/com/aurora/music/ui/layout/AdaptiveLayout.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ecb5cacb6cec494adb91df6fad8ed82bd8b04fb4418c76998788a021d38b44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 (value == original || value in range)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/ProcessingRackScreen.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":"app/src/main/java/com/aurora/music/ui/screens/settings/ProcessingRackScreen.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18f72accde8350d6a5a7c00a873d2c8282de742ec944ed2fb5c5695d860b523"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.isJsonPrimitive \u0026\u0026 value.asJsonPrimitive.isBoolean\u0060 appears character-identically in 2 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef6afae568d1db54879ce9f6bd3aaefe4d3680db02e257c41ad796e20170597"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.isJsonPrimitive \u0026\u0026 value.asJsonPrimitive.isNumber \u0026\u0026 value.asDouble.isFinite()\u0060 appears character-identically in 3 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt, core/src/main/kotlin/com/aurora/music/data/tuning/TuningProjectCodec.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c0e296b4b995a5b0167cd1d60da9835bf7a5b063b0b8fe3a0cd04f9092c0b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.isJsonPrimitive \u0026\u0026 value.asJsonPrimitive.isString\u0060 appears character-identically in 4 files \u2014 core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt, core/src/main/kotlin/com/aurora/music/data/ProcessingRack.kt, core/src/main/kotlin/com/aurora/music/data/routes/ProcessingRouteCodec.kt, core/src/main/kotlin/com/aurora/music/data/rules/PresetRuleSession.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/BackupArchive.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c7a04d6bb1bb1fffa2092e5f9db59401480b62c34865ead013aec09fe1636"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060videoSize.width \u003E 0 \u0026\u0026 videoSize.height \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/components/AnimatedCover.kt, app/src/main/java/com/aurora/music/ui/screens/player/PlaybackVideo.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":"app/src/main/java/com/aurora/music/ui/components/AnimatedCover.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fab142007ba34df992a5df8e715c526f1f1b68f4fc47ef340d8b67bf97c66cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vocalTemp.renameTo(vocalFile) \u0026\u0026 backingTemp.renameTo(backingFile)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/mix/StemSeparator.kt, desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.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":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a9a39e55eadd8754f5677d2093aa6f1d6b77f70d5d5fc6e35b00ca7b9f3328"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.period != RecapPeriod.ALL \u0026\u0026 window.end \u003C= LocalDate.now()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt, desktop/src/main/kotlin/com/aurora/music/ui/screens/stats/InsightsScreen.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":"app/src/main/java/com/aurora/music/ui/screens/stats/InsightsScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae544d416974a3af929fd81bca1b45a432239f2c674eb1fec31d6c5531e11af9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060windowLayout.useNavigationRail \u0026\u0026 showChrome\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/aurora/music/ui/AuroraApp.kt, desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.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":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"95474b568b6a34ae856ae80f135d6623c4ccba9de3eb45e621bd6946673493f2"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060onsets\u0060 is read from the bytes being parsed at line 45 (\u0060int\u0060), then used to size a \u0060ByteArray\u0060 at line 47 \u2014 and nowhere in its scope is \u0060onsets\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060onsets\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/VocalActivity.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"648940d3eee9f9461346b3e02e97e864cc89b895c96bef56e236f9a34ca1232b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060ProcessingPresetCodec.readAudio\u0060 is public, takes a document from its caller (line 213) and hands it to \u0060ProcessingPresetCodec.validateShape\u0060, which calls itself at line 177 with a piece of \u0060actual\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060ProcessingPresetCodec.validateShape\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060ProcessingPresetCodec.validateShape\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ProcessingPreset.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"31939f2dd3589e8d486b074ce59c71b3eb9b3c9e77a50e712bae70d4d29e6b19"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060SoundCloudBackend.song\u0060 is public, takes a document from its caller (line 432) and hands it to \u0060SoundCloudBackend.art\u0060, which calls itself at line 427 with a piece of \u0060item\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060SoundCloudBackend.art\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060SoundCloudBackend.art\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudBackend.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffb655162b6b14e6b7edb7184ecf34bec94dcf8b2d0e2ede9c8d89b02e200aa"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060objects\u0060 is public, takes a document from its caller (line 34) and hands it to \u0060visit\u0060, which calls itself at line 37 with a piece of \u0060node\u0060 (and at line 38) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicClient.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6caef95ad8ee03d97bbf0a0bc3a0821e1ea2dafdd3b87e14e1dd9d91ecb5e7a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060YouTubeMusicParser.home\u0060 is public, takes a document from its caller (line 17) and hands it to \u0060visit\u0060, which calls itself at line 20 with a piece of \u0060node\u0060 (and at line 35) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04c0e1fde321418ca14e55b7a73ca715ccf2e02d0db3cd4a0b8e92dc9090a16"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060YouTubeMusicParser.categories\u0060 is public, takes a document from its caller (line 48) and hands it to \u0060visit\u0060, which calls itself at line 51 with a piece of \u0060node\u0060 (and at line 65, line 66) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a7c31bee05442cb043c5ddbdbe470ced5adce45818b39932dc4610213ee5d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060YouTubeMusicParser.results\u0060 is public, takes a document from its caller (line 77) and hands it to \u0060visit\u0060, which calls itself at line 83 with a piece of \u0060node\u0060 (and at line 137, line 138) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/YouTubeMusicParser.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2ce0ab05a5f61bfb1eba38f0ae3c630eb82d300631ab8eb8ef5765a6a5a50"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/14 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: ensureModel: \u0060ensureModel\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"059ec0003e33590ddae51149e63179e3bc210295f9ab52455fefceb401974b30"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: artworkBytes: \u0060artworkBytes\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/MediaControls.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3523caa0334ffa073d8c8d85d0640268e8f6870986d423513ae27361e81c99ea"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fetchEmbedTracks: \u0060fetchEmbedTracks\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0a2c284416624f47f721810820061e8f25f204f05c0f6cdf82748c81367ef8"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: request: \u0060request\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/AppleMusicClient.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f3d87408db42d90b2e918b61eac2750d78ea324d4b46c40bbc7a829682a55"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: uploadFromUrl: \u0060uploadFromUrl\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/ImgurUploader.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bf65c66616422253c6d98c41761052cce944d8e32b573aacfbf317eddc36c"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: uploadBytes: \u0060uploadBytes\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/ImgurUploader.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ae8fbde8db742cfd01cba3ff6fdd031d0ca8f48d36f11ce70afb80df8cd618"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: userInfo: \u0060userInfo\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/LastfmClient.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a710d316c469a782344b55c95b76c5fa4d9dd86a4bf30b5e47dae291227529d4"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fetchImage: \u0060fetchImage\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/MusicBrainzClient.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde9d55c7c5d7219d38d6ab642f89e18568b7db4fab667754c46bfc3a8da970"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: refreshLogin: \u0060refreshLogin\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87faf2c484fb0058ef09e6f782b1ce1e53af80ad5405fe7ac02cad515811e6"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: attempt: \u0060attempt\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/SoundCloudClient.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d321541c04350c696c3798529904eccf5e21099b0cb50e971eba8d35a2998440"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: candidates: \u0060candidates\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/artwork/CoverArtClient.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd7c1de5484879a2a933b22a4b977f4590c689115c6dd75b00da8ee73935d5"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fetchPart: \u0060fetchPart\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjModelStore.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8460a553db0b18652cf864b4cb55644c130131de045a0212ab713c3b0bd9ed30"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: ensureModel: \u0060ensureModel\u0060 suspends, but makes its request with \u0060URL(\u2026).openConnection()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/mix/StemSeparator.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b311f2c3001624848e37042e3013c3fc63b3671c0895e4e30e12c4ec96ca4"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fetch: \u0060fetch\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AutoEqRepository.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"01399171bd1917d2c58da1ff5eca2e31579ef1be6ade03e5695b91124534b797"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/AiPlaylistViewModel.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b72550294742a84b1b120af13aaf8fa33e4b0fad8c594c4e5722b0c7daad60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0354a1ca5825787adb9487c98bbf3c507f77f9019e49ef31a0d737109116a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f385eb52dc5fea55b33ab36107491dfd33a45171352209eac85d2b6a4a22c115"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e723372063dca268e66de0440bdae5862b7a48a7eb97a985fd9fa9f12c0a0d8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b006cbc9c573efd766e9cf79bdd7590ffd52dc2cd035034e95cc13727811f8a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"72130d0fcaafe6275e62a687f99f5fe6716914b6cc5361afee7ddbd407fe4e75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f717126215d8bc318551392cd7cb85a90c4734f5878c564ddedb268e8463d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"12671898daa7a5eb2b3e65fc9152c3d285ff692ca6bef45d9f41f735d435b018"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/library/ImportPlaylistDialog.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f376196edd562a28e5247e77e52774fb6af462c07b73dba3cc7cfc0e5d696b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc00944aca8f72b66fc4fc806182501c80e942fad95f1ddeb9d6a067335db7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/RepostMenuItem.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"746161c24d95ba5370c75b743ff985c8e891093eb7c70bac157c9b6f1b6fb33e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TileMap.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d38eac09ad40785804cf12898d4839228901bc6174abe15b2d8e9aa5ea928"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0afb7b9fd010da7a5ca84a7b69a4c3a32d50c2eb87897907dd91207bf1eab9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"25abb2b9287d10c564366aab65af5bfdba9d398db793f660c695974c7adc0cd3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"954d75513a140a783fd7eccaa79e4ece73537bfa05d001e6525b7ae942908a08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/mix/MixAnalyzer.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e798341de521568bdf741624c6750ab7d689803ac1088bd5b913f96352f5849"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/player/DesktopPlayer.kt"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"217dfc983f743f6982d6f7b6c55aa157c431e8f9a761c3cee56a1d9a897bbf65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6984241c17b1576e86a88a12a3b93463b1a1672fe1fa62881c85fa9b28a4016b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/DesktopPlaybackEngine.kt"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983c0268c1b526ec2634776b7d989d801169802013c07ab8f89f2c2e7e3083c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/DiscordIpc.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7858985cc4801b10ed57711865041e3ff481a626014b08e521e918f4e72875fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1a48bb32b3d3233a7bb75a7dd06d30bd9b9e09fcad2ebd627669696d6f9980"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3cfdc0b7481552ca3692dc1503109330b95b00b5947691af3b0491d97d66bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"716677812693175679420dfac61a96c47a8ad2583f264a5f1eb24abf3798ac97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"48866d4c72aee58b18012258f2587ebd91f19fdaecd30450f8b85f616a8ecbb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/SftpDataSource.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a883af3142410da303bd30344ea1800c7240bc28c781c404e1ff949935f0e34f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-wrapper-media3/src/main/kotlin/com/decent/usbaudio/media3/UsbStreamingThread.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"707d0b271b2a46e3e3168e5e7f3d370c8e533bfefe072a83303351f1ae02b6ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"decent/decent-usb-audio-driver/src/main/kotlin/com/decent/usbaudio/UsbAudioDevice.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa583ef1f63247f3950bda1e2a29f8697f726f64e60526122e93885c7fa2dcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/BoundedHttpServer.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c4f7fa5a25774acd3c288faed2b376c682c737ea865dd02044b3f8828563c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/RendererClient.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae569f62d18a158b794b2956347b7cc09d122ed0e8f70d320aae560ce5135205"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LikeLedger.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5e6789d8bebb18aab930834854b2cc6e960ea894b43db950be4b1e8bdac2ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MusicRepository.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd51301dbb3a95994b4021a1bcda68257763570f12b7744f32670f540e5919a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistImporter.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2b410f9960563616a98ccda3ae06d1684621480505eeb1157d7dcab13df4cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlexBackend.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03fef605da0246bce0b2a784c4ea3fa88e10793835a8019d214138a19908601"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlexBackend.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ffbf2575b521018ad76236d16bdb218409902226e4bdb5121327ed9548f032"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlexBackend.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f5040ab406ffb59a56a8e95048475910b1e7550f6313b55a550b7f689b0d66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudStandIn.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b259c0f7853544059e421a6b1318bfca33d030fae6f879604664a684f46fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudStandIn.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fa96c2e8c23349c081c6cf4eb33a60ab8682836254181c482bcc2c31f68402"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudStandIn.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7603b5fb47a4aebdac46895ff27a9943b71f2afe0b266c15d3e7f6698f3b66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"da92e3ef5124a8af00b36cbf674e6bca584fed0df95d99dcc5d906c2889e7361"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/FeatureBorrower.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"801fc5285ec820afe96e27a8f22ec17b6aa0bde5103e22213f68af62b9c6d4f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/SourceRouter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a793c0c9ae5831aa4272bafa5f88879026d49ef624ff603a1f0e8cc775b6025"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/merged/SourceRouter.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddcef4cf6e687ce6b45bfb4bd6ff9e20b1e632898d0cf7a2c27b34b6285ca5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjEngine.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"621ed23cf75f509a0d62a2c979ee6c88c34c5d9223889f9c5cc2e1092ce9c0cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjMode.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b63ceb1b5735f2121572957c9d6ecd0c1c13d144c4a0b8463ef84f6c877358e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjSpeaker.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7866c5d67e32154282eed814555417d112ff71818ca32467c50f4b058b35b6fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjVoice.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d344af9f0e881c9fd76b59d78344492c7fcb804d405ead75128015403f17cb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/AiPlaylistViewModel.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eefa3f5a59fd82110781c1bbd3ca7420d5e5f33fafa7ec50d5f3be5e6ef83e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/DetailViewModel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f90544c68eb3f788744b47ed0ede48e040c2ce255545fe8d186f172faea91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5f07fec5bd0229254844f59ed34c1710ffb5d6fdcc45a0081b58b44f2c895"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/LibraryViewModel.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f967d362aa489177226640ee344299d1168cb01c535309a41638b1660f29c90b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/MixViewModel.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fdcfe4823b774999ecfd38ef2d2161ef3a6da4596ddb4d67e95341fe307cdd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/viewmodel/PlayerViewModel.kt"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"084a84d1bd4714485649702eb6039a00e30a4545e252e9a80fa496811eef913f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/AuroraApp.kt"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5725d74af911bfab124caf1889c56cafa9bc642fcc2b7ba300ebdbbb09653d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/settings/EqualizerScreen.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"db737a08f7dd01539d03c2cd686b3d9aea9149edb1495da11389956a4a15dfb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/player/SongSourcesMenu.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c391a2279c3fc5ee2536395055c25ff374af8279afe5d3283d3afc06bb907c01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/library/ImportPlaylistSheet.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ed6a760a47f6d70c9f1103137a1c89861851c37b66c6864d239f7e0c6d240"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/explore/ExploreScreen.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377d0d4317ec3b432fcc5810f0d0eb4bbdc1655fa21917fb79cad0fa196f26b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/RepostMenuItem.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2537a0967dd2de40a3be3bcbf6d955873ed5daed85c1323ea3a25de774c775b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0477cc7ef5ceca6df023e7f1e1307879c88e2c7098ccabb48ccf985f684e43a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435dd657523fa3ecc9b515be0f435516723788396cd2f5f2066734d604f6161"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/components/TrackPlaylistsSheet.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc51aec9b0260e73a696a0e7cee472a1bdbca9dd1b1d89b911a719dcaed04b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PreferredPlayback.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e289dd8f2084c25618fa9276555cffd552f0cf2b1da4360c21e3e0eb4a8205f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PreferredPlayback.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f166b761a66d65f1597dee7da641e93283e9205361b988f5d6318d5e11754ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkMediaPreparer.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d0f714b98bf1d19f52d6d7b3b9b7a3da48787c9d79394e577f699672e2264"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/NetworkQueuePlayer.kt"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b9b1c9259e4f2649a2d390a79474570205b3f4731b051293d67e77a3d14dcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/dsd/DsdMetadataReader.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fbc76f62c9344727e9c9dd8da2c8dc0e5bc516d89c25f0336fd66b65a77100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/extensions/ExtensionManager.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3200e131d2bbbaca9df0d5bd22985cf5ba313d0adc668ca0c3b0e5a3ac088f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AppContainer.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"03214df112605ebc708119bc84fefddea7c703c0711f2062bfdf0ab8dc420e0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/SacdLibrary.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9562b1427e04c85473155c3cd5b0d5ba7e8d585e1e104f4e865b231e2edfe9c3"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0c1cfa9174cecfd4de0139919aa986daa67b5b146f3df1e2744e51df8d4d65"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e12e9bd06e237c8571f886f27c2d9886b09c0b28335f57b177bbcd7041994"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistImport.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc22b5c6f0584150d18e37d08ff6747173407d0d05e12977842d457140893f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistImport.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1f8b3852d2d018b94e57bf32980744c371e859b2dfd398bf765a15f1df8ae"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistLinks.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"05acc3ca0fe836a09890fc46e3dee35ec4dbbd2960304280b097b814c14acdeb"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistLinks.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"09efb21710390bb413a76e275ee3ca075b0b478c67e3e6592e86dfac520dcd1b"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlaylistLinks.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f001d2f07fffb1b44e02bee6bc11bf9d60b165f7e364c44abc72c5256dace9be"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c025d3812827b4dfe6c7f06ed92daecc78aba82956242f42a6efb7076e084b04"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ensureIndex\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/AutoEqRepository.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"074b10de05439be395a8a6abff72457dbdf62d06bc4b2bf56c46369f094122a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060granted\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/CueLibrary.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"378b2cd061d0345986baa79981bbca29fbcda8dd5f00d2c5a65d09886334d5de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060requestMediaScan\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LocalLibrary.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"86969703783e9051e6c42b981bdab39639ac9837d014715d2d06cf1037074121"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060packs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/LyricsTranslator.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"628032184f9b4974e4179fc8d3c197c3549dd52bf1034f83a4604f0f20d784bf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fix\u0060 swallows every exception into \u0060false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/PlacesStore.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba5e2fd082eba5d2a15e61bc17e1aa5567fbf4e709d1a8fa56046795f026cb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060imageUrl\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/ProfileImages.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758d85269404ae75aac5e00e573db4a0d8c72964530fb793d8785ef16ea68b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060diskBytes\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/StorageInventory.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7499e9d84e7cac6735228b98788444ca84781fab8f4cb462f2955c1cb620b8a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060firstOrEmpty\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/TagEditor.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b9ba4be84fe42b03c6cca7160a1409a7f54546c82d15a5a75e368725358aa5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060search\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"334a805eb6f79dcfe2cd992bb36ca9201e31d5405cebe3eb5dc0ce6e50c3c86d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readIndex\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/extensions/ExtensionManager.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c95e02a1ad73e3a0336c575e7aebf4076d726a42c73f8479c9f9cd6fdcc554"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060searchQueue\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/PlaybackLibraryBrowser.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3930f16d088c6639c1a3002bdf3a79d088685584aa52be36a830ce75316ccddf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060status\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/AndroidConnectHost.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8a332f6e8adea95d31ae628fee5e3b0fd22f647f6a8cef6a21d4cdb87e53c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reachableAddresses\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/playback/network/endpoint/RendererEndpoint.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05701eb2175c8e9afeae8c01e26f6d47e9749a7bc355c73ca1b351ab2c9926b8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2b4c1f8ebeacad00abd670a22560cef8a5bd4a09d25a998fcd42490676092a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060wavSeconds\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/ai/DjVoice.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e6c57c85af1f1a2ef8955d03922afac409d43a539110811d7ce525146d7de"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060personalShelves\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/AppleMusicBackend.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04be403bff4e14e3fb5581d4bc76d05400afd8248772ca11714597d9d473a69"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060totalBytes\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DownloadManager.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0ae540f2369b8d76d32e893c4c37d60e41f4bb6b8fc2f79f7354fe857c493"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadIndex\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DownloadManager.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87862d6d348faf5e19d2dc53a489126958238ee1ad15aba97366a569419f6d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadCollections\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/DownloadManager.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c42bbc996c564ffb8d60a50c66fee41d9fb068b4ba9f3c43edab93aac1b61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/GuestLikes.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb69eec13df0e3a997bb5fdf16fe1fd7fc3027f960d1a6acf511821780cb37e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060items\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a9900d930477e91fc6e6f7349f0db62fc66055b748cb2f31ecec8927fadfeb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredCount\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/JellyfinBackend.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98c9b999ed94d2ac148f2dd56a2dda0d6ee9f059e288bd0dfe7f559c11cc232"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060searchUrl\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/LyricsRepository.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44833fe0ea2f9ec8bb8a9e7b417512904a17223f3cf4f5335e0bf7bcc2ed09b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060shelf\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/MediaBackend.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0530f24d91bef05095ca71cba7fd6e38fafaf013b4f8cd6815a5800664835fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/PlayHistoryStore.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"99092a109ed21381a5a58fa8bbe58db2efdffec57594316bbf98b44bec318e14"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/ReplayGainStore.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595d8bae1a99c72e86dfa72389c7cf185feaaa43df7ad128f91d73a276efb36"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SettingsPreferenceCodec.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26534295b44982b26f1a20ed12a4dfd0b352e92bd5ff09792078510152ff16f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SoundCloudPendingLikes.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bca63e22531389847b261da761e76e6f8b67564ffe03f514674b84ef188829"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchEmbedTracks\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"79971d59e15e33d039feacb9e8a646cff908ea4986cc9a222f01a23adf5970ff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allSongs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4342038792ddbde4bf43383d1b770af485032788eb444641b71e0622b03c2525"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060songsPage\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"10446da01f21e10fad6a2a3f826c201e3155121d5147bfa4029292271874e3a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredCount\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f71b24f201a9727cf928549e8865adcc853c670fe3f976870f6964f14dbc48"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detailPage\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyBackend.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7e39a7067a9e0a2017bb32bcdfeb4410c50bc095970516fbfe3a168989f952"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allSongs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"172b434e59d3031cc9eb6f1229bca2682c7f79c061cfc3d28c843d6d1d88822f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060songsPage\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb8b9453e97745b9f365a7bea9c1c7822c00043c02955ce67a2ebd53a05a0f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadAllLiked\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bec28d4a5d65b78e35406d9169659a3de4a3619c020858eabab3db448ab1532"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredCount\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"91599c24d6121eb3611ba73fe38b4257cf73b3d8cd047129f0b8ad8c86067d63"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredIds\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dd6ed89dbbb7b24887f23d0988538b7d5fc5779a34f40c3208e988fc518c58"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060radio\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"185edc5ac0f406247499334965320eb3307a28dcd6f8a2a963cdf5c0b9191b7a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060artistDetail\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff43cc30d3a537f857e435ae212cd567b5bf8df2c4867c25f8dd01237c6f71a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detailPage\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SpotifyWebBackend.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaa0d9caf7e540e1079f7bb12d841af91587e030f71a9e02df5f36ba704a744"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060albumList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe6299e3a45eac422a519c5780ea491570969a8dbd2cbceb314bf05e92ffa8e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allArtists\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d13692feb9ccaa2f9199893f57d2c8625a139b319c78a67c1bb71c0e6878cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allPlaylists\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9118ff51313e30b59956f18d2be1145c230f26e4a0708136cc077279790547cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allSongs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4248f4af7db0b605e3442247e5e6b2e7815710661bc0b13bcf8d5b3678fdf67"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredSongs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79aec933f02daacd147d9048dc75ec36310fce894e9c3a87a980dd43d0e7266"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredCount\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e574e10a851147f5c14ea932a6ce3684e291df0c79a5e7267d5e5fdf2c80cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060starredIds\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df58edd6563c140080b5cd1dca425cbebecd7eb6ee9e49bab19e56c18fe5bb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060radio\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"520538fe5bc0f5a851c3a9945023c0e51155c0abe9d35f836102245699ebe9d8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detail\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/SubsonicBackend.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e33d088eaa9908fdfaf9e9971379d6311c031fd3d9f12b2df7441534abeb5e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/data/remote/RadioBrowserClient.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b786c00c3537580af8f345b9438279889809115a6debd04e1234338787b6d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060localAddresses\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/playback/network/endpoint/EndpointTls.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bf058a8c485ba17821454e44c3e470f0fd62bf113cda300b51c6521a5572cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseReleaseDateEpochSec\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/kotlin/com/aurora/music/util/DateUtils.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e697cf78383f93e52940ff02c5ea8b77d232b910eb1a56674dc0712fe3e75aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060names\u0060 (in \u0060windowsPipe\u0060) swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/DiscordIpc.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f453845c6370aa8c51054c22560b5de66f13925498f5006e89767f4a8576ad"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060data\u0060 swallows every exception into \u0060mutableMapOf()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a4b5953ce2ea209a271c8718214dd426456903a408ea2713a11dafe7466f67"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060diskBytes\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/SonicStore.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce96a01967d2a7f121c2460dbb471bbfa012bcb127f7b8846d08a52bb2839c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060search\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/data/remote/PodcastClient.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"421e1a861da86dc879adfa4df308337576e145fadfbf6244590997f4e4011d9e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060playbackMixers\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/audio/JavaSoundOutput.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7563117b42c751f96e9a5a406d503cf977dcb531159d3ba30c94fa557090dafa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060lanAddresses\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b144b2709fc9bbeb4950cdc110442eb1e05e0b70a9f5eb710076e9943b1640e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverDevices\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/ConnectPlatform.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfadbb87a810252dc04eb8f53cb56da3b0c20d39515b6293b999e36f522144a3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060status\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/connect/DesktopConnectHost.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1fc5a00021365e09d0f8c4096f687801ee2de73be83010dfb88000cefaea73"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060firstOrEmpty\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/library/TagEditor.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fdcb290d5dd21b3cedbf1baaff101e93354a5425f6999d3232ae44ba89a0e2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseFolders\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/platform/DesktopSettings.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb628f69add49154c03249e839035a4f046cec7c13b544702bdbb9b20d419d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060webOrigin\u0060 swallows every exception into \u0060\u0022null\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/web/Chromium.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83885ec0ac8b574929b662b4fe424750b754878be9f696b0519d5b92e9d1486"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060originOf\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/desktop/web/Chromium.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08bac2e8f497bd0b73a047c9bd26989de1723ecadb89d8c43f44292c7b57c60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDate\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/podcasts/PodcastDetailScreen.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ad32c72aab2265608a1fae19db300b71b693e073a4e1344b3811bbdec73845"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060imageUrl\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main/kotlin/com/aurora/music/ui/screens/profile/ProfileImages.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aade106964623fbc1b5f0f2cbe2673b416c0f06fb45d66acc313dbcf6e8ad7"}}],"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-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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":17,"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."]}]}