{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"GestureHandlerKt.GestureHandler (cyclomatic 150): GestureHandlerKt.GestureHandler has cyclomatic complexity 150 (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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"654124a62c301ba3dc24bae14bdf2b5a911a5cbc911b80e60037ce1c3577537b"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cyclomatic 129): PlayerControlsKt.PlayerControls has cyclomatic complexity 129 (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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a09d0612f60c78563e0d9c56260872654cd43b5d6c616c537505fc1a38ad05"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsSharedKt.RenderPlayerButton (cyclomatic 105): PlayerControlsSharedKt.RenderPlayerButton has cyclomatic complexity 105 (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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacdb479fdff86b7d5c0aa713cf79a6ded8f22873b289b2c2cb2f7c5441416d4"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemBrowserScreenKt.FileSystemBrowserScreen (cyclomatic 84): FileSystemBrowserScreenKt.FileSystemBrowserScreen has cyclomatic complexity 84 (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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43efdff54e7de0aa912f9712981a4c032d3ed273cf03eb461d944208e4cc3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoCardKt.VideoCard (cyclomatic 59): VideoCardKt.VideoCard has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c420ff7a6b053765ef23a37e40e0ff3fc0ab6b90d7fb73239ba75d6e7a58a6"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoStatCache.readVideo (cyclomatic 43): VideoStatCache.readVideo has cyclomatic complexity 43 (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/app/marlboroadvance/mpvex/repository/VideoStatCache.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5fefabc41d4da0760d0495a724056ea9dcc1748a03a1df78ab1a5cdecf51c8"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoListViewModel.loadVideos (cyclomatic 40): VideoListViewModel.loadVideos has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c43dffd6ae88d7d6f669f8a2fdc67ff46828fa2063657e9d873f22b9088504"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackSelector.ensureSubtitleTrackSelected (cyclomatic 39): TrackSelector.ensureSubtitleTrackSelected has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/TrackSelector.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50b3c4c18a4fd864c013d9e45be4928384133e9a6cf5662889bbf5fbf9d9912"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistDetailScreen.Content (cyclomatic 36): PlaylistDetailScreen.Content 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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb6ee5e877f4a6444a3c0b328b3ee1afb38d2b6e282aa28f37370256216f47"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoListScreen.Content (cyclomatic 34): VideoListScreen.Content 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefb4baedd067c8d1b7a6412baad388f13a69e892eb6946fe62205f80b93c84e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedScreenKt.RecentItemsContent (cyclomatic 33): RecentlyPlayedScreenKt.RecentItemsContent has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1a9724c6ca401717c414e7087ea69df8cff47af8ac807c57797092221226df"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoListScreenKt.VideoListContent (cyclomatic 33): VideoListScreenKt.VideoListContent has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0ea67698caa398e776a9c51ac8451e01d7e2199b8256a5acb7f61205eeb068"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaInfoParser.parse (cyclomatic 32): MediaInfoParser.parse 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/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31104e43c1896d2fbb7e938f4f3b3d407fd2b354e5b29ef10c1646588819357"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedPreferencesScreen.Content (cyclomatic 29): AdvancedPreferencesScreen.Content 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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e23471b99a8729adf78ca06dbe1e14b9689632647ff8d3064d4ea1720636e0"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderCardKt.FolderCard (cyclomatic 28): FolderCardKt.FolderCard 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55b2d86d5b04fac95277bf4e114008ddde49fff8bbda9509f90fc27b8b3d84f"}},{"ruleId":"D1","level":"warning","message":{"text":"SeekbarKt.SquigglySeekbar (cyclomatic 28): SeekbarKt.SquigglySeekbar 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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ffd290749199e4107e3493d66027354425d2e11f8838fade3068bcc29ddd9f"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderListScreen.MediaStoreFolderListContent (cyclomatic 26): FolderListScreen.MediaStoreFolderListContent 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9094cec5154a677577c0a56363063ac093d6830211470c1728063fe0332f6134"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedViewModel.createVideoFromFilePath (cyclomatic 26): RecentlyPlayedViewModel.createVideoFromFilePath 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8991f66836441e487f08992f11465346b2d5da0e428fd42355796fb1aa80f787"}},{"ruleId":"D1","level":"warning","message":{"text":"SeekbarKt.StandardSeekbar (cyclomatic 26): SeekbarKt.StandardSeekbar has cyclomatic complexity 26 (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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdc4e8590cd5d6dba715046f7f73ccc9150b4760d7e5adc076555da724f9d24"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlLayoutEditorScreen.Content (cyclomatic 24): ControlLayoutEditorScreen.Content 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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4986f50a811831a9a2090ee7ae047b3c1191963870befa16f9acca524216b180"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbClient.listFiles (cyclomatic 23): SmbClient.listFiles 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b9773f1e1c53b501538749d1b42a1afe56e639096eded3c7197202facd52f"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedScreen.Content (cyclomatic 23): RecentlyPlayedScreen.Content 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051315ba8fb2b0b98f50e925d19859f5ba84b6fa95a37aaa01abbdefde9aa3d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerViewModel.getVideoMetadataFromMediaStore (cyclomatic 23): PlayerViewModel.getVideoMetadataFromMediaStore 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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eefbba3e2f8eb037138dd1ab4798a3f41e240fdcc4be1af86f4b999318016b4"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkStreamingProxy.getStreamWithOffsetSMB (cyclomatic 22): NetworkStreamingProxy.getStreamWithOffsetSMB 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6ddbaf202302a4a277833160b370a8125f7ed0292c55a3d04493a4842a6a75"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistScreen.Content (cyclomatic 22): PlaylistScreen.Content 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0f1902f034f91266673c07559d84a72393f52bf64cf615bdf465e5d351489"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerSheetsKt.PlayerSheets (cyclomatic 22): PlayerSheetsKt.PlayerSheets 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/app/marlboroadvance/mpvex/ui/player/controls/PlayerSheets.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"61675311a4ef5323b34b41c2de5600385571ee2f2a1107552564a47036b17747"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedViewModel.formatResolution (cyclomatic 21): RecentlyPlayedViewModel.formatResolution 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba15070719fa38344c22cd0d412c21af804c8c10562537b59588c12ec9d6f32"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePickerDialogKt.FilePickerDialog (cyclomatic 20): FilePickerDialogKt.FilePickerDialog 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"11402daf5ad47a64c7161a1d58af3b2e36c8126a3c26126d8b22541652612bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderListScreenKt.FolderSortDialog (cyclomatic 20): FolderListScreenKt.FolderSortDialog 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf3f19cacd2879ae64ae9c9a753d7152363a686f679eecbeea7084898abf17"}},{"ruleId":"D1","level":"warning","message":{"text":"FtpClient.getFileStream (cyclomatic 20): FtpClient.getFileStream 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dff4b0853eb2085b27ea723203d93cb69de2f9c92e3a93d42b04e2860bb559"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkStreamingProxy.getStreamWithOffsetFTP (cyclomatic 20): NetworkStreamingProxy.getStreamWithOffsetFTP 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1616e2bbf6b0c6d0a71ed6588bf797de33ed8dc35cfdefc67000233aed3838d7"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoListScreenKt.VideoSortDialog (cyclomatic 20): VideoListScreenKt.VideoSortDialog 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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f777daad60991228a9e62cfa4340c5672c4757e289a92059adfa30cf203075"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerActivity.handleFileLoaded (cyclomatic 19): PlayerActivity.handleFileLoaded 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f5fa5655b46bbbddd3374c9e1e2edf52a87543bb235e6c7f2e97ee7cd570ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerActivity.onKeyDown (cyclomatic 19): PlayerActivity.onKeyDown has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e8bf68f4a51910125827f42141825a9518973b8013b36cc338bd69184349f9"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaFormatUtils.formatResolution (cyclomatic 19): MediaFormatUtils.formatResolution 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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaFormatUtils.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"191684aa7bf131eae65657bcbc0f6a9d04ef78a39330a7bbf9dc63e280f107e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaFileRepository.scanDirectory (cyclomatic 18): MediaFileRepository.scanDirectory 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":"app/src/main/java/app/marlboroadvance/mpvex/repository/MediaFileRepository.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"af52bb83a70c1fdaf94fdc7b047c8229d4602ef31222d44ba6b3d20cd999c3b6"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbClient.connect (cyclomatic 18): SmbClient.connect 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6b645e1a8486cba529027c38ae1728a9aa22eba1618c3e8363043edf64d71b"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedViewModel.loadRecentVideosFromEntities (cyclomatic 18): RecentlyPlayedViewModel.loadRecentVideosFromEntities 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6662375d000b6d14e0bff728819ea750f3fec8bb6ac9ea85614599e4237dd4c0"}},{"ruleId":"D1","level":"warning","message":{"text":"MoreSheetKt.MoreSheet (cyclomatic 18): MoreSheetKt.MoreSheet 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/MoreSheet.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab185c3c9aca973de9a8a18dfde93a138a4481f2bd1844254e4adb154fafbbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistSheetKt.PlaylistSheet (cyclomatic 18): PlaylistSheetKt.PlaylistSheet 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c706d4c18a3884a849b3ab48317896b672b40f0e39d4ff6afde89c15a5d89f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkStreamingProxy.getFileSizeFTP (cyclomatic 17): NetworkStreamingProxy.getFileSizeFTP 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bae50587aff8a0996ca5b136cbec1e4afc1b2e9830437c44501fa45e4dcccc"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerActivity.fetchNetworkStreamTitle (cyclomatic 17): PlayerActivity.fetchNetworkStreamTitle 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4eeae72f8008ed82d39a607177acec14fc23b106058e63aee3890c22bbf5cc"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerUtilsKt.sanitizeJsonString (cyclomatic 17): PlayerUtilsKt.sanitizeJsonString 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/app/marlboroadvance/mpvex/ui/player/PlayerUtils.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b509a0223c74ef4398069dee0e307f463d463798f01b0d6cbd017e31764b90"}},{"ruleId":"D1","level":"warning","message":{"text":"NaturalOrderComparator.compare (cyclomatic 17): NaturalOrderComparator.compare 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/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d193f3cb54bf006bf22cb8be103925e61ad1b662d23f48f32ff3ca91b1f8b0e"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserTopBarKt.NormalTopBar (cyclomatic 16): BrowserTopBarKt.NormalTopBar 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/app/marlboroadvance/mpvex/ui/browser/components/BrowserTopBar.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c97af0fb8a964facddcbb9260ba45476593493be281f691a60f7c23d4e46af"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemBrowserScreenKt.FileSystemBrowserContent (cyclomatic 16): FileSystemBrowserScreenKt.FileSystemBrowserContent 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1dce4e5fe59f60406086267e04e620efc3516455fc468e7de0840cff0e8252"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderListScreenKt.FolderListContent (cyclomatic 16): FolderListScreenKt.FolderListContent 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1793a5a50344471a73a96b39ede04706e01abf57ba0ce04030c4256f814919f9"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderListViewModel.loadVideoFolders (cyclomatic 16): FolderListViewModel.loadVideoFolders 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListViewModel.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"936a6e361e798dd65c4bf014436aa23f5ac04e1fc5dbe50af15c8f1d00aeb3c5"}},{"ruleId":"D1","level":"warning","message":{"text":"RecentlyPlayedViewModel.createVideoFromContentUri (cyclomatic 16): RecentlyPlayedViewModel.createVideoFromContentUri 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ce1d1fa1c3fabd220c0449ad28e114d5b22937404db92110af52cf7104f2d"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaInfoActivity.parseMediaInfoText (cyclomatic 16): MediaInfoActivity.parseMediaInfoText 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/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e29c5eb3b991ade9e756c31d02244fdc7c361565d6fd545e7f077de4f1ece"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackSelector.ensureAudioTrackSelected (cyclomatic 16): TrackSelector.ensureAudioTrackSelected 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/app/marlboroadvance/mpvex/ui/player/TrackSelector.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"343d098793d0ce4fff46edd9d98f8394335e2214970ea712125a85742075f903"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigEditorScreen.Content (cyclomatic 16): ConfigEditorScreen.Content 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/app/marlboroadvance/mpvex/ui/preferences/ConfigEditorScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"93312ecf5c4870f9fc05ac1179e0a344e8a241db57422eff69f0e64846f324a5"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaInfoOps.extractBasicMetadata (cyclomatic 16): MediaInfoOps.extractBasicMetadata 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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoOps.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"148657b0925fe78c62280149202a9515653491c2b1690f157e2043b7e6298348"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureHandlerKt.GestureHandler (cognitive 414): GestureHandlerKt.GestureHandler has cognitive complexity 414 (threshold 15). Drivers by points: if/else 102 (335 pts), boolean chains 38, match/switch 8 (31 pts), loops 7 (10 pts) (nesting depth added 259). 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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea1e5fbe06bc80af7224037f786408d7975989689e274d8f77954c176421a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cognitive 270): PlayerControlsKt.PlayerControls has cognitive complexity 270 (threshold 15). Drivers by points: if/else 168 (243 pts), boolean chains 20, match/switch 4 (7 pts) (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into 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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e16e9ab77ed405da29a5329f8b9fc73287255159b6b111e21db6d16f1919884"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsSharedKt.RenderPlayerButton (cognitive 267): PlayerControlsSharedKt.RenderPlayerButton has cognitive complexity 267 (threshold 15). Drivers by points: if/else 138 (253 pts), match/switch 6 (13 pts), boolean chains 1 (nesting depth added 122). 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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a878e598a2a551fe87554aedfa337cb7a2dd7cdec59b9398894bb1dde93c96"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemBrowserScreenKt.FileSystemBrowserScreen (cognitive 147): FileSystemBrowserScreenKt.FileSystemBrowserScreen has cognitive complexity 147 (threshold 15). Drivers by points: if/else 68 (110 pts), boolean chains 19, match/switch 7 (10 pts), error handling 4 (8 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"79552f450a2418bf1be2f853ccaf85747d5975b6fede0e72e6066f09257d43e8"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoCardKt.VideoCard (cognitive 135): VideoCardKt.VideoCard has cognitive complexity 135 (threshold 15). Drivers by points: if/else 65 (121 pts), boolean chains 14 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into 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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863fae0401c9e8d1472ea558705d14d9aa400f9621c6795c48d9120c8edb183"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackSelector.ensureSubtitleTrackSelected (cognitive 92): TrackSelector.ensureSubtitleTrackSelected has cognitive complexity 92 (threshold 15). Drivers by points: if/else 26 (68 pts), loops 8 (15 pts), boolean chains 8, error handling 1 (nesting depth added 49). 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/app/marlboroadvance/mpvex/ui/player/TrackSelector.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9520bb1b8f39432bdd0137c94275415de7423fd9d2b54fd0afaa9673e707f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoStatCache.readVideo (cognitive 89): VideoStatCache.readVideo has cognitive complexity 89 (threshold 15). Drivers by points: if/else 43 (86 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/repository/VideoStatCache.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"290ad59ff354d75172549ec2c12599a9e5e466a7c42af4ce3c9f293c9457e615"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentlyPlayedScreenKt.RecentItemsContent (cognitive 82): RecentlyPlayedScreenKt.RecentItemsContent has cognitive complexity 82 (threshold 15). Drivers by points: if/else 41 (71 pts), match/switch 4 (8 pts), boolean chains 3 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"544a49121406c96ed707680719d554ac25802f327289edccda3da5ba4e697a02"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistDetailScreen.Content (cognitive 76): PlaylistDetailScreen.Content has cognitive complexity 76 (threshold 15). Drivers by points: if/else 32 (62 pts), boolean chains 9, match/switch 3 (5 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a531f89efe58113f796d585c19ad597fd8d3280edb027383f338cb8b13799be"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoListScreenKt.VideoListContent (cognitive 68): VideoListScreenKt.VideoListContent has cognitive complexity 68 (threshold 15). Drivers by points: if/else 30 (50 pts), boolean chains 9, loops 2 (6 pts), match/switch 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0143b9d92c98fadb5ad010996748561d33f9065c11d562a348385bf6dd39e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderCardKt.FolderCard (cognitive 58): FolderCardKt.FolderCard has cognitive complexity 58 (threshold 15). Drivers by points: if/else 31 (51 pts), boolean chains 7 (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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e9ce0e8e733a34bde2bf27ce7ee80879b174c30e6c709ee89ae7442da429d4"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.getVideoMetadataFromMediaStore (cognitive 55): PlayerViewModel.getVideoMetadataFromMediaStore has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (50 pts), boolean chains 2, match/switch 2, error handling 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7087e4680001eb320e1bd62b23cc0bc21487efaf1de419f5154d4bd17a81b087"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoListScreen.Content (cognitive 53): VideoListScreen.Content has cognitive complexity 53 (threshold 15). Drivers by points: if/else 36 (44 pts), boolean chains 6, match/switch 2 (3 pts) (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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46625a3d5e8069b7ebba19d01021e25f0d556b6bad568c5a5fcbcd7e699b8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoListViewModel.loadVideos (cognitive 53): VideoListViewModel.loadVideos has cognitive complexity 53 (threshold 15). Drivers by points: if/else 25 (35 pts), boolean chains 17, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cca8d555dbcb2d26a29287aafc5e0e7a8e2efd0737d821c74d2acfac27d6f6"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaInfoParser.parse (cognitive 47): MediaInfoParser.parse has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 10, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e09ee32cb12c96caaa8adec774640fae5b51c68f2e268faafc7bb92d691b30"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderListScreen.MediaStoreFolderListContent (cognitive 44): FolderListScreen.MediaStoreFolderListContent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 27 (37 pts), boolean chains 3, error handling 1 (2 pts), 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a86d3c58164f9c720308bc79dc2561ba3f5ab50fd44b03ae712fa245eb1e512"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderListScreenKt.FolderSortDialog (cognitive 42): FolderListScreenKt.FolderSortDialog has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33 (41 pts), 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b66807354f9fae7162a4c64e8f281d9e06240712a9514acc1894ded21306a64"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoListScreenKt.VideoSortDialog (cognitive 40): VideoListScreenKt.VideoSortDialog has cognitive complexity 40 (threshold 15). Drivers by points: if/else 31 (39 pts), 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7825359ecafcf09d09aba41cc3c2901b21d1ed33a620826ef146b9b9a82e335"}},{"ruleId":"D2","level":"warning","message":{"text":"SeekbarKt.SquigglySeekbar (cognitive 39): SeekbarKt.SquigglySeekbar has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26 (29 pts), boolean chains 8, loops 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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee77d8a7668555b033694911c7a0bf9a2c2a3cbf2e941d25870da5879c177ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SeekbarKt.StandardSeekbar (cognitive 36): SeekbarKt.StandardSeekbar has cognitive complexity 36 (threshold 15). Drivers by points: if/else 25 (29 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"44704cab112951cbf7b4dd86f4bf90b8e7ffa077e6730f8ce41e9c4c13ab064e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackSelector.ensureAudioTrackSelected (cognitive 35): TrackSelector.ensureAudioTrackSelected has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 18). 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/app/marlboroadvance/mpvex/ui/player/TrackSelector.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaf2ea8e217f8d93a61c0f198b30723ba7e8a7630fde0cba8946a9c3b969189"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedPreferencesScreen.Content (cognitive 35): AdvancedPreferencesScreen.Content has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7c2867c128e0b2e03a3358a6f13b0e9de7f93aab65ba9fc48987c23c2f9327"}},{"ruleId":"D2","level":"warning","message":{"text":"NaturalOrderComparator.compare (cognitive 33): NaturalOrderComparator.compare has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 3 (5 pts), match/switch 2 (5 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":"app/src/main/java/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4a8559edd0dd6b0a9f6a3483a5b551113072d4e0e7389b92df842631d4df4"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkStreamingProxy.getStreamWithOffsetSMB (cognitive 32): NetworkStreamingProxy.getStreamWithOffsetSMB has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 8 (13 pts), boolean chains 1, match/switch 1 (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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2f1a6c4aa936f146788cedb51abb199e20d6e66ad64d3f5afcf355a6122ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistScreen.Content (cognitive 31): PlaylistScreen.Content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 6, 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0480e7070a1d89193abc2f03aa50fcf2e8ce32687dce41d4367318fe74e64c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentlyPlayedViewModel.loadRecentVideosFromEntities (cognitive 31): RecentlyPlayedViewModel.loadRecentVideosFromEntities has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 4, boolean chains 2, match/switch 1 (2 pts), 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ab5e5fa98f9ef4a3f5b994e0f2e17fa427318760552a46325557429e4164f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.handleFileLoaded (cognitive 31): PlayerActivity.handleFileLoaded has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (27 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c4c5dec5f5344e5b36dad3c6ad1039d1e122374b37816b027112e038be1f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistSheetKt.PlaylistSheet (cognitive 31): PlaylistSheetKt.PlaylistSheet has cognitive complexity 31 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95caaac300be77ad251f2ae23a73a7c1ce8a338961893e2e507d7dd3b70dbd5"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentlyPlayedViewModel.createVideoFromFilePath (cognitive 30): RecentlyPlayedViewModel.createVideoFromFilePath has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 3, error handling 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"63874f35278595b5420bf25612667f731af6c46c8e5dfc41a47b34ba5feb43ef"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePickerDialogKt.FilePickerDialog (cognitive 29): FilePickerDialogKt.FilePickerDialog has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 7 (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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a86e8d0fa59bc9199a8b057a3396f7eca749c7318a81526491d73e280e7e14f"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbClient.listFiles (cognitive 29): SmbClient.listFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 6 (7 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc2a9872ec979aa1c2f3b564846475f17651deeb70083448e480536b9525511"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentlyPlayedScreen.Content (cognitive 28): RecentlyPlayedScreen.Content has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 5, match/switch 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8debd5d74d5350852aae582eeecae3ff79758efcda7eec4585de27072d5c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"MoreSheetKt.MoreSheet (cognitive 28): MoreSheetKt.MoreSheet has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 4 (8 pts), boolean chains 4 (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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/MoreSheet.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c220c290d351aa4b4735cb57b229f9f680d2138f33d737fd4e911184a48f306"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistSheetKt.PlaylistTrackListItem (cognitive 28): PlaylistSheetKt.PlaylistTrackListItem 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff131947a58f7e4e0a9045d2dc0af5047aee05d3232c65727d75fc2dcbb15ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlLayoutEditorScreen.Content (cognitive 28): ControlLayoutEditorScreen.Content has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (18 pts), error handling 3 (5 pts), boolean chains 3, 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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4fbc6dabde9db269cae77a3f057d4ccb4422bfc33073726ce2b2422a5f5f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.getVideoDurationFromUri (cognitive 26): PlayerActivity.getVideoDurationFromUri has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (25 pts), match/switch 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb229f13c0463b3399eee58fc7ead94846d30d69435163d8b00dc320abfcd7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFileRepository.scanDirectory (cognitive 25): MediaFileRepository.scanDirectory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, error handling 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/repository/MediaFileRepository.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f2a464a69c28e7133e089a614766196eb814f16de38a5504aaeb10c7ed7bff"}},{"ruleId":"D2","level":"warning","message":{"text":"FtpClient.getFileStream (cognitive 25): FtpClient.getFileStream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 6 (7 pts), boolean chains 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a73fccad55b821adc83f70e901bf140191c7852e021917e2945342ab1a04594"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.handleEndOfFile (cognitive 25): PlayerActivity.handleEndOfFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (23 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27b5eee5ae91022d18d7876b7126cbf342a5185e2a72948cb9a5d39cb680ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.fetchNetworkStreamTitle (cognitive 25): PlayerActivity.fetchNetworkStreamTitle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, match/switch 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"646a38256fd3e834afe0049dc5ec8c9a9ea3487d8f6d597cbea16dfb026ee88c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerSheetsKt.PlayerSheets (cognitive 25): PlayerSheetsKt.PlayerSheets has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 1 (nesting depth added 11). 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/app/marlboroadvance/mpvex/ui/player/controls/PlayerSheets.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc761ba026972e47bc0e64b5dc497c29c284f1e8267942916f6aabecdc2587d"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentlyPlayedViewModel.createVideoFromContentUri (cognitive 24): RecentlyPlayedViewModel.createVideoFromContentUri has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4 (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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf04fe49c7c10cfca381529a23e2a8308688015906b37c0cefcfc617bf519a1"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserTopBarKt.NormalTopBar (cognitive 23): BrowserTopBarKt.NormalTopBar has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (22 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/app/marlboroadvance/mpvex/ui/browser/components/BrowserTopBar.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f484b83006f4653a4fc7169074ffbb035ee53c3d3cc2c3c41b5847aadf6c5bef"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkStreamingProxy.getStreamWithOffsetFTP (cognitive 23): NetworkStreamingProxy.getStreamWithOffsetFTP has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 5 (6 pts), boolean chains 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e650c04e2942f30c6dafc515949edec43e09803c4faad3e3190b3205bad116"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemBrowserScreenKt.FileSystemBrowserContent (cognitive 22): FileSystemBrowserScreenKt.FileSystemBrowserContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, match/switch 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"515715514c3b6bc2320cc1e7eb743bb7e2612b2168c3970d6db5f7931b1d0ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderListScreenKt.FolderListContent (cognitive 22): FolderListScreenKt.FolderListContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8 (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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"157f08237426ec5e451e586774800a0fabb175af7332b3b31c098721f4dbff71"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageOps.deleteVideosScoped (cognitive 22): StorageOps.deleteVideosScoped has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 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/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2903c61ea877d4de6af79fd9bae3b7d1ffa10a1bb2177f44aed820f5aa220f18"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserTopBarKt.SelectionTopBar (cognitive 21): BrowserTopBarKt.SelectionTopBar has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 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/app/marlboroadvance/mpvex/ui/browser/components/BrowserTopBar.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c7b1c545a6dc466a47e81950f5df44fec0bf667cca42deacdb0cb0770af1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbClient.connect (cognitive 21): SmbClient.connect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 8, 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbe409e0ac1c287403b97b9fd8d2f18ac93c1c2424ecd54d10218d56ce045f4"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkStreamingProxy.getFileSizeFTP (cognitive 21): NetworkStreamingProxy.getFileSizeFTP has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 4 (6 pts), boolean chains 3, 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1421added258a33eb16952e3eb14f3215be49ea8df76171de8d4663a4eada1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionDeniedStateKt.PermissionDeniedState (cognitive 21): PermissionDeniedStateKt.PermissionDeniedState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 1 (3 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/PermissionDeniedState.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eee4ece10fc29d9077041e6dbc64ac4c0294703cec9065cd0bfea2ccc882747"}},{"ruleId":"D2","level":"warning","message":{"text":"SeekbarKt.SeekbarWithTimers (cognitive 21): SeekbarKt.SeekbarWithTimers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0fd5d957f52a5789cf2523fd7a17ce09c435db6e2deffbbfe0f6a7f8e31d41"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistSheetKt.PlaylistTrackGridItem (cognitive 21): PlaylistSheetKt.PlaylistTrackGridItem has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (20 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"221aa037ff1984a86cd00e67e39c9a89fdde175f8a6217dfc7fcb949f34ed1de"}},{"ruleId":"D2","level":"warning","message":{"text":"M3UParser.parseContent (cognitive 21): M3UParser.parseContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (2 pts), error handling 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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/M3UParser.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056090c8b56a46f6c7eaa263bcabd2b31e089a3494d0a15affdde20360cd4a1"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFileRepository.scanExternalVolumeShallow (cognitive 20): MediaFileRepository.scanExternalVolumeShallow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/repository/MediaFileRepository.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f9bf574a2a29d3d18a4dc98965ed0713ed22ca687f72e62145f549e8e5c4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderPickerDialogKt.FolderPickerDialog (cognitive 20): FolderPickerDialogKt.FolderPickerDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86e475cd3266385b161ab3ec304e90afd25a1c5a44ae82a245be2ab0f1018fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SortDialogKt.ViewModeSelectorComponent (cognitive 20): SortDialogKt.ViewModeSelectorComponent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd960de1deb496b97e97c9c5053dd97c2dfb9fb80eac1e37e34f3d515b44f818"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderListViewModel.loadVideoFolders (cognitive 20): FolderListViewModel.loadVideoFolders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, error handling 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListViewModel.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9d89733498b5a5ab456eb515875b3db6cf0bd56bd43c919dd9ae968f77cf9d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistDetailScreenKt.PlaylistVideoListContent (cognitive 20): PlaylistDetailScreenKt.PlaylistVideoListContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, 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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2d1b200b0c986f69dab7a8646217ba35f3a4c9a37fc0259751591fcc30f82"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaInfoActivity.parseMediaInfoText (cognitive 20): MediaInfoActivity.parseMediaInfoText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb02b0c8724f32529eefd215cab9c3e525430327c9dab9de51c120827cbfc00"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.saveVideoPlaybackState (cognitive 20): PlayerActivity.saveVideoPlaybackState has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d074ca8ccd8453a4e2e226d778c4aaff36a63096ef40ef0e2c9b3095aa5d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureHandlerKt.DoubleTapToSeekOvals (cognitive 20): GestureHandlerKt.DoubleTapToSeekOvals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"353600b7aa306deb46ae9d9c637a69c6b6eb9f27285eefd4fa6b2a7146c1f69c"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemePreviewCardKt.ThemePreviewCard (cognitive 20): ThemePreviewCardKt.ThemePreviewCard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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/app/marlboroadvance/mpvex/ui/preferences/components/ThemePreviewCard.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da7d70244e54340c076ac695005dd550e8cccaa9e0b614c60d133d4735e475"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemBrowserViewModel.loadCurrentDirectory (cognitive 19): FileSystemBrowserViewModel.loadCurrentDirectory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3666a73f0d55494602f5c781c5c0148d245cdcf50ba9ba2e695e29b873cd157e"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoListViewModel.loadPlaybackInfo (cognitive 19): VideoListViewModel.loadPlaybackInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aff0505a939c1e047498a610192019c3859a9f254ff7722c846ea40aa5ec6c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFileRepository.getAllVideoFolders (cognitive 18): MediaFileRepository.getAllVideoFolders has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (5 pts), error handling 2, 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/app/marlboroadvance/mpvex/repository/MediaFileRepository.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2db8f2d659979abd652cf34cdea6833c566ec352a45b13f96b48c824543e4"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaInfoActivity.resolveFileName (cognitive 18): MediaInfoActivity.resolveFileName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4e9eb813c13a10178459f5b53ea7af02b1a22e4f5fb3b806d48993c5bd4da3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.syncConfigFiles (cognitive 18): PlayerActivity.syncConfigFiles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ff506df6b0b024d54d5da92e23ac2188c47ddb7807686905fab9506ef6be1e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.loadPlaylistItemInternal (cognitive 18): PlayerActivity.loadPlaylistItemInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, match/switch 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":3024}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d412e46cd3cf891ae3868993d3ca431c4cc96feecff60b1b17771df7ebbdc4"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbnailRepository.generateWithMediaStore (cognitive 17): ThumbnailRepository.generateWithMediaStore 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/app/marlboroadvance/mpvex/domain/thumbnail/ThumbnailRepository.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"767e15f0a5fae455d04da0eb6f6f11efcaa60c068ce081850327d136bb29b571"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.setMediaTitle (cognitive 17): PlayerViewModel.setMediaTitle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (3 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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabce6d1a17b0379721fddc80895f54dabe646339ed1d64f6bcc106143cf750"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistSheetKt.loadMediaStoreThumbnail (cognitive 17): PlaylistSheetKt.loadMediaStoreThumbnail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a790ac4417826647a879cf131d4460021540e8515bc971d7f73d092f1a42003e"}},{"ruleId":"D2","level":"warning","message":{"text":"DecoderPreferencesScreen.Content (cognitive 17): DecoderPreferencesScreen.Content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4 (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/app/marlboroadvance/mpvex/ui/preferences/DecoderPreferencesScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b84b3e834c30ea08adcf2caba483586469c62b5261faa95a654247437fe8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsManager.readSettingsFromXml (cognitive 16): SettingsManager.readSettingsFromXml has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (9 pts), match/switch 2 (5 pts), if/else 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/preferences/SettingsManager.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8a07e3d1df4cae96fe1623fa0aa13fedbf516a0dccc5a79f4b976a59884fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistActionSheetKt.PlaylistActionSheet (cognitive 16): PlaylistActionSheetKt.PlaylistActionSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e69372ae634ee959aea7b61599a1e2a64b1e3c7a55dd4eab2f056c975886d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.onCreate (cognitive 16): PlayerActivity.onCreate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd3e7ea387b2b662f60cec9bba5aa6ab83644b95d0a92eb02d417aac091f7a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.takeSnapshot (cognitive 16): PlayerViewModel.takeSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dcc63fb9409b89a0a56615a308a4140a903d0d1f078487e3be1e3515ab24ba"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioTracksSheetKt.formatAudioBitrate (cognitive 16): AudioTracksSheetKt.formatAudioBitrate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AudioTracksSheet.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"32972a5058de3453a34a09fd63aec3387bb7999070fe0e472a7818c135efc64e"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameNavigationSheetKt.takeSnapshot (cognitive 16): FrameNavigationSheetKt.takeSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, error handling 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ddd1a19c999dcacf9b5ef276a552236e89bb951a9e9bd180b2d4eea8b0e507"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackSpeedSheetKt.PlaybackSpeedSheet (cognitive 16): PlaybackSpeedSheetKt.PlaybackSpeedSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaybackSpeedSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"380866c6ac8ee9fcaa22ce465b8c74f252983e4d7aa470decfa305bbce43293e"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaUtils.playFile (cognitive 16): MediaUtils.playFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 5). 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/app/marlboroadvance/mpvex/utils/media/MediaUtils.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44d1b5c01844a049fe4af89a793e4b1669bab82e9cd4cfd429b0d9d4c4930a1"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateFeatureKt.UpdateDialog (cognitive 16): UpdateFeatureKt.UpdateDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 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/app/marlboroadvance/mpvex/utils/update/UpdateFeature.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9891c1951e921c11722391035a2ebf3db31e6f6157b71f361843699abe539903"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GestureHandlerKt.GestureHandler: MethodTooLong \u2014 GestureHandler runs 580 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 480 over it, 5.80\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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551a33abbae42397e69890a53639c67c708be4afce2ee9a71d703d4568e43b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerControlsSharedKt.RenderPlayerButton: MethodTooLong \u2014 RenderPlayerButton runs 550 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 450 over it, 5.50\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"78593a2f1c6a9e010ec7fbd1f15a959b4c698b22ad8790ca0e8669cc13883a2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSystemBrowserScreenKt.FileSystemBrowserScreen: MethodTooLong \u2014 FileSystemBrowserScreen runs 535 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 435 over it, 5.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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1250c22379e494def6190aa87f2242d874c70f4fb46bf62dd83e54a1b09ecb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerActivity: ClassTooLong \u2014 1825 significant lines (blank, comment-only and punctuation-only lines excluded), 103 methods. The bar is 400 significant lines; this is 1425 over it, 4.56\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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c0e4555dcbe3faa01099a6ec603d72d76bc6a0a6f695409610d4728e47aba5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdvancedPreferencesScreen.Content: MethodTooLong \u2014 Content runs 392 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 292 over it, 3.92\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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f019d3fb08b5e23bd6cefbd4726dbc1c4bc265f36b25399236a14302b976d58d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerActivity.kt: FileTooLong \u2014 1887 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PlayerActivity (82-3652). The bar is 500 significant lines; this is 1387 over it, 3.77\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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a321bfeb50860d2c6e5375b1d1f4e2cfc13c10df5b9a35c1ac9257e307e55cca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerActivity: 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1505fc40863c9907504ef83af7a3eb57533cf0eaa463b049fba45793b3738a21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FolderListScreen.MediaStoreFolderListContent: MethodTooLong \u2014 MediaStoreFolderListContent runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cc141ec704a59710acde14cf5f8cafc0c105526e5ff647833d56da37f1ad1f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistDetailScreen.Content: MethodTooLong \u2014 Content runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"af804f87aaa0e6efd6a1053a7902136fc06ed43ba267074d6bfe019ded7f440b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerViewModel: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.93\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaef5e2e219e6e7a8afe7337fac616bf0ceb67dd11738bf060cec778beb4834"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoListScreen.Content: MethodTooLong \u2014 Content runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"320654aadd404e10f59a74ce3a8000008d594703856eb07f84a53266ff1e1cce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AboutScreen.Content: MethodTooLong \u2014 Content runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f78b776b98b681a5cf295c5cbb88d85b452695255f9bc95f665db030bf1946"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerPreferencesScreen.Content: MethodTooLong \u2014 Content runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\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/app/marlboroadvance/mpvex/ui/preferences/PlayerPreferencesScreen.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b18ae70ffcd2380d4072150a1cd8480487f6a1e6e7967ed71e4c72d305f548"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerViewModel: ClassTooLong \u2014 1000 significant lines (blank, comment-only and punctuation-only lines excluded), 88 methods. The bar is 400 significant lines; this is 600 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"255625a5d64d9b997f9894f2fdbcced274fa958c45a1e66f7a322a801388d79f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GesturePreferencesScreen.Content: MethodTooLong \u2014 Content runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75742cc0028956924890bb60b1418b99274e99803d758931cdb6336d77aaa7ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistActionSheetKt.PlaylistActionSheet: MethodTooLong \u2014 PlaylistActionSheet runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23f657a0f80a828d0135fc515a6b578a68752a65b584115dde917c02b8a61e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecentlyPlayedScreenKt.RecentItemsContent: MethodTooLong \u2014 RecentItemsContent runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46c1b0ea16f5225ffc8caadc103a4cc9496cc2c695621caf269e9a107546e3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecentlyPlayedScreen.Content: MethodTooLong \u2014 Content runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15ef784ac3067252f305860e7cd3c949e5de3e1d8b7aa33535c677f7bdd7bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControlLayoutEditorScreen.Content: MethodTooLong \u2014 Content runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b707cef0f11d0bf74f9e5879562259b23f4dccbd2af57ee9d658f910842c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerViewModel.kt: FileTooLong \u2014 1087 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PlayerViewModel (80-1794). The bar is 500 significant lines; this is 587 over it, 2.17\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460e2353746047e1e6b823b2a39e1a2b02325b0d3d860b356435ad926c4f96c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: filesystem/FileSystemBrowserScreen.kt: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 574 over it, 2.15\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410662e16d69a72678c76e147953bb9847fa88eb8b5e556890193105d0d73ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PermissionDeniedStateKt.PermissionDeniedState: MethodTooLong \u2014 PermissionDeniedState runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/PermissionDeniedState.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"653f2cb77133ffea28f61faa9dc633b25bef46a201dd3dd176e26f166ea13458"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoListScreenKt.VideoListContent: MethodTooLong \u2014 VideoListContent runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a3c2027b7f84e9927441b1f886b347803fc895e23925562e3d0e05fee23c25"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controls/PlayerControls.kt: FileTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: LocalPlayerButtonsClickEvent (131-1253). The bar is 500 significant lines; this is 482 over it, 1.96\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f6007e630e11ea776018d18cb3d130d092dbd7f47bd18c9ac2303f7351896c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistScreen.Content: MethodTooLong \u2014 Content runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f9879040c50365e53f0c2f8a60778a8082af3433ae7f909a1bb9578bb35851"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreferencesScreen.Content: MethodTooLong \u2014 Content runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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/app/marlboroadvance/mpvex/ui/preferences/PreferencesScreen.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0716e2fca00982ca8436b419fd75d4308d1ea944bcb3c3089326aeaace701f75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerSheetsKt.PlayerSheets: MethodTooLong \u2014 PlayerSheets runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerSheets.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"363ff04b66cf8530e86b178ec760be860e04a6c6e4dac2c58f09141a29fa332c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: folderlist/FolderListScreen.kt: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 382 over it, 1.76\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5f845150e2d1ef636f8d8a1956475992266e28ca7f34435fb9b9252af12472"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubtitlesPreferencesScreen.Content: MethodTooLong \u2014 Content runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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/app/marlboroadvance/mpvex/ui/preferences/SubtitlesPreferencesScreen.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ae62266e43a8eed86b894f01b4cf69c213bac97c00360446191e250c29ecab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeekbarKt.SquigglySeekbar: MethodTooLong \u2014 SquigglySeekbar runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0830db4be2a7fb4d4f2b11ca3166f578ae4f2a7fd69d0092222c9d699d9cd46a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: header.Header: FunctionTooLong \u2014 Header runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/components/sections/header.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94c4b0ed457898115576de11e8fc6db0ea942351c43bc8716491c353f9a4888"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilePickerDialogKt.FilePickerDialog: MethodTooLong \u2014 FilePickerDialog runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5395e0ec84be246728d91fca19e3bb16a8e4f65cea0c57c470eb6f37b96e261a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FolderPickerDialogKt.FolderPickerDialog: MethodTooLong \u2014 FolderPickerDialog runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"559fd54b215f94afbdbd003f1d8d04c4e29121a6f99dfa5ce49f0c682d0e55d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DecoderPreferencesScreen.Content: MethodTooLong \u2014 Content runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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/app/marlboroadvance/mpvex/ui/preferences/DecoderPreferencesScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"463a3cf269ebfb4763aad1792af8ef47216b2b3813313cfef2075d4b20152805"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerControlsPreferencesScreen.Content: MethodTooLong \u2014 Content runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee9ad3eb1152e45ba795e2f9c05bc399d69dae04d16463918bf5949ba2852f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EditConnectionDialogKt.EditConnectionSheet: MethodTooLong \u2014 EditConnectionSheet runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eec3879056e54447a5371c1dd35b9952f8e7320b5eb523fe57e8e3532be723"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controls/GestureHandler.kt: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 280 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741673feb55ecaa54b0e0a8b3a38a16aad712a3d1b745248f801d5b046fe9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddConnectionDialogKt.AddConnectionSheet: MethodTooLong \u2014 AddConnectionSheet runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae266eb83f626460fdb5af411bc2096c4c0db8d5d34c00e8eb3ab4e9e7d308af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaybackSpeedSheetKt.PlaybackSpeedSheet: MethodTooLong \u2014 PlaybackSpeedSheet runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaybackSpeedSheet.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d8d212310e53a8dd6abf8c3a1322e6f3730d9c81d4e977d7cee7e63e17b1d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSystemBrowserScreenKt.FileSystemBrowserContent: MethodTooLong \u2014 FileSystemBrowserContent runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1acd8c3d9bd8fafcba27ee34252a3a70d084c88fb81208cfef67cbff89899c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: videolist/VideoListScreen.kt: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"978da9163500620dcfb6b4077322b73464727775694f45d2f42c9bc572a6b5aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubtitleSettingsTypographyCardKt.SubtitleSettingsTypographyCard: MethodTooLong \u2014 SubtitleSettingsTypographyCard runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsTypographyCard.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa265f0bb79b600694365f3133ce57db5a137da76b715126876179998906f5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkStreamingScreen.Content: MethodTooLong \u2014 Content runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkStreamingScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"444514e0f07d1b5cac30f133d91755c2562b0a5644e099aa71ca4af742083ae4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hero.HeroSection: FunctionTooLong \u2014 HeroSection runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"website/components/sections/hero.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d274a2264c373de4d2900d9685d26c82f99dd8464a9d647b06b799392f790e3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserTopBarKt.SelectionTopBar: MethodTooLong \u2014 SelectionTopBar runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/components/BrowserTopBar.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab37567cfe84e164190420330fb4f1683e897c6571e87abe5967916d95dbf25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeekbarKt.SeekbarWithTimers: MethodTooLong \u2014 SeekbarWithTimers runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c35caaaa677ab050ea1aafb2b36319e97dccb668baaab9a9398dc4d873a6e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppearancePreferencesScreen.Content: MethodTooLong \u2014 Content 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/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f2fb0239b3e43135ae56f9e21cf760e18ffaa2c37710ef10395c6c54729f0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media/CopyPasteOps.kt: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 203 over it, 1.41\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/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c610c6ecb3ec15614de83e090e3c8ac48e53c2058c6ffc7ec7d774c595592dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeekbarKt.StandardSeekbar: MethodTooLong \u2014 StandardSeekbar runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada9fc895d0c352dd74862d309ee492fff0150a384cce21b14ca674043307a38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistSheetKt.PlaylistTrackGridItem: MethodTooLong \u2014 PlaylistTrackGridItem runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f8bc555b90375a5b192626424c046df7b16f83b10d37d236f5ff0f56d84bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FoldersPreferencesScreen.Content: MethodTooLong \u2014 Content runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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/app/marlboroadvance/mpvex/ui/preferences/FoldersPreferencesScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"056bef4b2cf86da13b5ff533f55b2d0c76720ea89ea2dfea697c26563de157e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkConnectionCardKt.NetworkConnectionCard: MethodTooLong \u2014 NetworkConnectionCard runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkConnectionCard.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bba30dafc9968a5d1141434a1ff8507d400a3e529c681286de3fcc3cc2c43c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistSheetKt.PlaylistTrackListItem: MethodTooLong \u2014 PlaylistTrackListItem runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"812dcf258b06ba4c0799d51b7b1b5e16fe687ba2b5f347842d4662fab8d0ca89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controls/PlayerControlsShared.kt: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b0613eb8348d28b30f7156ae02ba086a4fc0647ca9ff43eb7fc6399e59552c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetworkStreamingProxy: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 108 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a7ee4829ea1ced8d9e3c6ab3e0ea019760aa3d5dc240ec2f4822b5029ceb71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FolderListScreenKt.FolderSortDialog: MethodTooLong \u2014 FolderSortDialog 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"70255cc7675c2595d02085f0e7dc3a8d8346821b53965354a7d6290e87c78d36"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchablePreference: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 77 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/SearchablePreference.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dfbfc5c0cbcf427ac31d77a66dcdd5103cc5811ed055a144405b7e11312443"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sheets/PlaylistSheet.kt: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2addd235098790dd668d05cf5fa1a32f20daac5ef2c9cd58bc45131819e54b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSystemBrowserScreenKt.FileSystemSortDialog: MethodTooLong \u2014 FileSystemSortDialog 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ab767431daba38cf54afc6195ddfd471ef698d5151be17a63ce94e5c756d45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSystemBrowserScreenKt.FileSystemSearchContent: MethodTooLong \u2014 FileSystemSearchContent 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98d1aed312654b74638c0e8d0e3a0cabfe6dbab4d180a9e7ed317051af9bfb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistSheetKt.PlaylistSheet: MethodTooLong \u2014 PlaylistSheet 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"825e36cfecf8535d18da4f07e2621f1c394744315bd192876f6e0f27609171e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: playlist/PlaylistDetailScreen.kt: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54bdc643b8a9206074b41272a27e01d000a1f625319987b645a284e96b9453"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecentlyPlayedViewModel: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 47 over it, 1.12\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eec1f02c8fdb154472ec2b6eca94d892d3dfbd8e24fe6128767b9fb15e2995"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaInfoActivity.MediaInfoScreen: MethodTooLong \u2014 MediaInfoScreen 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed19ea64073949687b0b2424c814265ef8127f14a25f55341c6268b08dc93cc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsSearchScreen.Content: MethodTooLong \u2014 Content 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/SettingsSearchScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9647306c1550ab51ad8e61dc542591050236817c78248ee01a90757521a9aa8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Seekbar.kt: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c78779e64e81a65679e135a4324f6ea52cf6202a0be4358f13ccadee48d6a39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaylistDetailScreenKt.PlaylistVideoListContent: MethodTooLong \u2014 PlaylistVideoListContent 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a67a4d95a6c326deffe9450a01f7eebcc3ff0c034c86086f2e9e5755016e19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserTopBarKt.NormalTopBar: MethodTooLong \u2014 NormalTopBar runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/components/BrowserTopBar.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2a757f575a7c9581d638b5b308f31e5844f1199dc9706eb79a3fca4666158f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkBrowserScreenKt.NetworkBrowserContent: MethodTooLong \u2014 NetworkBrowserContent 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efcd48c0cb028ca0d3c5b43cb1d325150dd9e4b6ec37583acfaa7e42f1d98e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigEditorScreen.Content: MethodTooLong \u2014 Content 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/ConfigEditorScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfb322e5901067b3d9e86d7344fe3e6faad717452e235fe92fe2fb34c7d2b05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddToPlaylistDialogKt.AddToPlaylistDialog: MethodTooLong \u2014 AddToPlaylistDialog runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa880a152934e5e3665551fb68c7298bd0d4167de82b72ecbb48f023a20af0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkStreamingProxy.getStreamWithOffsetSMB: MethodTooLong \u2014 getStreamWithOffsetSMB runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"653f7cd788c08cee1a657b7844516db31537cb47f63737a7b7846c668a22b5be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioPreferencesScreen.Content: MethodTooLong \u2014 Content runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7848be2a7b2b4249b8d8e470a191bc33580fc5f391c2b2d32dfb6d9748a86e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recentlyplayed/RecentlyPlayedScreen.kt: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"788eb592dfe0372b2e11476afc7d59718c2b475653385614f9459e3587f9d69e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/NetworkStreamingProxy.kt: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: NetworkStreamingProxy (27-889). The bar is 500 significant lines; this is 28 over it, 1.06\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d275baa4bc4d951c32b8ba446b4883a7a83943d038e4d95844bf4ad6ebd8fa80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sheets/FrameNavigationSheet.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb05ad23220f56f5c1429695a697d2aa2983defb36aaed538f90035d616a5c37"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainScreen.Content: MethodTooLong \u2014 Content runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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/app/marlboroadvance/mpvex/ui/browser/MainScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0425fc1d6565575c37c2ef86b26a9249ba34d92f8b6fab70c0ffeff7e32c5afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (91 shared lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:427-616 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:626-834 \u2014 These two members are variants of one another: 91 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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30f74114dac9bdcc9691b5e7b84bb325433afe40446efc9a6407816e396dfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:429-726 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:579-846 \u2014 These two members are variants of one another: 57 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a8065bfac2801b5d9dd1ad564033b6f57951ebbc5aa44426f15c70cb6dd10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:276-368 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:697-860 \u2014 These two members are variants of one another: 49 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89611c3721f3a0d7f0012ea00c9810235b0e2bd61241b544b25754b6e391bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1808-1939 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2183-2284 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3024-3122 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3182-3265 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3318-3368 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3461-3489 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc369e7de4eb49a7f1ba578064861b8a6f3c135b27a9dcdb6add981d3b0a800"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:179-312 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:337-410 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:136-175 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:504-621 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:626-692 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"08789ff2a37ba88273ddd9e6bde840b3f9220ae33cbd9b5605bcb937a7845964"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt:48-270 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt:74-331 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerPreferencesScreen.kt:41-419 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PreferencesScreen.kt:50-360 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/SettingsSearchScreen.kt:65-229 \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/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"83186b6f80dee2187eaf0bf4d8511093f2161ce06e35365133f0e4884ff3ccf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:62-210 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:304-351 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:56-295 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:390-478 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4946215c0b57690fb6280377290235792788dc0900131eedfe647f6cee10eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:76-672 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt:43-192 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/DecoderPreferencesScreen.kt:57-295 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:54-398 \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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7b2fea43dc8941e3622f6b5c98d14a56ee46581b3d5d689c9ea1bfd9262bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (223 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt:46-270 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.kt:47-269 \u2014 These two members are one piece of code written twice and then edited apart: 223 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8315e5ca5260c1c6f3c98f728fe26a85268e64a65cefccc99183b2bd7ffcb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (145 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:881-1025 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:857-1017 \u2014 These two members are one piece of code written twice and then edited apart: 145 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1300f55d09e83a3e94c6165c233061aca89086ccb2b9c367ccbb9625fd4ea0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (127 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1192-1318 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt:598-724 \u2014 These two members are one piece of code written twice and then edited apart: 127 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa011b37a128028f449c72a2c7b51405a4771b8c0ab7c0cde25ea870aca04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:50-145 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt:50-146 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a3a2cf9babcc03533dce41598cf2010468e1b89549c8ad5f6322c9d51cad36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:40-88 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:103-153 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8f211e8ad0157bee1fbf5008c20f5ab174f39237d6883483ab8f6d60669c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:122-186 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:200-267 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac61b148b63f46418f618c6d159b64ebbaae561ac6ba0943a766db3afb3b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/theme/AppTheme.kt:373-409 | app/src/main/java/app/marlboroadvance/mpvex/ui/theme/AppTheme.kt:414-450 \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/app/marlboroadvance/mpvex/ui/theme/AppTheme.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"86585ab6eca90a82a968dc28daadb8705a30fbee120190135b376b5693e92585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt:48-127 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.kt:41-99 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9080cb02b83ca3a0ae2d7bb52f2c9ea073631f8a63a09974c30d90c2c653bae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:743-802 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:816-871 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffafa1f591da056d50b8e71ec2a182ee4836024b59559e3557e3f702773d111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:68-105 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:178-224 \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/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab69c0c18d6ee0903187b090670ff34f2ff0d6713bfd32dfba6d0bdbcf870c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:196-243 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt:366-407 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb56bd98a4c23c8f2bae25c70dab9a43bbe722836f09a93272503289439ea4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:146-181 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:191-231 \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/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240989896cefe50c7b1fa48b628e6ee2ef105e10f1773f31000be7f160cbc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt:206-245 | app/src/main/java/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt:247-286 \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/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7398d4b21598f04756f6936e9fedb1b5d2b9f8767887773a864c3fded858d4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt:36-68 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsPanel.kt:36-68 \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/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6467186a102379cce231b4c51a89a8a31ec06792372255111f6203e440af845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt:37-74 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt:87-124 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/TintedSliderItem.kt:36-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3094631b3004326b45baf845cc9e353ae14fbbee943c7b1b5906bec41875578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:493-521 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:531-550 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c05ddbbc9f0c0e02aff2385439bf62deb134236e8606d73e49ef3e1866591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:613-628 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaFormatUtils.kt:39-53 \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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0402e154027b5b89d5004aea827199a94aba261545e171449a49005e073912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2933-2968 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2973-3007 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f30833f7a5595b05a9732c7ffe3da05b31dbd47bda82d6d2957547b29432b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt:81-97 | app/src/main/java/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt:102-118 \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/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4e259d76630b0138ab636c99a392737e53748e7c31a7b3a0059910c6506ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:983-999 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/selection/SelectionManager.kt:145-168 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b097bf53b258b09d0093db320a466573a485f8a44f1d3ac7e31e0e0e1911ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:385-413 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:420-448 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:358-382 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b52aaed157ee9c78a304ceecd0e8e9d5e52ce539ebf17cfcc574d6d828923a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/AudioDelayPanel.kt:88-106 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleDelayPanel.kt:243-261 \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/app/marlboroadvance/mpvex/ui/player/controls/components/panels/AudioDelayPanel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d225dbde0771c73778d16adf6650da8aba3ec9faa2eeeb64ccdabf032271ee31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt:70-101 | app/src/main/java/app/marlboroadvance/mpvex/presentation/crash/CrashActivity.kt:82-101 | app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt:81-106 \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":"app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe3a5985651104794dbe4bd9810d6a9663c9498490552dbf554d3d0b528e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:162-176 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:116-133 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cbf1d30d5984c80b5fc729b02341309e2a29e932bc2c70a266ad7b45a24a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:736-749 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:751-764 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c546f4d7e21251ca5b7ccefc4b7299a8fab74b91651fb28c502901f3b465a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt:18-27 | app/src/main/java/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt:36-45 \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/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3e820a4a7fc6d4b50eaf86c91e2357ca5df87d14333f56d3588b9760ef6490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/CopyPasteDialog.kt:296-314 | app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt:461-484 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/CopyPasteDialog.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af9de1b28fc7166bbde91770dbb88bdd4775ddda124b0147251e57aa5bd2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1442-1461 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1591-1612 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ada38016c917ed1b8332a35da51e7059317cd24fb0522c3b3bf2607c76ccb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/App.kt:63-81 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListViewModel.kt:279-295 \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/app/marlboroadvance/mpvex/App.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c4acf4b851600fd5752fbe0d4903452fd40aea2b05bfe2ab8b678a46abfbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/utils/media/M3UParser.kt:261-275 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/M3UParser.kt:280-295 \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/app/marlboroadvance/mpvex/utils/media/M3UParser.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"258c78615c5a00e45585ad3abb201a3734dd089155d8111f83fb613eb800d293"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt:365-371 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:360-366 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:601-611 \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":"app/src/main/java/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"78251c6b209f998140930f85f17ebb6eeefdd22bb2d60d0c973536091e1bbdc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:844-866 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2418-2429 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79ce65529bab270ac5d3bed964db1650f829f4c20197ccb81ccefb62dc1713f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt:358-379 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt:394-415 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a0df5185853f1a0787a573b0ed9d91819edc88b14b5251fca2de50df389cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1558-1571 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1748-1754 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:1022-1032 \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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bde556c32f3fd3288fc723d4e48a7db3534ae1a0db92d619149591a126c927"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1034-1043 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1045-1053 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1055-1063 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1065-1074 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"13884119471365cb780c8d3b90231a362a1adcd201361a649ac015e99ff286fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:368-371 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:658-661 \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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7cbf26ddcf3749094e203845b6cd7a565e7cebbc4a6ea112846b450f82e42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:110-114 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListViewModel.kt:84-87 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailViewModel.kt:54-58 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistViewModel.kt:47-50 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt:413-416 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebf260987a3ff3c590bc16e984ea2ca5fc81ba566429d47b2feeb8e793ed496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (182\u2013184 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt:87-270 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.kt:88-269 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.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 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt:87\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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f73e23ee366e657048b0810256f6e3984a72866dec25c0b254b89de38025098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89\u201390 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1225-1313 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt:633-722 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1225\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"611ca482b54bbeb07bee616755611a8ea199688f6a3e4d663be615279fe8b803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (82\u201389 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:163-244 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:435-523 \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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee2ac87adbd8430a3cf4297ae53e809d8cc70e39508614fe60ed3818088804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89\u201395 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:284-372 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:560-654 \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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:284\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"af20b9558a0c39af84aeac2f0d0f8054258a991ceabfcd4f13ed3346b0837cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/EmptyState.kt:42-106 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/LoadingState.kt:44-108 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/EmptyState.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/LoadingState.kt\u0060 as WHOLE FILES: 90% 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/states/EmptyState.kt:42\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/app/marlboroadvance/mpvex/ui/browser/states/EmptyState.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"95af080dff10a1d85b62601f6d883e6c597db992c97b657420df2e15c8019970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt:51-104 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:54-107 \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/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt:51\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:52\u0060 calls \u0060collectAsState\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt:49\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/app/marlboroadvance/mpvex/ui/browser/cards/M3UVideoCard.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"50240d243e59c01b720c4639d0c43d271fa0f4d29ebfd24c56e55167b2ee291b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201347 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:119-161 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:387-433 \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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:119\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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"14befdb1c593d1f6fc2106a7db6f823e4f29514c372bc44a400ba84d3aa08fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:332-378 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:305-351 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d145f03cb02bbb6db7ef0fac120eed99a53368c0b185525f61dedf6c0aeec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:564-606 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:673-715 \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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:564\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"30847a314c49570dd8f6b07e57aac63e13172d03262809d000ffc887bff19926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:485-527 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:675-717 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:485\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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caa05ee8876363487eea18cd4504bb4f34836fd41a1e71c6e4cad139daec34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:707-748 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:806-847 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f91a74d4645562a23cd72454915429c87890d27271874869f9ed89f0a3d7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:106-145 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt:105-144 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79eb7290580396b10ddc77456cdd48091ba3d1ba21edc3161a0fa1b2dc3b093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:917-954 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:466-504 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:917\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1d5887686e16aaae4a6e95df1c20a03dc9137b8e6ba3aec87f760f255af863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201337 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:512-536 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:955-991 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:512\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c0ce1d9761722be888b27bbcfbf90d6e9721a69344ba2889fc52065ae206a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:527-561 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:636-671 \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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:527\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc34450af28e0bf0b29ed2400372df3767e2ee1404baa647a1bd0c1824c779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:59-94 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:104-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3069e174e248cd34c3be3b106001c2f6f69e7cd0c22c62a887ade1d21b938811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:116-149 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:203-237 \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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"58091ff7eae94dfdf9b86f01235e7a9b7f38f2acc3eb6fd82afc2ef19a93296e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:82-115 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt:81-114 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:138-171 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:81\u0060 calls \u0060Surface\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:137\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f6099b6edcbefef7ee205e67d5451c5ba6612771f5b1deee5b4315708396e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:451-484 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:335-366 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:451\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5822f1e267bcdaf718b613407dd728c52f35f4e5bb316a8a181c209f3752f5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:824-856 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:384-417 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:824\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d8ef6c2f4858078dd5dca2dba161fe8a0295a3f5c762d8d9699b1543903284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:44-76 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:204-234 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2551fe8373009ab441b34f053dc6afbae61cdf7c9c5012b87c29010f1eca0dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:661-692 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:457-488 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:231-262 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:661\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d39904babfab09b904f977b9af94ba98a45f57eb52fc282b4dc61225d66133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt:202-233 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:188-219 \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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060isSearching\u0060 to \u0060enabled = selectionManager.isInSelectionMode || isReorderMode ||\u0060 in one and \u0060enabled = selectionManager.isInSelectionMode ||\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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e49da6498f8f75a7aff56dbb035ff713fbf01313dc2a724a794e11526fdde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:429-458 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:629-659 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:429\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3177c814426f4167754998bd11a13f8f621901df0a6a49c2e6bc75e5d517c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2197-2226 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3184-3211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b04c84a5ac9c571c1801ae139bf9efc0875cb18d1fce3918ae07572ef587dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:964-991 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:942-970 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:964\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72ea2ba0d128d377253dbb2524c89f902d2a05ab2083d77bb497ad3ae7a98e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:129-156 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:207-234 \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/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea934e40a71fa1a021062571f26a9aac5328ff128f3f4dc254709886ed36bcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:165-191 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:211-237 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:257-283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d9b86dcb9498f5d1e55113ccfdfb73e55c8cd6ae5202f76ca7928f26e6f259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt:219-245 | app/src/main/java/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt:260-286 \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/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt:219\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/app/marlboroadvance/mpvex/database/repository/PlaylistRepository.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42ced39d81efb3c92386fd1220c68f149799529224a09f5ee95ed9087996730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:338-364 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:196-221 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:338\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"18834b93a649d10b2ef95efadf3b1e4895de9597b61cf181359ca228e3cc99ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:662-688 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:760-786 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:662\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae80fa7b9c6686b5ae71fe4a576b73c4b29ecc0486e5e17deec2a2c311726fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:329-353 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:751-776 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:329\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:750\u0060 calls \u0060withReadTimeout\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:328\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae08d24f2efabcb5da2efe76876abda291077492e5355be0633b5be56b3d066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2239-2264 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3219-3244 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":2239}}}],"partialFingerprints":{"codehealthFindingId/v1":"66637000f5a84251acc9e8085368ce0825a61635a5b916677f28784c104c7ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:427-451 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:499-522 \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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:427\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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a86c4d79aa1da131ee882eb99650ae83065f8c0223ecadbd499242735dadf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:946-970 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1013-1037 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:946\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38a8f2de1155ef2758b51d00410564fd39d7a132eacefc020c831f118470e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:257-278 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:213-236 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:257\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"65351361543faaa3a3cd88519a0dcca287caa66db204006b64d9e4f54eb43d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:415-438 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:580-603 \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/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:415\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/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"423075e0aa9a86567e482c63ea9f22a7f685c4e1d6cee1b1ac07922bd4b15fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:189-211 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.kt:56-78 \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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b2758101ca9d2f7feb384570e9ec3bdf2cdc3e9e6c306da9912f50192883a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:760-781 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:811-833 \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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:760\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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:758\u0060 calls \u0060spacedBy\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:811\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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5398e912eb4038a4f2c2fea6936d3e6d3ef238f19eaf2f1adce82c75f2a2961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:120-142 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:162-184 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32b81cbf5383d9b01aa7361ca5df1eacfd4e22636c2db0ae7a3629a79f303af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:894-915 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:441-462 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:894\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f53f8cc99467916c4c27f3859f62d7f0ea8dbe14605f318a9f95a9acbd0e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1063-1084 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:162-183 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1063\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bc6621493dddc674c2deebbc107c50b4d50238e970f7ddb0220d2ac4e4d639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:18-39 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:179-199 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:18\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"129dd36846a0f574b82cccf3aeb90dd102e6eac525984f994d3f3eb64e40c02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:283-304 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:371-392 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:283\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/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"387fab4ef047676714e6a90a6ec6d1155724557acfe587d70ad85d5d4aa3b480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:739-760 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:801-822 \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/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt:739\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/CopyPasteOps.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c20b5467d513ff867ffaff07d7829881f1c2271ff94194a3fff0a7045c4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt:38-58 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt:88-108 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/TintedSliderItem.kt:37-57 \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/app/marlboroadvance/mpvex/presentation/components/SliderItem.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/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"428fc9ea1c729582e3b009967803de68f366b3484036a7e72620b607388b6045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:647-664 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:407-427 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:709-727 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:647\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4e62d6c1bf097d53a4454b82ae8898113f5e31712fdcba6068092a2e9c148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:386-406 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:359-379 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb74b612a10510495fd734e9fa3c29be3647ba86798b6715007abbcd31c403db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/fab/FabScrollHelper.kt:58-78 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/fab/FabScrollHelper.kt:90-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/fab/FabScrollHelper.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af3ed83210ee0167984abbe27ac994ce126a7ed10d922d2b69bc6d94e31eb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:437-455 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:209-229 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:437\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7541b7b5b33b0292988098d1a348dc23a7749c0f3bf91f2a12006444256f4e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:759-779 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:828-848 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:759\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d51c415b4777c4d4cb88d6013c12187893f65c6f61d2df3be78aa06616445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:313-333 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:563-582 \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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:313\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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ca17c3bf5179718b1c13878665e13fcbdc6f33bbb240a5ff346cbd49d0a132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:83-102 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt:82-101 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:139-158 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:271-290 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:81\u0060 calls \u0060Surface\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:137\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"feff469acfa4fc52cb060ffa8e725a749b7a575abb553ae0196a9cdd05b65bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:694-713 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:490-508 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:264-282 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:694\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6d64bfccf9087c4792ae4641d9b565b2d7418a4328f1a5e3f4c02e9903511b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1201-1220 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt:609-628 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1272e7861076ac6d08f7b64ff7079ffbb54f8132682f143fbefabf343fb398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1001-1020 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1061-1080 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1001\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e02ea499ece2be867c65c0c872b4a22c39f2f8a25dc9c01a26745f6ca0a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:642-659 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:439-455 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:211-229 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:642\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dad0585c44fec3928b5033d7b9d5b8f5c55211b9e928c931e0aa62af822187b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1876-1894 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3068-3086 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3325-3342 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c368e11344c5ea891623fb9868a29ed80dff3329aec470b12f6f4db20d9628c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:334-351 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:460-478 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:334\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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7070df0598e057e28e015ac1464ac2fc635e9bd16198710c09406e77d827be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:865-883 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1073-1091 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:865\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6293ad9253d5a1dc2f03e64d0faef4017b31c118a0a8f1471eefb2d1762dbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:126-143 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt:125-142 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:182-199 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsPortrait.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt:126\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsLandscape.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"492cb8c54f21ce598a2bde91f019b7ec5330f914e45b19cd8ff987195b3859b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:327-344 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:134-151 \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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:327\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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2596337648b32a47ed6975139724dd5b668c49c743500399a606f0f23cf960e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1197-1214 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1371-1388 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1197\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dfd8f880cdde44e3302f835566a7dd38c265b83f5395eaa7fafa1bcc5e343f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:97-113 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkStreamingScreen.kt:125-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:97\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:96\u0060 calls \u0060removeLastOrNull\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkStreamingScreen.kt:124\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbbc3c8a2246fc8277ed7f8041d3c19c22ea539e68f09c6e60b155e68ffe4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:264-280 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:488-505 \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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:264\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"78000785fae15d3faa62797dafc172e1f2d64471228679ec80abf803e3494f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlayLinkSheet.kt:85-102 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:62-79 \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/app/marlboroadvance/mpvex/ui/browser/sheets/PlayLinkSheet.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlayLinkSheet.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec83470e66b21f507a3f815c27236aed59ac1554338da3105824932119b77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:252-269 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:360-376 \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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:252\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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"391931b1ad53a00dc06d81b54a6173a578fb351df61aae714d99267b802366a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:936-953 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1143-1160 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:936\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7af696d75614029d844f4002f0efef158ad5fc4bcf63294ada9c940053f701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1043-1059 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1104-1119 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1122-1138 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1178-1194 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1043\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4751d298ccb3ee90298ae6cf75b4b3e4be2961233e901f1eced77f37b93fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt:76-92 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt:112-128 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerPreferencesScreen.kt:56-72 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PreferencesScreen.kt:63-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt:76\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fc7b9dbdfb0545fe8cd541f09c0beda74142f11f1625d2ade8280e6371f7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt:59-75 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/DecoderPreferencesScreen.kt:74-90 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:74-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt:59\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/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c45570cd4340374495f2a04ce29de4953cb025f9c9728324ee2c9e43c6a203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt:69-85 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.kt:70-86 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.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 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt:69\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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d2f7c5cb8122538ab5d3f09b45a4b45e305f8b0e6c0909cad16da76b5c3a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/DeleteConfirmationDialog.kt:129-145 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/RenameDialog.kt:135-151 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/DeleteConfirmationDialog.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/app/marlboroadvance/mpvex/ui/browser/dialogs/DeleteConfirmationDialog.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a4a7e24a22239109b79fadb35f46a33f72c5b8abc8d290ab169dcac5602a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1515-1531 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:988-1004 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:1005\u0060 calls \u0060onRefresh\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1532\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadc7bb29955bf055b448274d03cec3fe9d8ad1116e4b0ed0d5cc0436353c4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:89-105 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:126-142 \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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9cc6aba06c9fd3244bb2eece8dadf60379fa94c44766698a89299b430af6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt:88-104 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/SubtitlesPreferencesScreen.kt:168-184 \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/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.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/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40f472626c35adc0f04d61e369a1a16c042fb763ae3b44cc71e8ff5378d5a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:234-249 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:479-494 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:619-634 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:794-809 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"12985428c4a85e03a43118a059caaf9e9eb255e74511a1f28e11812d6a0496df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:186-201 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AudioPreferencesScreen.kt:54-69 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/DecoderPreferencesScreen.kt:69-84 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:69-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:186\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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"425de03a3d5e318434dc0e6e030016d83e011f0f00e353cea808b8d1c52300b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1496-1511 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:991-1006 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1496\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b1a2bbeb04333a2bd755af9dce551d75dde24ca488f0d30f31fbc81a3b17f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:345-360 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:722-737 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:345\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcbc9b34d0d1b9fffd5f82b5993f244d06cb922d47adf2a54779abae87d8e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:575-590 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:796-811 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:575\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e759a0612cacf9a77df2cfb1a146a5880e54260ddfde14e5f96718559f34d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/history/RecentlyPlayedOps.kt:76-91 | app/src/main/java/app/marlboroadvance/mpvex/utils/history/RecentlyPlayedOps.kt:94-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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/app/marlboroadvance/mpvex/utils/history/RecentlyPlayedOps.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48a5a620e331e959adbdcff673688eb7e33fe6e9a7dbee9206b9fa9ec003bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt:72-86 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt:108-122 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerPreferencesScreen.kt:52-66 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PreferencesScreen.kt:59-73 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/SettingsSearchScreen.kt:93-107 \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 5 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/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.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/app/marlboroadvance/mpvex/ui/preferences/AppearancePreferencesScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"36796d0b56ab88064ec34181635da8235d07cccb8b6b9caae0f2c9ce048d7414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1901-1915 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2247-2261 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3227-3241 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3343-3353 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2244\u0060 calls \u0060getVideoDurationFromUri\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1899\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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc82ff81baaa3cfc9e9b2ea2e743c0639f0cbe79e923f299a25b49b0a3349af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:663-677 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:716-729 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:761-775 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:815-828 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:663\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad54f8f26857a56ac8b455d85e1e8f443e7e73cd762a1f67f35216bd86a726c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:644-655 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:404-418 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:478-490 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3c808dd56c2f45490f1d3680ddb0de2061aa68b3798341528f385e12e757f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:332-346 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:436-450 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:204-218 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"40882352f0d77db3c96aa3bfe739d437d3ee4f54be30c58186d0018a93048425"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:196-210 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:281-295 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9be79aafb94dccd105e7a02f413257aabc56c1d1719fc7e474d95ce4e24c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:540-554 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:578-592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:540\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"09384e4e979161ebe59e0786b5f538237eac30b18586804bf2a6912510de3ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1209-1223 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:857-871 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1209\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e441b7da70ae796a7c609061604b2297cb87cbd17fd3a1804aee014a84184203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:395-409 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:418-432 \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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:395\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc54e35c8d85d8b2bf521e4b6f50fb0cbdc349cdc7b49a8c827d1ff1b61cfde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:87-100 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:152-166 \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/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.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/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"da88b0f48aded0b86b85f9d49daf1485de8e75303155e426feb248f1fcd6a323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt:69-81 | app/src/main/java/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt:158-171 \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/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/repository/VideoMetadataCacheRepository.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d9cf8725355f97b9813a3adb45647a1bb4f323f8608c0ec9fb0103dcd6b8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:209-222 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:334-347 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6a9a44ccf7ab8a077f1f30fd9ef0c6f90a7317c7c7aac3910b47a282a45c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:207-220 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt:371-384 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab21699e004b79e29b38de76d69c70ab807f35ea7df976136b28a9787d0f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:148-161 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:193-206 \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/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/VerticalSliders.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec25d138d30d7b6b70efea804a2a5b2a5d41461630bdce578dba421b6f11ed45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:433-445 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:504-516 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:737-749 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:433\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c209b639accaa0ac5da5a1908932f45d3e5a907f2419e32d4bd142cfc8cc94cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:44-56 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:106-118 \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/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:44\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 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/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1ef77fce8f91c704a008c9cdd73eaad06297d9e744a4c0d322316c56cd4438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:265-276 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:546-558 \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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:265\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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b9b8d007b5d5a6dffb75b05353958a6a9086a929d203b2adcb94ee17735669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:321-333 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:160-172 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"936db570fa644ab77630e529dbe358926ef3d17b060153093172a6850921b8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1154-1166 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1336-1348 \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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1154\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51731bce4cb9bf9cfdb45726fe5d6065845a2da340ff3993bc7a7b70b04953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:222-234 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:160-172 \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, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:218\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:157\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8c148ef3c195b9cf7e55ed4f66bf4e6cd58d6623e259fce3f204dc1bf3aa69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:417-429 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:559-571 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d4bd8e55cbae671ab4d4625982c6dcdf77c191a9d3c0647df5b66bcc065c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:518-530 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:751-762 \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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:518\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c067882928ca68550bc700f658bd31ba91137bf6c4fc7d6cb2355d2242c7bc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1301-1313 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/HttpUtils.kt:100-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1301\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ac1c05ef66c559b1abe4a23d3fa666a1d2c54d6028e059e2fcfd10eb35a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1474-1494 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1526-1546 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1474\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b322bb7a0c0a3475b233f2fa529277551ff0aaa0f1919d8f86fd9449166fe054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:693-705 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:791-803 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:693\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae6a05694bc621446a38333de2c9a2a9ec50daf4a750db990051a322b82bb2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:214-226 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:463-475 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce2eeefd55158a485bd189d2ac029359296bb821be8ac91211e04af28453efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1878-1888 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:2203-2214 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3070-3080 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3190-3201 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3327-3337 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3468-3478 \u2014 all 6 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 \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:1878\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d458df44178d4372df82bdc9df1f83a22d88b2fcbc01415a62a28e061b3afd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:871-882 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:959-970 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1026-1037 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1079-1090 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:1159-1170 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt:871\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"316163ce7502a88c4e6e16df3584d5a6e04ce34fabd7f51aa93dccbbe0faf340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:196-207 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt:338-349 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:281-292 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:465-476 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddToPlaylistDialog.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1e6361992c1563394e312a9d7a497c552d387c21696d2369e2834761717be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:295-306 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:311-322 \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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt:295\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/app/marlboroadvance/mpvex/ui/browser/cards/FolderCard.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6bcb5d6bd26781e09d496da9d612c8e7c7b876a266fbd83fb4e55bc4db6d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:188-199 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:226-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.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. 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"af14435647ff3c70b6677264d65d63bb4706ad7f984b43ecb8bfe71991fd3af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:906-917 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:884-895 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:906\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff6658eab2f90fbb0d40519563aef086d8de29b575eecc06a3808093b5597aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:1068-1078 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:1103-1114 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:1068\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:1066\u0060 calls \u0060spacedBy\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:1103\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"882a7d6b782ae8d6b032961638c68c864a678cda96dc20627b20d07fcb544ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:213-224 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:346-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:213\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a990e95a8a146b9b0e6fcb6361dedc2d8e202161295c2d7522bea9c4f783f2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:650-661 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:663-674 \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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"18afd2f74f4a028a3d3d4633d1d128731d72f4afd56b50a830cdae0c077b2033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:233-244 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:486-497 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:233\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc76c768ab73ae58a57e2a83574d9a999ddea971c48c5b63f503a8ffc64661c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt:37-48 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsPanel.kt:37-48 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsPanel.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 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b679f7e1b73ee6bb35c7b5ffdc0656ee9f69f99021d41ed5c5011e8a852c227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1207-1217 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:232-242 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:477-487 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:617-627 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:792-802 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ff92e1191e638a7e0d67a6802f5f1beed09b76dc11cd3d00dc7aa8b6048350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt:78-88 | app/src/main/java/app/marlboroadvance/mpvex/presentation/crash/CrashActivity.kt:87-96 | app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt:85-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/MainActivity.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt:91\u0060 calls \u0060LaunchedEffect\u0060, \u0060autoConnectToNetworks\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt:97\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/app/marlboroadvance/mpvex/MainActivity.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7c3279faf9c6d2fde73c936ac5fd91d60f27f547846f0877dee4aa5b06225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:187-197 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:225-235 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt:123-133 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt:187\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f466286530b0ba9458afaa2c916350347973bb1b5fecb0c1e9355f07d512f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt:61-71 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/TintedSliderItem.kt:60-70 \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":"app/src/main/java/app/marlboroadvance/mpvex/presentation/components/SliderItem.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"940c5e7a9a05939d52a0b54a971ce57b3b36db464c88749404575ab9cb898677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:529-539 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:555-565 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:529\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/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7abe1547a4e25636aa5b4157dceb52fc23b4347ae0d4793249ef431d03c3365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:891-901 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:437-447 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:584-587 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d418e4cb3781a9540d0d8c9f3a1dc053357d1ec1ea5ded89912354cc82717ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:737-747 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:752-762 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e04abe7f2711d0e3b13168e75cace502fdc09ea5f42d8d58959f1251f33b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:748-758 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:796-806 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:748\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 \u0060null\u0060 to \u0060color = if (loopA !=\u0060 in one and \u0060color = if (loopB !=\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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c72b4ce6714df470e31b31d0dd1e8383d0ddc6e0ff667e380b8e2eb9e0f891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1209-1218 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:857-866 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:234-243 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:479-488 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:619-628 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:794-803 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:1209\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a756828fdbb4c7bb31bf5e40eafdf9272a3cc57649ad8d6b0811bce94b49ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:788-797 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:435-444 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:506-515 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:739-748 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:788\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f5c3a6678c08576317dbe3f2139adcd18a209feca94a330b61bcc2351d9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:563-572 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:582-591 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:803-812 \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 \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt:563\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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"548d88a7e454374d2fecbe8767c5fb302884712853a071c3ebc367c897ddbb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:88-97 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:153-162 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:205-214 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:204\u0060 calls \u0060emit\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt:87\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/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd87fb61237e2802f96a9daa9065cdfedb46ea1b074c4f7904a0ea8ac925a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:315-324 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:179-188 \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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:315\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a63bd16ed200947acaa3a73ef6eb3cedc2ea05d24e0119c5c7536111588fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3273-3281 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3292-3301 \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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt:3273\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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":3273}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cdb1398e8ff3b3f8a7496a295520dd618f2661d5a2379c7a2d4349fd2dd943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:402-411 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:819-828 \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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:402\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6811d7cb11da614d79cbd0d0e0263db422b02a581600d516947b3c55c59278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt:109-118 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt:501-510 \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/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt:109\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/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d06f247f8c132d0265ee1fbf9060dda06d671876b4d7424da710ca2ed1810d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:312-328 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:341-357 \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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt:312\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c6a51e6496c98b95455467663d160398aceb237d52dbd8d36ad263ef421e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/M3UParser.kt:262-271 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/M3UParser.kt:281-290 \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/app/marlboroadvance/mpvex/utils/media/M3UParser.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. 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/app/marlboroadvance/mpvex/utils/media/M3UParser.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e60cf7ec98dd621a176c101c203b1740fbdb5acb678e689bcd3af7b5caf50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt:82-91 | app/src/main/java/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt:103-112 \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/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.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/app/marlboroadvance/mpvex/utils/permission/PermissionUtils.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932dd50f7028e802178d0e4913aac7b9b405cb1e1d4b9b3d02d281b6b83ed41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:647-655 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:407-418 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt:481-490 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:709-718 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:647\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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d384e15b7e98fee291577cafb13cd61c5771257c5a7849153b0b5d0bedffbd17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:655-663 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:219-227 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:418-426 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:718-726 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce284701ad4f88eb5812c7dfa2d2b9a31fec4efa5866aaf72b1d604ad648a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:68-76 | app/src/main/java/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:132-140 \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/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt:68\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/app/marlboroadvance/mpvex/presentation/components/OutlinedNumericChooser.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d915f686acb11cbfa9ff24fddd21dc317d2076e55ea1c4a9b1fcc56807d2ab81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:197-205 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:188-196 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6399c335f278d60a39cad80b0a509879f4b069544f715add8c6aabe9502e639a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:527-535 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:294-302 \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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:294\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a303cbc7e9c39f97f30431e3690d9a7276f311df18a0bff698f831a61722a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:592-600 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:671-679 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:592\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a875703b2dc199e08d061016a37a660c0a496f063d7fa076d5d582ab8359093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:482-490 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:492-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:479\u0060 calls \u0060Color\u0060, \u0060toPx\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:490\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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dcad94af5fb14a0ef2ff034747225ef9fd2dcca5745121bd4f94ae95aa240e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt:52-60 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsPanel.kt:52-60 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsPanel.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 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt:52\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/app/marlboroadvance/mpvex/ui/player/controls/components/panels/SubtitleSettingsPanel.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478f78fc761dc8a9b1dea25bc0ff659f10ee089735b2ab856688975fffda0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsDebandCard.kt:125-133 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsFiltersCard.kt:67-75 \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/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsDebandCard.kt:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsDebandCard.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"acda224974d317cb051deb20f6e36d76ed2deab4bcf2f347c3de33c9edb0fa1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:270-277 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:158-165 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:591-597 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:670-676 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:270\u0060 it does not close everything it opens, so those exact 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:278\u0060 calls \u0060e\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:599\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d164b93ae9432b13d7b5be0da4371fa574050df49736421f53add3bf3825dea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:111-118 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:557-564 \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/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:111\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/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a30797bb17066fe1183ca258425ae7f37956d8af8f94b4aef08f895398ffec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:229-238 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:410-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:229\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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b58653660aa74381a94408e453024f78586fffae7bf30c21c76b5130ac63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:292-298 | app/src/main/java/app/marlboroadvance/mpvex/utils/storage/VideoScanUtils.kt:66-73 \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 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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce06acabcd477d7d198fd8ae4d3117a2f18fca4611adf5d799eb9e479e322a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1046-1053 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1056-1063 \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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt:1046\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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3a62e9ec54c1062d2b0039b70dde49dd750ed5caf519a606d6a10b44ca086a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:92-99 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:118-125 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:92\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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ae8a49574ac5bc507893b219a3d61c28de909bdfd27b5565fae4d3add085de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:614-624 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaFormatUtils.kt:40-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/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt:614\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedViewModel.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad3f5a36c6361adab444eb23b5a665ae01cfa8082a50f16d5d1045899c79929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:337-343 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:714-720 \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/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt:337\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e357567eb1484623037a1fdfe7e35bd40dad8be2aa918c0b71a460ea32b2bd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:636-642 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt:645-651 \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/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9482796724d86085b872694412f190c5f36858d53b11c0c98dca570886a3e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt:412-417 | app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt:425-431 \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/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt:412\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/app/marlboroadvance/mpvex/utils/media/MediaInfoParser.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"be33a204d0d9fb5dea993544541fb7b6f3cb91500aefa28cf1c20b13ea0586c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:270-276 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:383-388 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:158-164 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:591-596 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:670-675 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:270\u0060 it does not close everything it opens, so those exact 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 \u0060len\u0060 to \u0060Int): Int = rawStream.read(b\u0060 in one and \u0060Int): Int = inputStream.read(b\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt:278\u0060 calls \u0060e\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:390\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8d9ead484cce6e5a328a003170162b8e5a5bd0e875155731c11cc6c97e4a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt:81-86 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt:870-875 \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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda259d2ab6d21de6bca8589865007d1b9977a64a741676178211c37d1991370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:991-998 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:403-410 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt:991\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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"405da62bb72f5aa1ab8f4236029a503a365fe0e4ad74f2aace83b3bf1a408b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:640-646 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt:749-755 \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. 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/app/marlboroadvance/mpvex/ui/player/controls/GestureHandler.kt"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"df26dacb9e485a2b3f78a46bdbe436e4e5cf68179502de64ebd09a01e87a1716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/components/FloatingBottomBar.kt:80-94 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/components/FloatingBottomBar.kt:96-110 \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/app/marlboroadvance/mpvex/ui/browser/components/FloatingBottomBar.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/components/FloatingBottomBar.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5bbbb47740c9ec5bcf069413ee09f3fb92a54f0d826d29f7ebdf4828404087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:313-327 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:734-748 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:313\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:750\u0060 calls \u0060withReadTimeout\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:329\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7decfd12b2c1998d066c7aded2469217cf12ff5cc6527a46ae9e9c2f61ff07ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:145-158 | app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt:296-309 \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/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt:145\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/app/marlboroadvance/mpvex/ui/preferences/GesturePreferencesScreen.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da00365b2a0e78a6727bdaa89b24ce02ba34ac9a46bcc507d144ffd61c9a3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/MediaPlaybackService.kt:448-460 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/MediaPlaybackService.kt:498-510 \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/app/marlboroadvance/mpvex/ui/player/MediaPlaybackService.kt:448\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/app/marlboroadvance/mpvex/ui/player/MediaPlaybackService.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4adefe9f898d0c86d360f4d1731466425b61cca98bba8271aa9de39ea23a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:174-186 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:273-285 \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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:174\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, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:287\u0060 calls \u0060Column\u0060, \u0060spacedBy\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed458da7f0ee5a92c82ebdd5aff44a2626c516f5bb058f53d1fb96a057e17391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:200-212 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:506-518 \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/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb21fef69ec534b07d2726844d5d78c34fd48ae68ec2f1f1b1545a70ed3ecf15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:479-490 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:531-540 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:557-566 \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 \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt:479\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/app/marlboroadvance/mpvex/ui/browser/dialogs/SortDialog.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae3a4a225fc19f58e2a403a8901c03a61d0c2124a9f1952e1b9072f3b8613a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:107-117 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:144-154 \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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt:107\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/app/marlboroadvance/mpvex/ui/browser/sheets/PlaylistActionSheet.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0329dde016478b69181ec0779a28807006e9d5d6b5571049ccdeb33b5ce67ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.kt:80-90 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.kt:98-108 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkVideoCard.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 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/NetworkFolderCard.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b3bd14fbe015d20ac6e0799fd5166c7eb6ea1b8585c19327306e0ea0b61276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:255-265 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:277-287 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkBrowserScreen.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3d15377c3c17709ebbdd6273e6a512c174ab00ea717833dd6ba10e6fcad7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:180-189 | app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:206-215 \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/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/AspectRatioSheet.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee27773a1aea8a31961be1fb1b796ca41f8aa8f0596da6ccd04c05fd2f9158fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:277-285 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt:698-706 \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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27018c9645f9bc94f08e8a4b1115fb34fe1f9b641a0d8513b00f30e9392d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt:169-173 | app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt:394-398 \u2014 before extracting anything, compare \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32e0177daadbbfeb378d5663ef372893392e2ff48f41e09701f99184d63f3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt:38-43 | app/src/main/java/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt:62-67 \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/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt:38\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/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855d7494221da67e5f2f0d39d22b1f3585d9cb2500d69acad393add82d05d07"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlayerViewModel (LCOM4 5): PlayerViewModel\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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"923fe511c10d4427138108cf315ef9a1f10b0c9dafa82cce8d42afc475dd616d"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (JUnit (with Kotest or MockK on Kotlin)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in VideoListViewModel.loadVideos at line 163. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-26..2026-10-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-26 19:44:08 \u002B05:30\u0027 --until=\u00272026-10-24 19:44:08 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf894e9fc2398e52f7ba585a41cfc0b67e9f2e227e0f98ec9f613951ac9a79a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in VideoListScreen.Content at line 126. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-26..2026-10-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-26 19:44:08 \u002B05:30\u0027 --until=\u00272026-10-24 19:44:08 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f68330bcb1956b5d46b64355e97ee4ad9ffeeeaa282a9da8464cf3cee328549"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in VideoCardKt.VideoCard at line 59. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-26..2026-10-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-26 19:44:08 \u002B05:30\u0027 --until=\u00272026-10-24 19:44:08 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.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/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1f77b35e27943ddbc19c28bd2cd3274901d18b0324b1bf7939266fe9d1f392"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt: app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in FolderListScreen.MediaStoreFolderListContent at line 144. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-26..2026-10-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-26 19:44:08 \u002B05:30\u0027 --until=\u00272026-10-24 19:44:08 \u002B05:30\u0027 --full-history --no-merges -- app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3b1d1178759dfdff34aac3e3a323bb15adad0d83447463975c207788afd97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: strings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/PlayerControlsPreferencesScreen.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5894620503b018db418d15f5f6a5a3ba111a4ae58058936a4205024c8beb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: strings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/components/PlayerButtonChip.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a35f1f1e5a174bd3115d80f99b88104df06b5879502af218d987144ed3a2fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: strings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/components/PlayerButtonChip.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"510f5e654c2f46da8e937dfcf80f457da1b72f74bd45f90269455e54d1b5c6bb"}},{"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 \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isURLValid\u0060 spells \u0060URL\u0060 where 17 names in the project spell it \u0060Url\u0060: 17 of 18 names in project app spell the token \u0060Url\u0060 (17 of 18; unit: names in project app containing \u0060Url\u0060). Peers: PlaylistEntity.m3uSourceUrl (app/src/main/java/app/marlboroadvance/mpvex/database/entities/PlaylistEntity.kt:12); ThumbnailRepository.isNetworkUrl (app/src/main/java/app/marlboroadvance/mpvex/domain/thumbnail/ThumbnailRepository.kt:445); SmbClient.baseUrl (app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt:28); WebDavClient.buildUrl (app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt:27); PlaylistDetailScreenKt.StreamUrlDialog (app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt:708). Rename to \u0060isUrlValid\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaUtils.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbf2fd5562843d864366b7d3b0d619f889a4ba771bdf46723b0ad5f0a0ae64f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (54025 LoC, 566 module-visible types across 55 directories) overshoots its size bounds. 1 of 2 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/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":"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":"1542ac657294a7960a3ca68607ef7a17d9ed3d2457fb06dcd777067445c6a3cf"},"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":"188b0fa7f5d9a6fe39b67b6c9d2c56717a9c8395e8dfaee45f9a83ed7f988f9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e10dd1c37af22b497f72f89b2c46e91ef5c8fc9d8d3b51a11f187eb59b3d5d0b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15ad88b38fff2e6e26a2e5c51db46b5d95f5a0ab9ae8764a426454804472d49b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"045562b35b2b2c227e5b0cdf3d286d2cf31f63072d8abf407d04a8619cd89e10"},"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":"8e72a7bfe5aa8ffa265daff19f772638b3b186b5b7776b43ea9fa8d0db11550b"},"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":"57d56a96e6a66cc71a03a3dd00907661a2a0e261f64b2bd3be9d7d1abec59f07"},"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":"e9fdddee0ce25d31e4e18e209c2b3cfc3b0dde3991b2d406876a7c63804ba7ca"},"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":"9492ca8bb4115e86de23ece679f6f822e70695c524fe5534b22997a3cacdd120"},"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":"46ee94bead56e5c381e070333607daf4ad85e28788f59a498309540e9a32c57b"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04ff18ac029571f60a342fff37a1e1ee028139e441ca012ca19fca1da01cd6ca"},"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":"fd2d134db6744b70e755ae02b9a6d9fa172fb4512f66f3430102627e2a62dab3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b17a20ebb7325ba8bf637799f4b60c29a6401eb0de3db5aee678b380140cd3bc"},"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":"bd720b215dc083b8a9896293dde9ef71d7ca87016b90525d4d53dae076e190f5"},"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":"7b6108934e1b65aa42e0dae90c8240e1f3b72b436af4ba37f8dfbfe091b4053a"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c94a78138b4868771f99828efd441bd4974bbae3a5d6df40f62c57ad7e8106c"},"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":"5b7a1c5c8e0f60e6bc08344ed730c53e83124508afd167df4f8e21df9e6cd29a"},"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":"9083df42701e0ff6fe7f9f6bcf01728d031e814b00b793f470a1ed48777f428d"},"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":"0ed9f46c0b20b3da7291117e8ad0fc55a1bf7dbc594dde1cf4c946525b97b8ff"},"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"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":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5e9d014082478cfd849b9496f2c995726d04a11de5a2e7c7f1c575a573d8f859"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"55e3aa94d572b4055150e0ad0fcced678373f7337cdb0a450f57ce5a74236001"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"3b0367e7ea9bdd389991714fe83002077989c3eac9db9d8bdc3becd4dd073aee"},"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":"4ede32120c164b5c73931943ac02570a274532eb262e75672ff11e171f8f6058"},"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":"2e3d25003e1629e2858bdc08d61e3a4f3387ae4d9ee1fcec6dec4e21d59dd3e4"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 162 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 162 of the 221 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: app/src/main/java/app/marlboroadvance/mpvex/domain/anime4k/Anime4KManager.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsFilterPresetsCard.kt. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/domain/anime4k/Anime4KManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57035647c586776ae467f924d33e7320bf496e05b85ead081e6d0faf80b70520"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/panels/VideoSettingsFilterPresetsCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0a5cfaa1dcad76347d49d87dbddcf8f1a2386dacb24ea1d34efc4bc2199b05"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: VideoListScreen.kt \u2192 DatabaseModule.kt, VideoCard.kt, FileSystemBrowserScreen.kt, FolderListScreen.kt: \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/java/app/marlboroadvance/mpvex/di/DatabaseModule.kt\u0060, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/cards/VideoCard.kt\u0060, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt\u0060, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffb54ee5f2686717c9a00cb2f3d0c4e6e7eeafd66d07c2d8e3510bf33fa7e7d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: PlayerActivity.kt \u2192 MediaFileRepository.kt, PlayerSheets.kt, MoreSheet.kt: \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/app/marlboroadvance/mpvex/repository/MediaFileRepository.kt\u0060, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerSheets.kt\u0060, \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/MoreSheet.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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd2d8e67a555fdbb90d762f087e0695a51a3ef98e628e48f9b46f10c053b50"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PlayerControls.kt \u2194 Seekbar.kt: \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/Seekbar.kt\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060abebda15\u0060 Seekbar Bugfixes (#558); \u00608fba7526\u0060 fix: bugfixes (#538); \u0060c3cb7ed4\u0060 bugfix: telegram/issues given bugs (#511) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d545a18eabbbf0126cf275d13150b7aaef33a191630e27ad210c8de9a66e4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PlayerControlsShared.kt \u2194 MoreSheet.kt: \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/MoreSheet.kt\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006088d4eee8\u0060 revert: remove ambient mode completely; \u0060004e9601\u0060 feat(player): add YouTube-like Ambient Mode with smooth dynamic glow; \u006079f76481\u0060 chore: remove Ambient Mode and Lua scripting functionality \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/PlayerControlsShared.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e58f4394b66e65bb04bd27b771f4fa9771f954c03305fe85ec8f2f215c29b5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PlayerPreferences.kt \u2194 MoreSheet.kt: \u0060app/src/main/java/app/marlboroadvance/mpvex/preferences/PlayerPreferences.kt\u0060 and \u0060app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/MoreSheet.kt\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006088d4eee8\u0060 revert: remove ambient mode completely; \u0060004e9601\u0060 feat(player): add YouTube-like Ambient Mode with smooth dynamic glow; \u006079f76481\u0060 chore: remove Ambient Mode and Lua scripting functionality \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/preferences/PlayerPreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ece2abbfde1678e92989bd45b557b3292a8f3c70b8b60bbaf830b9b25d63cad"}},{"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":"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":"3d9450c1e9a738f2d810b3eef41d9babb54722911a7ca830a4cd182d6263d27e"},"taxa":[{"id":"CICD-SEC-4","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":"99ea7227e936403d2721646bb7eda616c2bb982bdc1acbc458c4273e7a89a850"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/components/sections/header.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c30c554708182bf8d2ee4a270e3351b738bcebf722a97cd78b6ee91c10c7f9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/components/sections/hero.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"29283bf8e77214090dc744f9217d604d630f14bbfd6d806ced6c5856ef064ecc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PlaylistDao (29 abstract methods): \u0060PlaylistDao\u0060 declares 29 abstract methods: \u0060insertPlaylist\u0060, \u0060updatePlaylist\u0060, \u0060deletePlaylist\u0060, \u0060observeAllPlaylists\u0060, \u0060getAllPlaylists\u0060, \u0060getPlaylistById\u0060, \u0060observePlaylistById\u0060, \u0060insertPlaylistItem\u0060, \u0060insertPlaylistItems\u0060, \u0060updatePlaylistItem\u0060, \u0060deletePlaylistItem\u0060, \u0060deletePlaylistItems\u0060, \u0060deletePlaylistItemById\u0060, \u0060deletePlaylistItemsByIds\u0060, \u0060observePlaylistItems\u0060, \u0060getPlaylistItems\u0060, \u0060getPlaylistItemCount\u0060, \u0060observePlaylistItemCount\u0060, \u0060deleteAllItemsFromPlaylist\u0060, \u0060deleteItemsByFilePath\u0060, \u0060deleteItemsByFilePaths\u0060, \u0060updateItemPosition\u0060, \u0060getMaxPosition\u0060, \u0060updatePlayHistory\u0060, \u0060getRecentlyPlayedInPlaylist\u0060, \u0060observeRecentlyPlayedInPlaylist\u0060, \u0060getPlaylistItemByPath\u0060, \u0060getPlaylistItemsWindow\u0060, \u0060getPlaylistItemsInRange\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":"app/src/main/java/app/marlboroadvance/mpvex/database/dao/PlaylistDao.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"680a5ddbdb5b807822746d62dba7847bbc74d3c53faeec793c0c0cddb7871ce6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RecentlyPlayedDao (21 abstract methods): \u0060RecentlyPlayedDao\u0060 declares 21 abstract methods: \u0060insert\u0060, \u0060deleteExistingEntriesForFile\u0060, \u0060getByFilePath\u0060, \u0060getLastPlayed\u0060, \u0060observeLastPlayed\u0060, \u0060getLastPlayedForHighlight\u0060, \u0060observeLastPlayedForHighlight\u0060, \u0060getRecentlyPlayed\u0060, \u0060observeRecentlyPlayed\u0060, \u0060getRecentlyPlayedBySource\u0060, \u0060clearAll\u0060, \u0060deleteOlderThan\u0060, \u0060deleteByFilePath\u0060, \u0060deleteByPlaylistId\u0060, \u0060updateFilePath\u0060, \u0060updateVideoTitle\u0060, \u0060updateVideoMetadata\u0060, \u0060getRecentlyPlayedPlaylists\u0060, \u0060observeRecentlyPlayedPlaylists\u0060, \u0060getAllRecentlyPlayed\u0060, \u0060insertAll\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":"app/src/main/java/app/marlboroadvance/mpvex/database/dao/RecentlyPlayedDao.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"436fefb69cbd3cce0a99fc8e19105085e954ddbd695435d510628eb4c81c3f87"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No encryption usage (javax.crypto\u0027s Cipher in ENCRYPT_MODE, Tink, Jasypt, Spring Security\u0027s Encryptors, Jetpack Security\u0027s EncryptedSharedPreferences or EncryptedFile, the Android Keystore, SQLCipher, pgcrypto) was found, and this repository persists personal data in the model cited here \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/domain/network/NetworkConnection.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb40f036e74e3a28d87c70865b753e5b0a8bb59913f55ea71cc51ddc857585e"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: an expiry limit \u2014 a declared maximum age / TTL after which the data is no longer kept, a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PlaybackStateEntity: \u0060PlaybackStateEntity\u0060\u0027s public constructor takes \u0060mediaTitle\u0060, \u0060playbackSpeed\u0060, \u0060subSpeed\u0060, \u0060externalSubtitles\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PlaybackStateEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/entities/PlaybackStateEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c76dc99d4e728e071d696a366c0a4959bf183b11dfde28a75b841495850bcb"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PlaylistEntity: \u0060PlaylistEntity\u0060\u0027s public constructor takes \u0060name\u0060, \u0060m3uSourceUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PlaylistEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/entities/PlaylistEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd1d916c3dc632f98b588991d1e61f41f6613a70ae0a43d0d9ebe3c688888f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PlaylistItemEntity: \u0060PlaylistItemEntity\u0060\u0027s public constructor takes \u0060filePath\u0060, \u0060fileName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PlaylistItemEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/entities/PlaylistItemEntity.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"134a1452aa2758d8c65306a11d93aedf17d0299e16ea191fb6a1331fd45c678c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecentlyPlayedEntity: \u0060RecentlyPlayedEntity\u0060\u0027s public constructor takes \u0060filePath\u0060, \u0060fileName\u0060, \u0060videoTitle\u0060, \u0060launchSource\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecentlyPlayedEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/entities/RecentlyPlayedEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a502cba2cffafd6a943eb4db5313cf1fde3d6e585017fabb248b1e0f55caef04"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: VideoMetadataEntity: \u0060VideoMetadataEntity\u0060\u0027s public constructor takes \u0060path\u0060, \u0060subtitleCodec\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060VideoMetadataEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/database/entities/VideoMetadataEntity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a3f1b83a6b31c14069b9f89adef5fcf283efb91c465349a3defec128e02ba"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: NetworkConnection: \u0060NetworkConnection\u0060\u0027s public constructor takes \u0060name\u0060, \u0060host\u0060, \u0060username\u0060, \u0060password\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060NetworkConnection\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/domain/network/NetworkConnection.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa86ea4d6ba2a0e99869d183975aeb17804484d8e5bbe382a5c2f8c2141b4b3"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: NetworkConnection: \u0060NetworkConnection\u0060 is an aggregate/entity with 12 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/domain/network/NetworkConnection.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f07d689d610de5c1bf16e009157755a5a1d8e90c56e212c68098addad40f7ec"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 242 JVM, JavaScript/TypeScript production file(s) this check read across 2 module(s). Each was searched for its ecosystem\u0027s logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add 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 4 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060website/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/package.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fce86b2103c4f2843d013c58b5c7f061667466a865c9a8b7a65b915759d9d19"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downloadUrl || siteConfig.links.latestRelease\u0060 appears character-identically in 2 files \u2014 website/components/sections/header.tsx, website/components/sections/hero.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/components/sections/header.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa92a917ec87f23b022365d05107333da18c25fcc1bc2ad17ff47b4d089e261c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectionManager.isInSelectionMode \u0026\u0026 isFabVisible.value\u0060 appears character-identically in 3 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba46df6a59e1f8414148505557411e8fdd60f9c31f497aa59cc5c19403fa83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tempFile.exists() || tempFile.length() == 0L\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/FrameNavigationSheet.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"548a6cbec936bf16d28020e15bddb762545da696e766916f89a522267c959d55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060BuildConfig.ENABLE_UPDATE_FEATURE \u0026\u0026 updateViewModel != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AboutScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/MainActivity.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10c5d21bb5334102d3520b865c7a6cc6fa5fa86640d01aefa033c0608f81a37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dark == DarkMode.Dark || (dark == DarkMode.System \u0026\u0026 isSystemInDarkTheme)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/MainActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/presentation/crash/CrashActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/MainActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35843ac50c444bcac70663baa8fe92fcf70dba4c1d3f495de4242310a0d959"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.isFile \u0026\u0026 FileTypeUtils.isVideoFile(file)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt, app/src/main/java/app/marlboroadvance/mpvex/utils/media/MetadataRetrieval.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserViewModel.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067d16011792998e990c5d0c2b454ee0da0f2ce8387f425f5c24d0ab95e8903"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060files.isNotEmpty() \u0026\u0026 !files[0].isDirectory\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e999db3de5b72f852e3b2c1da8798a9e6ad7ea8778d2630c87a8f0141478a782"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gridState.firstVisibleItemIndex == 0 \u0026\u0026 gridState.firstVisibleItemScrollOffset == 0\u0060 appears character-identically in 4 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19f4c25a58e0bcfb2022acfb4b2e8cf7d81d6fc5340608a074d4006dfcd9fcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.isNotBlank() \u0026\u0026 (isAnonymous || username.isNotBlank())\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/EditConnectionDialog.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/dialogs/AddConnectionDialog.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c11bd6f0f70425b82d9398c8f80953fb0be2f6fff9ebb6833a8adef583d42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRemovable \u0026\u0026 volumePath.contains(\u0022usb\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/dialogs/FolderPickerDialog.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/dialogs/FilePickerDialog.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d84336c4d47dc4c75c6fb92d6e8d53ca204961641527387f14ed0e61ca8c95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isDirectory \u0026\u0026 it.name?.equals(name, ignoreCase = true) == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/preferences/AdvancedPreferencesScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4ff5d7acbc44297bdf1f477f76d66eae849d75c07078173b3fcc4f6cc531b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listState.firstVisibleItemIndex == 0 \u0026\u0026 listState.firstVisibleItemScrollOffset == 0\u0060 appears character-identically in 5 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/folderlist/FolderListScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/recentlyplayed/RecentlyPlayedScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b375d130d6205abfe94a141fe2a0c6b548034cf53bbec952f8a4c90990b8ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operationType.value is CopyPasteOps.OperationType.Move \u0026\u0026 operationProgress.isComplete \u0026\u0026 operationProgress.error == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a59a00a2cdbfad8b887c55d5f5d3c0c91b4c42f1e65d7a203d3febe2eedbef4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playerPreferences.usePreciseSeeking.get() || duration \u003C 120\u0060 appears character-identically in 3 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/player/MPVPipHelper.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/MediaPlaybackService.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/player/MPVPipHelper.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bc4720dff7dde61065e439863c3701c185da02befedd6b3fc8e94cac0c61f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedVideos.isEmpty() || operationType.value == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5f8e5a63f491dfb86d269d0b800382950e33b9c6997ad48d78e472c1c6ac7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedVideos.isNotEmpty() \u0026\u0026 operationType.value != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListScreen.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/browser/filesystem/FileSystemBrowserScreen.kt"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc406591df4c93bf101b417bbc29821070b28dd4023c2320fba14b71a455947"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri != null \u0026\u0026 HttpUtils.isNetworkStream(uri)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/mediainfo/MediaInfoActivity.kt"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be5c917f6ce065fae37767828c76da0144c34f04ffffd083186d554504e04a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri.scheme?.startsWith(\u0022http\u0022) == true || uri.scheme == \u0022rtmp\u0022 || uri.scheme == \u0022ftp\u0022 || uri.scheme == \u0022rtsp\u0022 || uri.scheme == \u0022mms\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt, app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerViewModel.kt. It is one line, so the duplication detector\u0027s token 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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":3423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5155aaefe6d2282b830d604190c024d363cb9c92920ec0e76ef8780d85fe206"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept an AbortSignal or the coroutine\u0027s cancellation: Only 0/5 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 () and hand it to the request; in a Kotlin 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":"21eeee9e423271c6ca8c1585dbd13becefdff0bcb29bcd0381c3b54ed97e04fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getRepositoryContributors: \u0060getRepositoryContributors\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/lib/github.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab99ddf1c62128d45ac6a541c3f8c551355a6800e3a29caa9b776b66de6b834"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getContributorDetails: \u0060getContributorDetails\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/lib/github.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cd460ebc0bd1c9afc1748e00be27f5cf826ab8a350bc4c40afdbef11d89c86"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getRepositoryStats: \u0060getRepositoryStats\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/lib/github.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f16a27298a9668465b7410c483a09fc0a8cbafddbfe5fed75eae60e8a7ea2e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getLatestRelease: \u0060getLatestRelease\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/lib/github.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd0a7c04b3b5b2f007b823db68f6d73cd067b99790cd90b76ffb04ea6312d1d"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getLatestRelease: \u0060getLatestRelease\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/app/marlboroadvance/mpvex/utils/update/UpdateFeature.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9e752a203047f750413e98e8a097a58eb9bba31adbeec834915bbe4e4ae827"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/utils/update/UpdateFeature.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c37552b565f64120a285506850f7c405887b900e55b43a1339adcf7d510e6d"}},{"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/app/marlboroadvance/mpvex/utils/sort/SortUtils.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ae6d5baa9bca35080ed452aab2a683148b22158ce292fff528b509a8c20f24"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/HttpUtils.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"238485610cfc42fc3fd94d37f6819d50f2972c9a8079139bb2f1d4682bff2a8c"}},{"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/app/marlboroadvance/mpvex/utils/media/M3UParser.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488213cca4d04f2bd48be33b8f4e7463f35559075f3b2a923d4b13135265fb3"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoOps.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3042404c8ffa4a34ec1d35818e0a1051dec4f6025828bd4aa55431bee5703520"}},{"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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b898084f9ec376ce1a3b11133ae6b83cc68257a193f287acf5b9e55ff25ce26"}},{"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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"893e9481c796874786c990d6d9457ded8575b11024936ff97ed91a4867a606d2"}},{"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/app/marlboroadvance/mpvex/ui/preferences/ControlLayoutEditorScreen.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"323746d901c406602802cd28a5748bde3c5da0db3f0f73a6c8ae98e99d8f643f"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ebc25d9f3a33ce3542a9298b3d5e38a0c2dee42f8235ea5e05304e4ce96ec6"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/player/controls/components/sheets/PlaylistSheet.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed72dff767773417eb8d4ae95976cb0e4d7293a20861dcffdf447de17bbb8f5"}},{"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/app/marlboroadvance/mpvex/ui/browser/videolist/VideoListViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9407783b784f7f3afc61a38e657160b45381198f26168d1762b307e4e43d0b"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/playlist/PlaylistDetailScreen.kt"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075cf21fdbdb81a7d1defe45c41318b3f79b8d03fb6c321d4156510635552af"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkStreamingProvider.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"821efe5e68670fd5b822f4f6849acd948b9b5024cb5d7dfbf35546cea2ea30bb"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/NetworkStreamingProvider.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d72c6021844b3a6a7759e91a5ac242bbd6cbfbb4f974aecc69ec2963bd749"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d13a83b5b944285d8af2690e3140b8bfea20a7274a2c8be2d512dddb6bc5797"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52fc2a21eb470704b7397374471ba2c50423da9f3460a4fabf0a706a03cb42"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7faadd6ddbca460abe9ecb7f4aed61d62290fe5b40194dbe64327fdff9de79"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3d23805dae9fcc28f6d6c6bfb64ce618e6f61e997ba0a805060bd19a43306"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8576ba2e4526503a82967cab63be2172df11178462d00f51faf98e7d3c9c172"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51db02bc42376862697e4583040d95a5d33c5b0d03131cdaf51ceb5c49414cc"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26cef5773b5ab4b2cb26d11e92a917c7010e2dfa9a0a91b5f29b4ddcd88c608"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5744f31fe68e8c0b1876629cad0a49d5f499b1b63dd05e12ef08fb711e19a8f4"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c8c137193400dd181a24b22b99851f5b52e55b220c1571724650fbae327c5c"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1053ae3683436d16d5f28acd2c15d399d04b474957edc1c33a8e95281c1707a"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f077d2d399b5400645de41c54930045ab5ba772f5cd3e38bd938d5de00a5b8"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8bdcf6b7b566010a250734cd5aba23db66fca2a8b2d8014ca4f008cdb53fbd"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dca0415cd71510e69099caf56ab43a04daa0276c8ccd4d31aef028130d8628"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c663b9c211ab86b65458a820476970851b3cb82402a1dc31bfa457333c2ee"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"7449ee21d0d807e2ea170e35bea1c1c88ce7466e186632aedbe157fd828b305a"}},{"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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"332bf212e8c75d0dbd948f6f3d88f0861da7a34ddfefdaaab1e5946b11f4da6f"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/FtpClient.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f299805d9089a8c4fc52ba31e467a60264989343ebbcdd5a39a11f1cb026e0"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c50afb1c816d5e9de259ca07cc7de7d8ac452618e8b3a1601a6e7c0613f6c2"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1751d6457b6b3dea1804236029265078cecccae8c71fe42854ccfc2e66feeb3e"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4dfc9d09173803ed3787c4523bd81da722b17908b7f0247c5c583e8d8d26f5"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de344ba9230fbc987fa9083a4c69cb7cd70faecb2703f0ea04f2dba1cb7b488"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced7b594d6552c2ae6d5e7a43ff0fcfe866f1d1a7dbbe8979a4d87c223df6a1"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/SmbClient.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef9d7c74c9f24c55477c930b46ebfae84ad88f8658d126e321d340e4730c06"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/app/marlboroadvance/mpvex/ui/browser/networkstreaming/clients/WebDavClient.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42560e2c5ad630f8c1af12f1764b75d12c6f230539a00b0568a75fbfdd20ca6"}},{"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/app/marlboroadvance/mpvex/presentation/crash/CrashActivity.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"543db870cab9916f29413aa2c2e2c5fda5cea8c673d7aa4a7febaf718d90d750"}},{"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/app/marlboroadvance/mpvex/preferences/preference/AndroidPreference.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a10a7feac590e8ae54ea6e3738429b94f59673e7bc0386f0cf01341d179d514"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/domain/anime4k/Anime4KManager.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fda7ac2acc458b47920f2f8021842c437b8ab3a23733c50a7077a0db539601"}},{"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":"app/src/main/java/app/marlboroadvance/mpvex/domain/anime4k/Anime4KManager.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ea06636dbe0e9d24056dbc2cad336d44d14c56d96f93d364760676f09c404"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFileSize\u0060 swallows every exception into \u0060-1L\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/app/marlboroadvance/mpvex/ui/browser/networkstreaming/proxy/NetworkStreamingProxy.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"730308588cedbeff2ffd284f87fc3c3d7e94f8f6a96864248bd0b2f6bbb50bd3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getVideoDurationFromUri\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/app/marlboroadvance/mpvex/ui/player/PlayerActivity.kt"},"region":{"startLine":3315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b288b63adb123f1ce39f50932fb64bae8653cb46e04f0d70b05575f7dd0fbc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractPlaylistNameFromUrl\u0060 swallows every exception into \u0060\u0022M3U Playlist\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/app/marlboroadvance/mpvex/utils/media/M3UParser.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11134e769649b1eb8d9c6649583189d495cb5d7ad13661fd0b1625bc2b330f1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getRotation\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":"app/src/main/java/app/marlboroadvance/mpvex/utils/media/MediaInfoOps.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f3fb0f4731119b86781be0ed90139926e609a5ad0a54a74af71eeb5b5da912"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":37,"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."]}]}