{"$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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"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":"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":"LivePlayerScreenKt.LivePlayerScreen (cyclomatic 147): LivePlayerScreenKt.LivePlayerScreen has cyclomatic complexity 147 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e528dcbe140d39f4948bdf5d0d03004f6ba8175fa68f405908d5993d6b0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MainRootScreenKt.MainRootScreen (cyclomatic 138): MainRootScreenKt.MainRootScreen has cyclomatic complexity 138 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c26fbc1f844c3f77ad7466226b58b44c66582daf30926d59296e9f1b08bbae"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerScreenKt.VideoPlayerScreen (cyclomatic 130): VideoPlayerScreenKt.VideoPlayerScreen has cyclomatic complexity 130 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b88735dec2f1017483254c60c1a4fcfc8b07faf609fa7d31bbedd11c6bace06"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbVlcPlayerScreenKt.SmbVlcPlayerScreen (cyclomatic 121): SmbVlcPlayerScreenKt.SmbVlcPlayerScreen has cyclomatic complexity 121 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2f104469ea3de57e8923dd1468569a5799ff545dbebb5729dedd6fa610a955"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeLauncherScreenKt.HomeLauncherScreen (cyclomatic 120): HomeLauncherScreenKt.HomeLauncherScreen has cyclomatic complexity 120 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c411ef5f56baf0157d24a2f4da5538e1eaf8069dc242ef8ea25e8ece11e0fb"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingScreenKt.SettingsScreen (cyclomatic 106): SettingScreenKt.SettingsScreen has cyclomatic complexity 106 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b5f363e41f16adc0e97ca975566c75321bb5414d80190f0da9f22d6e6f6f44"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerState.handleKeyEvent (cyclomatic 94): VideoPlayerState.handleKeyEvent has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5b025050c4d51a4e83e1dd6a311eab07c6777331d06c12c0f85a738742019"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgDrawer.draw (cyclomatic 90): EpgDrawer.draw has cyclomatic complexity 90 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9830f6cc594053507430adccc77f38fe80ead535612d3487f399c7012f11294"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordListScreenKt.RecordListScreen (cyclomatic 83): RecordListScreenKt.RecordListScreen has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e63d3be0c9b19df8ac36ef2e37d45d01aef78c372829b583f5743b47fd3e82"}},{"ruleId":"D1","level":"warning","message":{"text":"ModernEpgCanvasEngine_NoAnimeKt.ModernEpgCanvasEngine_NoAnime (cyclomatic 74): ModernEpgCanvasEngine_NoAnimeKt.ModernEpgCanvasEngine_NoAnime has cyclomatic complexity 74 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine_NoAnime.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d92ccdf1e231fa329bec53dfa3a58089252b82e97339933ea142b3b1f318788"}},{"ruleId":"D1","level":"warning","message":{"text":"ConditionEditDialogKt.ConditionEditDialog (cyclomatic 68): ConditionEditDialogKt.ConditionEditDialog has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"520e4e68bbed2f40fbb283b1abacfac7e3d46812af546f3d87ba6ed830f04d82"}},{"ruleId":"D1","level":"warning","message":{"text":"ReserveListScreenKt.ReserveListScreen (cyclomatic 67): ReserveListScreenKt.ReserveListScreen has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3084121f80505ead28f2402c14baa63f9bfd7109396f7bdb773f7999c8719fc"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerState.handleKeyEvent (cyclomatic 66): LivePlayerState.handleKeyEvent has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerState.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e1cae18ab38af048ed1bda469cbb06ffa10f0711de22af9df757a36f8b5a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerSubMenuKt.LiveTopSubMenuUI (cyclomatic 66): LivePlayerSubMenuKt.LiveTopSubMenuUI has cyclomatic complexity 66 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9289e9df6be36bcfb823dae77b59304b3022748221f67355e9e599244d968d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SeasonalDecorKt.SeasonalDecor (cyclomatic 60): SeasonalDecorKt.SeasonalDecor has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"609902eb8e2d703c78840a42bea9ed35bd9e1c4ea0041dbf43410bb4e3489143"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConciergePanelKt.AiConciergePanel (cyclomatic 54): AiConciergePanelKt.AiConciergePanel has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"87363b33b80a6c59b59a54cd94dfa5a77e9609083ad488c49227c8dac4f3ea5c"}},{"ruleId":"D1","level":"warning","message":{"text":"MainRootDialogsKt.MainRootDialogs (cyclomatic 53): MainRootDialogsKt.MainRootDialogs has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootDialogs.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8dd47830aad60505a0c525f85b9a9af0bc2dd2f13bf6d6b0eb6dd9fbd91b30"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingContentsKt.ConnectionSettingsContent (cyclomatic 53): SettingContentsKt.ConnectionSettingsContent has cyclomatic complexity 53 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d0c48a05d274596a849dff8cbddf9bbbe7d309e5a41f927c328fd996e565a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ModernEpgCanvasEngineKt.ModernEpgCanvasEngine_Smooth (cyclomatic 51): ModernEpgCanvasEngineKt.ModernEpgCanvasEngine_Smooth has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ad696ad029f159f55f033c3794a13b2c4badaa4ae40b519cdd91073f04318"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordSyncEngine.syncAllRecords (cyclomatic 48): RecordSyncEngine.syncAllRecords has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6687cb80b3b2a3e41f66f654463c375c8fc9d1b601af49828ebeae6e752e0d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoTabContentKt.VideoTabContent (cyclomatic 46): VideoTabContentKt.VideoTabContent has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b39494b6b1a618da1044e0aa4c335fef4aa491854bc3ec808de753941e19264"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cyclomatic 46): PlayerControlsKt.PlayerControls has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/PlayerControls.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bc9da9181a0a5435e24f7d6b70abb582ce59e56d12713a43cdb358f72e2fce"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordListContentKt.RecordListContent (cyclomatic 44): RecordListContentKt.RecordListContent has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd795223ac7f2a00aa9e0946bc5dbcf4579547199f71cc5a54fe36965790e384"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeContentsKt.HomeContents (cyclomatic 43): HomeContentsKt.HomeContents has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe88f277b9302e473b4fea2aea51574ee3a506b37c262ea316a6f126fb0c9238"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordSeriesContentKt.RecordSeriesContent (cyclomatic 42): RecordSeriesContentKt.RecordSeriesContent has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"49402b6b8afaded2c94b28316b5a14d69793296c9a4979cdbea4a0ba45ed6f0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ModernEpgCanvasEngineKt.EpgHeaderSection (cyclomatic 41): ModernEpgCanvasEngineKt.EpgHeaderSection has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61077ae99621e145593aeac277a1d91230b725b03cc4daffae96800c6ca7fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgramDetailScreenKt.ProgramDetailScreen (cyclomatic 41): ProgramDetailScreenKt.ProgramDetailScreen has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f47debd190eca3222eec8631a51c8a486520305e7bf102c63efd7767f5805e"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgReserveDialogKt.EpgReserveDialog (cyclomatic 40): EpgReserveDialogKt.EpgReserveDialog has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eefda2a53e3fc410d0f699e1509c5ad42cde9edd427e1cb7293f7a324e47be"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbLibraryScreenKt.SmbLibraryScreen (cyclomatic 36): SmbLibraryScreenKt.SmbLibraryScreen has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4b557a87b2b307e41aa9c4d7ea14cd34b08220bd3252ac4a6d861ec67b0c91"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbRecordRepository.mapToRecordedProgram (cyclomatic 35): EdcbRecordRepository.mapToRecordedProgram has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a203bcdc55311c4a3ba5646cfafec857ce0f7341947fbd70691baf049537aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgNavigationContainerKt.EpgNavigationContainer (cyclomatic 32): EpgNavigationContainerKt.EpgNavigationContainer has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7427fb8e257af4baa2a0d120011e95b03f6aac5d3c9d559a4246df035aa25f"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeKt.KomorebiTheme (cyclomatic 32): ThemeKt.KomorebiTheme has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed812223b7978ed9dad8636adf8ad5a9772c3eac7174802694fa12fe90a6ea"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgJumpMenuKt.EpgJumpMenu (cyclomatic 31): EpgJumpMenuKt.EpgJumpMenu has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgJumpMenu.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5e59145e1403fe9a3e2abe17229ef09bb6cfaf3ba292f2adad70b69c14fbc7"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbListContentKt.SmbListContent (cyclomatic 31): SmbListContentKt.SmbListContent has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885ff210f3775f9998336bc393188addb1665be8e2a2982d34ef0c19800d026"}},{"ruleId":"D1","level":"warning","message":{"text":"KeywordConditionCardKt.KeywordConditionCard (cyclomatic 30): KeywordConditionCardKt.KeywordConditionCard has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7fed1a45497bfc32fbd6d5f5b243ccdfea3604b15d69a7f54e2348bbf41e84"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordListItemKt.RecordListItem (cyclomatic 30): RecordListItemKt.RecordListItem has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"433d5970d4e0ae6d975f785d6327646e2783c11f7129ca06ddf91aa5cdc8d7dc"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerManagerKt.rememberManagedExoPlayer (cyclomatic 30): VideoPlayerManagerKt.rememberManagedExoPlayer has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f382bb4b5a269b6068427bea2ad1efc2b2ed1b28be0a4a47eebfc3c0231ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbDataMapper.encodeReserveRecordSettings (cyclomatic 29): EdcbDataMapper.encodeReserveRecordSettings has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"024ed7ac759210c2f40b2b4c6d83be6cbb90bf7270f8446e9c0dc333036f94ba"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveContentsKt.LiveContent (cyclomatic 29): LiveContentsKt.LiveContent has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc91b088d9972b1db602a805b4e30afe29720a167cb9bd7bd9006421fcf36d"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbListContentKt.SmbGridContent (cyclomatic 29): SmbListContentKt.SmbGridContent has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f1f9ac1732998db6d67adc9128b0e7f1848785d198bfc94633923243c41f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"MainRootBackgroundKt.MainRootBackground (cyclomatic 28): MainRootBackgroundKt.MainRootBackground 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/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6910c12124c763f32fa2b7a9f6edd6baca0038893e5559752a4be030816b592b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReserveCardKt.ReserveCard (cyclomatic 27): ReserveCardKt.ReserveCard has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854a84fa42cd9d4d1a8aabb9b54cf1240b8771bf60c345bd56f516f5ab45412"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConciergeViewModel.handleAiResponse (cyclomatic 27): AiConciergeViewModel.handleAiResponse has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53e25f83a7848ae592e18d381ec7b1babbac3695c22904b204908588bc68fee"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingContentsKt.HomeDisplaySettingsContent (cyclomatic 26): SettingContentsKt.HomeDisplaySettingsContent has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"340b91701cbf712f87dc88a53147294752619e445fc9c3fecf3aae3b035e6875"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordSeriesGridContentKt.RecordSeriesGridContent (cyclomatic 26): RecordSeriesGridContentKt.RecordSeriesGridContent 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/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5136e14efddda54c67f6299fd9bc1aaad22ce5a7286566f6f67b1eabbab48c42"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerSubMenuKt.VideoTopSubMenuUI (cyclomatic 26): VideoPlayerSubMenuKt.VideoTopSubMenuUI 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/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd724c730d3b3b79a21c7e0b7b144ed931372bbc3fd3df3fb6204cb00741159"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeKt.getSeasonalBackgroundBrush (cyclomatic 25): ThemeKt.getSeasonalBackgroundBrush has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"286e54f6dd931abb066da6466423ab05823e0dd81f9819912695930e24ce92bf"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbApi.getEventInfos (cyclomatic 24): EdcbApi.getEventInfos has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9710b1c62a3d1ec71ac5638b43cd943574636b84f6b4251e3792c8c0002e8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgRepository.searchFuturePrograms (cyclomatic 24): EpgRepository.searchFuturePrograms has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/EpgRepository.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb49b7b8651ae0d529a30444f7c84c8af1a12023e4d353b7ecf4da6bccf309a9"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordedCardKt.RecordedCard (cyclomatic 24): RecordedCardKt.RecordedCard has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4417473d665fb04514e347ffc12b3c86a7e5f100c1a62c2eb0aff30d9f3badfd"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbViewModel.parseLuaFormat (cyclomatic 23): SmbViewModel.parseLuaFormat has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b48e0fe8ca124a79aaf7bee400ce21a3271743462855fca03b11751c7e130a4"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.playMainChannel (cyclomatic 22): LivePlayerViewModel.playMainChannel has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (LivePlayerViewModel.playDualChannel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73e931055770b76ef2b6b1debf2121374147049c3842734b63fcbc6b6434b64"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.playDualChannel (cyclomatic 22): LivePlayerViewModel.playDualChannel has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (LivePlayerViewModel.playMainChannel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4113f343f1ce24c5b59c7d02fde5333b4e84a8137bb718f9241a39240a10e3"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPlayerSubMenuKt.ModernVideoSettingsOverlay (cyclomatic 21): VideoPlayerSubMenuKt.ModernVideoSettingsOverlay has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f92336cf9e104f71ed29cc5e2f89f6f9eba43a42137b42d5e18adff480b055"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbByteUtils.readAutoAddData (cyclomatic 20): EdcbByteUtils.readAutoAddData has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c1a7dfd5fc1cade74c5b8e174595b18b5857e065531803986e1ea5795902fe"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveDualPlayerKt.DualDisplayPlayer (cyclomatic 20): LiveDualPlayerKt.DualDisplayPlayer has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ed0e406dd50bb57eb7d4f26fa529658fc4afbbafd4818370bf2fd67610eea"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordScreenTopBarKt.RecordScreenTopBar (cyclomatic 20): RecordScreenTopBarKt.RecordScreenTopBar has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e7d0a7f16f01f94c71dd5af5dd96e3fb2d12bc4ed441256fd869db8cd1e6f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsViewModel.forceSyncStreamQualities (cyclomatic 20): SettingsViewModel.forceSyncStreamQualities has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"be56aeffccd1e31529e4228d93c1221bd931d1472a7121a6d3e7779a34b2efc1"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryCardsKt.VideoRecentRecordCard (cyclomatic 19): LibraryCardsKt.VideoRecentRecordCard has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba8a54eb29438ac914115fdfe79589ef19685e1b522f9a5321ba6850a5098c9"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerOverlaysKt.LCropOverlay (cyclomatic 19): LivePlayerOverlaysKt.LCropOverlay has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc64921555df461281b1d4ae90502649c8fc2ef39cc032d24eef6424ec4d044"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingComponentsKt.GeminiSetupDialog (cyclomatic 19): SettingComponentsKt.GeminiSetupDialog has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc2c34b110732bb8f39b28e7b3ae5444b50ced3a3eaca3c682795f5245d3c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbDataMapper.encodeSearchKeyInfo (cyclomatic 18): EdcbDataMapper.encodeSearchKeyInfo 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/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccce5c2ee88612b0c18c7cf3ab44b7c6d4c8bd86ecb33dc48bafb5763000c59"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordListOverlayKt.RecordListOverlay (cyclomatic 18): RecordListOverlayKt.RecordListOverlay has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListOverlay.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a5e119075ba22542cd6732e465a498c8bbd8a179801db57f5af8ad4e15c2f0"}},{"ruleId":"D1","level":"warning","message":{"text":"TsDurationCalculator.calculateDurationMs (cyclomatic 18): TsDurationCalculator.calculateDurationMs 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/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"247252430c223e9554fd71d447cd6a142d31889e9a9496c6617565d6c500ee23"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.handleMainError (cyclomatic 18): LivePlayerViewModel.handleMainError has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023d842c33e0f0142d20ee50312a39b823b729eee8f8f919efbc0d1eecfccc5"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbNwPlayDataSource.open (cyclomatic 17): EdcbNwPlayDataSource.open has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ebccc01116757b84ffb399fe53e72931f3a0e308818848eb3d99ae84e8c16"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeHeroDashboardKt.HomeHeroDashboard (cyclomatic 17): HomeHeroDashboardKt.HomeHeroDashboard has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeHeroDashboard.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee44ec2a511bb01f88d6cffc1f864308c8c2483f0424503bd55c9b5eef86a0"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedSettingsDialogKt.AdvancedSettingsDialog (cyclomatic 17): AdvancedSettingsDialogKt.AdvancedSettingsDialog has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa95d93bfdc7e923766fd25916a5f4d4f4d816139f52f8b544372865939819b"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordGridContentKt.RecordGridContent (cyclomatic 17): RecordGridContentKt.RecordGridContent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd93707a37d0c08cdc511b28fa72637b26a217d4eaaa4dd8b7fd430027e5b37"}},{"ruleId":"D1","level":"warning","message":{"text":"ArchivedCommentOverlayKt.ArchivedCommentOverlay (cyclomatic 17): ArchivedCommentOverlayKt.ArchivedCommentOverlay has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/ArchivedCommentOverlay.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"305bd23b5f9fc75c4ea92ebbd3a21c0a72e01152414b225a6a611b2519fbdde0"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbTopBarKt.SmbTopBar (cyclomatic 17): SmbTopBarKt.SmbTopBar has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdbf773138eb4d2ec83ba49d23e8edd329ef70f4be42e2ec9a06487124ed22"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.buildStreamUrl (cyclomatic 17): LivePlayerViewModel.buildStreamUrl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f73a4e8080350cf5219f96a78c25a46513333d0caff365bb94ea5c90c57f502"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.startMainSse (cyclomatic 17): LivePlayerViewModel.startMainSse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd52cd7581bf51e9c8072ac03f3736bb5da9cf787b1d52713567346518458a6"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbEpgCacheManager.fetchEpgDataIfNeeded (cyclomatic 16): EdcbEpgCacheManager.fetchEpgDataIfNeeded has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d200e47365ce9461602544007bb7a9e2de07b9828ebec10b5168e10514d64a3"}},{"ruleId":"D1","level":"warning","message":{"text":"EdcbLiveRepository.getChannels (cyclomatic 16): EdcbLiveRepository.getChannels has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbfe17a69e1eba6fa8733b331df1666279e02b52691066aa745a40224792bdd"}},{"ruleId":"D1","level":"warning","message":{"text":"EpgState.updatePositionsInternal (cyclomatic 16): EpgState.updatePositionsInternal has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgState.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c910e82d69aef109f5d2a72c2acde0bb70c56b2ac79144288b36d5ad4951e266"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelListOverlayKt.ChannelListOverlay (cyclomatic 16): ChannelListOverlayKt.ChannelListOverlay has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/ChannelListOverlay.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e27d09da5e746887d367f88072ec3d9c8b430b477bb28ec82d7a856ea943934"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePlayerViewModel.fetchAvailableQualities (cyclomatic 16): LivePlayerViewModel.fetchAvailableQualities has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"47320c30476a2255b24e68d2bf163d331a726b07f7e2cec819f0d571de203385"}},{"ruleId":"D1","level":"warning","message":{"text":"SmbViewModel.performRecursiveSearch (cyclomatic 16): SmbViewModel.performRecursiveSearch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4be1009cde4da61389afc6c8aac3c4456a951239fa342146940e326429a6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbVlcPlayerScreenKt.SmbVlcPlayerScreen (cognitive 320): SmbVlcPlayerScreenKt.SmbVlcPlayerScreen has cognitive complexity 320 (threshold 15). Drivers by points: if/else 116 (284 pts), boolean chains 23, loops 2 (6 pts), match/switch 2 (5 pts), error handling 1 (2 pts) (nesting depth added 176). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0cfc9c46a1ec286a8d92622a1dc4b0d689a1f53b5c3dea72c34f6ebf95902f"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgDrawer.draw (cognitive 264): EpgDrawer.draw has cognitive complexity 264 (threshold 15). Drivers by points: if/else 90 (226 pts), boolean chains 19, loops 5 (10 pts), match/switch 4 (9 pts) (nesting depth added 146). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5779556dc1b0b1ac10398a6312f1c3622ac109dc91933882c90963a6df22ac14"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerScreenKt.VideoPlayerScreen (cognitive 236): VideoPlayerScreenKt.VideoPlayerScreen has cognitive complexity 236 (threshold 15). Drivers by points: if/else 124 (192 pts), boolean chains 38, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844c74f8f53c10436304e0e2b587bb99a0127f07f9d55edb6b433bfcbcf6905"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerScreenKt.LivePlayerScreen (cognitive 211): LivePlayerScreenKt.LivePlayerScreen has cognitive complexity 211 (threshold 15). Drivers by points: if/else 110 (149 pts), boolean chains 56, match/switch 3 (5 pts), error handling 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec95e725e623ff9b1b0a1ee38f0723e577c21a46ce44f6d7327db4703aca500a"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeLauncherScreenKt.HomeLauncherScreen (cognitive 184): HomeLauncherScreenKt.HomeLauncherScreen has cognitive complexity 184 (threshold 15). Drivers by points: if/else 91 (140 pts), boolean chains 37, match/switch 5 (6 pts), loops 1 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e88016e8f82295e3fcada2220875641096ab81ebeed85c7d7035cbaf28a2f24"}},{"ruleId":"D2","level":"warning","message":{"text":"MainRootScreenKt.MainRootScreen (cognitive 167): MainRootScreenKt.MainRootScreen has cognitive complexity 167 (threshold 15). Drivers by points: if/else 75 (125 pts), boolean chains 34, match/switch 4, error handling 1 (3 pts), loops 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85786c57c705e8072f8418cb9bed47869c0756988c9470a268ab6c481d25524"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerState.handleKeyEvent (cognitive 166): VideoPlayerState.handleKeyEvent has cognitive complexity 166 (threshold 15). Drivers by points: if/else 75 (146 pts), boolean chains 13, match/switch 2 (7 pts) (nesting depth added 76). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1046d2e8e8b5a0ad4db8a5dd36875362623a1e6ebfe96dc48954f59304286b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReserveListScreenKt.ReserveListScreen (cognitive 137): ReserveListScreenKt.ReserveListScreen has cognitive complexity 137 (threshold 15). Drivers by points: if/else 58 (116 pts), match/switch 5 (11 pts), boolean chains 10 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4257e088dd95c29ca08a222c99392eb865efc276cdb92064e80feca82a06e413"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerState.handleKeyEvent (cognitive 126): LivePlayerState.handleKeyEvent has cognitive complexity 126 (threshold 15). Drivers by points: if/else 46 (102 pts), match/switch 4 (13 pts), boolean chains 11 (nesting depth added 65). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerState.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e931b1084554298885201f0b286327c171bf8a0f1b964eb67a9dc650b16477df"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionEditDialogKt.ConditionEditDialog (cognitive 125): ConditionEditDialogKt.ConditionEditDialog has cognitive complexity 125 (threshold 15). Drivers by points: if/else 72 (108 pts), match/switch 6 (11 pts), boolean chains 6 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"21309520702a471f66acc7729c542190d2872bc6b84fdb99a37041c877ede1b9"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConciergePanelKt.AiConciergePanel (cognitive 124): AiConciergePanelKt.AiConciergePanel has cognitive complexity 124 (threshold 15). Drivers by points: if/else 54 (104 pts), boolean chains 11, match/switch 3 (9 pts) (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/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"596dae5bda8b07a4d6c3bcb0edaed14b5220aa25b9348cf61f2cce739a3d3e64"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordListScreenKt.RecordListScreen (cognitive 121): RecordListScreenKt.RecordListScreen has cognitive complexity 121 (threshold 15). Drivers by points: if/else 71 (96 pts), boolean chains 14, match/switch 7 (11 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e29bde55feff07607b40fdf950a67a9b0f33f7c0a2b52f8a03f76a31a7d3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"SeasonalDecorKt.SeasonalDecor (cognitive 117): SeasonalDecorKt.SeasonalDecor has cognitive complexity 117 (threshold 15). Drivers by points: if/else 46 (80 pts), loops 17 (34 pts), match/switch 2, boolean chains 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c683e478b210a7474e3edd5c60afdc08cbbf6f94635781b91b549d35cdb65fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgramDetailScreenKt.ProgramDetailScreen (cognitive 113): ProgramDetailScreenKt.ProgramDetailScreen has cognitive complexity 113 (threshold 15). Drivers by points: if/else 44 (105 pts), boolean chains 4, error handling 2, match/switch 1 (2 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1418a25aaca4aead64e938eedd40b899e840d5ee8a87cbe30f58e578f78056a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingScreenKt.SettingsScreen (cognitive 112): SettingScreenKt.SettingsScreen has cognitive complexity 112 (threshold 15). Drivers by points: if/else 61 (83 pts), match/switch 8 (14 pts), boolean chains 10, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ddf09c1990165dfce6c28a759027871c0c3251b0cf77f8f3439e9dea4a12a4"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerSubMenuKt.LiveTopSubMenuUI (cognitive 110): LivePlayerSubMenuKt.LiveTopSubMenuUI has cognitive complexity 110 (threshold 15). Drivers by points: if/else 62 (81 pts), boolean chains 16, error handling 5 (8 pts), match/switch 3 (5 pts) (nesting depth added 24). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ab9207dbe220be6f9b726eb2dcc87720847c0824f83c67bc9e95566db191e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernEpgCanvasEngine_NoAnimeKt.ModernEpgCanvasEngine_NoAnime (cognitive 102): ModernEpgCanvasEngine_NoAnimeKt.ModernEpgCanvasEngine_NoAnime has cognitive complexity 102 (threshold 15). Drivers by points: if/else 63 (80 pts), boolean chains 12, match/switch 5 (9 pts), loops 1 (nesting depth added 21). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine_NoAnime.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbf1fa35ee18b487fde36c846c6844b1d4ac3e6ea3b493b51ac558b7e74a61e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernEpgCanvasEngineKt.ModernEpgCanvasEngine_Smooth (cognitive 93): ModernEpgCanvasEngineKt.ModernEpgCanvasEngine_Smooth has cognitive complexity 93 (threshold 15). Drivers by points: if/else 46 (79 pts), boolean chains 10, match/switch 2 (4 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d4ef55329d01f19af3d437438bbf832fda9e6a550c4be217393677f44903b4"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordSyncEngine.syncAllRecords (cognitive 90): RecordSyncEngine.syncAllRecords has cognitive complexity 90 (threshold 15). Drivers by points: if/else 40 (71 pts), boolean chains 14, loops 2 (3 pts), error handling 2 (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/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53a4b7acc76f700a64b476074ab08d4ce7c3f483f2a5fc4d650251093429072"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoTabContentKt.VideoTabContent (cognitive 87): VideoTabContentKt.VideoTabContent has cognitive complexity 87 (threshold 15). Drivers by points: if/else 49 (77 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd99bc3448a2c0609032084d5adb252e31864d0999d87dd1aa72c68f782663b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MainRootDialogsKt.MainRootDialogs (cognitive 81): MainRootDialogsKt.MainRootDialogs has cognitive complexity 81 (threshold 15). Drivers by points: if/else 38 (65 pts), boolean chains 16 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootDialogs.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3721543ff80d746a222087f6425be13135fffc36ca86d0f467d42926d16a08"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordListContentKt.RecordListContent (cognitive 81): RecordListContentKt.RecordListContent has cognitive complexity 81 (threshold 15). Drivers by points: if/else 42 (69 pts), boolean chains 11, match/switch 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebf352517e9e5bf5236332f6649efe58fce22285e197fe30aa9143f6d34073e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cognitive 77): PlayerControlsKt.PlayerControls has cognitive complexity 77 (threshold 15). Drivers by points: if/else 49 (64 pts), boolean chains 8, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/PlayerControls.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44c71d4e31c24673e7420d96697052f406b4b10c7cca2f842a940a8edd28340"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordSeriesContentKt.RecordSeriesContent (cognitive 73): RecordSeriesContentKt.RecordSeriesContent has cognitive complexity 73 (threshold 15). Drivers by points: if/else 51 (67 pts), boolean chains 5, match/switch 1 (nesting depth added 16). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb13f28e0bdf398fa89d84b0ee2af0cd9bf315be62b93ce50d486e529df60275"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingContentsKt.ConnectionSettingsContent (cognitive 72): SettingContentsKt.ConnectionSettingsContent has cognitive complexity 72 (threshold 15). Drivers by points: if/else 42 (53 pts), boolean chains 8, match/switch 6 (7 pts), error handling 2 (4 pts) (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"963623a64ba52219f051ba599d6df2f9f90c61d28654aa99bebdbfc82ef32836"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbRecordRepository.mapToRecordedProgram (cognitive 71): EdcbRecordRepository.mapToRecordedProgram has cognitive complexity 71 (threshold 15). Drivers by points: if/else 24 (48 pts), error handling 6 (13 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1276e04ac0ae739659bccac5aac2b625ff45917b44405a669d4b25f9f6d5a80"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeContentsKt.HomeContents (cognitive 66): HomeContentsKt.HomeContents has cognitive complexity 66 (threshold 15). Drivers by points: if/else 47 (61 pts), boolean chains 4, match/switch 1 (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe62e23163186a974823806c12dd921ff305ae569854f348ab9b4096ceb2861d"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveContentsKt.LiveContent (cognitive 64): LiveContentsKt.LiveContent has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (53 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b621138663c795b4715b48ed6dabcc1e3e2c09b5ed2b3460138235c3048bbe0"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernEpgCanvasEngineKt.EpgHeaderSection (cognitive 60): ModernEpgCanvasEngineKt.EpgHeaderSection has cognitive complexity 60 (threshold 15). Drivers by points: if/else 41 (50 pts), match/switch 3 (6 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67b1373a41a3a160c721e494c00717e01eb6bc9e5996f6d3452203f5952efc9"}},{"ruleId":"D2","level":"warning","message":{"text":"KeywordConditionCardKt.KeywordConditionCard (cognitive 59): KeywordConditionCardKt.KeywordConditionCard has cognitive complexity 59 (threshold 15). Drivers by points: if/else 47 (55 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef98140cca52a32eccf744aa25d7e50d3e4779e738831b14903bacdf9d7e98"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgReserveDialogKt.EpgReserveDialog (cognitive 58): EpgReserveDialogKt.EpgReserveDialog has cognitive complexity 58 (threshold 15). Drivers by points: if/else 42 (50 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b872db533517515938ab6744ba764e556534920c19e83ef089a5edd301f4994"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbLibraryScreenKt.SmbLibraryScreen (cognitive 56): SmbLibraryScreenKt.SmbLibraryScreen has cognitive complexity 56 (threshold 15). Drivers by points: if/else 39 (52 pts), boolean chains 3, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fad596c2a85d64b4b21c8a8bcb1fb9eb233a8d986fca0d10f392f4153f96ca"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgNavigationContainerKt.EpgNavigationContainer (cognitive 54): EpgNavigationContainerKt.EpgNavigationContainer has cognitive complexity 54 (threshold 15). Drivers by points: if/else 34 (48 pts), boolean chains 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aecda75db5a4eeda67d5794d3bec32d7bc3b1d0c4887a2a840f3018133a8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbListContentKt.SmbListContent (cognitive 51): SmbListContentKt.SmbListContent has cognitive complexity 51 (threshold 15). Drivers by points: if/else 36 (47 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7a6a130b55c7efcb5f41ff357616a4ac435d0b792697769977c5d8a5205f09"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerManagerKt.rememberManagedExoPlayer (cognitive 47): VideoPlayerManagerKt.rememberManagedExoPlayer has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 9, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"139da70e9b29c0fd77212bb5cd60884009986dba2f2d7cb708496a6ae7b143b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReserveCardKt.ReserveCard (cognitive 45): ReserveCardKt.ReserveCard has cognitive complexity 45 (threshold 15). Drivers by points: if/else 35 (41 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"98751d6d263548f201849a236325d3e05e89ed63494b0309948a02faefd264db"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbListContentKt.SmbGridContent (cognitive 45): SmbListContentKt.SmbGridContent has cognitive complexity 45 (threshold 15). Drivers by points: if/else 32 (40 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3220744a825009fc99d5771299c32f7870cea3785b5dc45320e77c44b55fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordListItemKt.RecordListItem (cognitive 44): RecordListItemKt.RecordListItem has cognitive complexity 44 (threshold 15). Drivers by points: if/else 34 (37 pts), boolean chains 5, error handling 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed5eeb16d65c50438424c7c703e2203c9adac72f45a5536c2aa0fca3f2cce70"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbDataMapper.encodeSearchKeyInfo (cognitive 43): EdcbDataMapper.encodeSearchKeyInfo has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (34 pts), loops 3 (9 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed3f24d211e88a7120338c614fe0a52961ac7a8ac3a30cdbcc76081adb08380"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchivedCommentOverlayKt.ArchivedCommentOverlay (cognitive 43): ArchivedCommentOverlayKt.ArchivedCommentOverlay has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/ArchivedCommentOverlay.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3598c910620dcb494f61d97d57c7eefe1a3f4aba653c3401644653ef3850286"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerSubMenuKt.VideoTopSubMenuUI (cognitive 43): VideoPlayerSubMenuKt.VideoTopSubMenuUI has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29 (31 pts), error handling 4 (7 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"675964616c6a4df37af43e31adf47f6ed19662ddcf09bb007c502649c4d01646"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgRepository.searchFuturePrograms (cognitive 42): EpgRepository.searchFuturePrograms has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 6, error handling 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/EpgRepository.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e7b454d1e3ee9d7ca8ab583a0e024ba21f7123fa91716e9d617925eb3a522"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbEpgCacheManager.fetchEpgDataIfNeeded (cognitive 42): EdcbEpgCacheManager.fetchEpgDataIfNeeded has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (34 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3ae537abc1c8d42cd8dd1b9ce462c9a2c82e250cd234a8f60c44fd0340425"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgJumpMenuKt.EpgJumpMenu (cognitive 42): EpgJumpMenuKt.EpgJumpMenu has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgJumpMenu.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d1fd27cac6e60f80f0db960e00acba9aed7fb8d0a2399f2861de325b2da8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveDualPlayerKt.DualDisplayPlayer (cognitive 42): LiveDualPlayerKt.DualDisplayPlayer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 5 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e442ff8f36e09456613b37de43e7ff6e0fe12222afe0f28a40b9988db104fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordScreenTopBarKt.RecordScreenTopBar (cognitive 42): RecordScreenTopBarKt.RecordScreenTopBar has cognitive complexity 42 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee7ea076606bf75c934348c13dcecfa9e8153b18e47a4dc422c95dbdc3eb860"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerSubMenuKt.ModernVideoSettingsOverlay (cognitive 42): VideoPlayerSubMenuKt.ModernVideoSettingsOverlay has cognitive complexity 42 (threshold 15). Drivers by points: if/else 27 (37 pts), boolean chains 4, 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/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"205845890d0feadaf281cdd870e0e6cffb36c8ed16c696d92a39e0cc673c4840"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.fetchAvailableQualities (cognitive 42): LivePlayerViewModel.fetchAvailableQualities has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (24 pts), error handling 6 (18 pts) (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/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"028079d2af566ebe3d6187debcf8054887a7d42e7f54f31c76f07727323b69cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MainRootBackgroundKt.MainRootBackground (cognitive 38): MainRootBackgroundKt.MainRootBackground has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 11, match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7039779f8b8850b7f7600a3e8e94f74598457532383d2d003acc9a4415871c05"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordSeriesGridContentKt.RecordSeriesGridContent (cognitive 37): RecordSeriesGridContentKt.RecordSeriesGridContent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 6 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f455dd0497f8151a04f04363eb49b8027d2ce9d6b91cc2476c870c90039fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"TsDurationCalculator.calculateDurationMs (cognitive 37): TsDurationCalculator.calculateDurationMs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 3, error handling 2, loops 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"be49f2a4abf9ba22c8a03fde4191fe41e42a77ce97729c5c5a54402c8cd88a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsViewModel.forceSyncStreamQualities (cognitive 36): SettingsViewModel.forceSyncStreamQualities has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 6, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb40b7db3f76721ecfbc8fab3511e5e4ef16e51300a07123e1a8d4ffe94e4850"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbTopBarKt.SmbTopBar (cognitive 35): SmbTopBarKt.SmbTopBar has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41d80f58a0ee5df233619798989f4dd6906ceacf09f59f218b39c0229e70195"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerViewModel.fetchAvailableQualities (cognitive 33): VideoPlayerViewModel.fetchAvailableQualities has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (23 pts), error handling 3 (9 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"299176c5cbeade8160b0d820f11a8f79bec96c4f0a76375e63a5e1a126deca5f"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordedCardKt.RecordedCard (cognitive 32): RecordedCardKt.RecordedCard has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26 (27 pts), boolean chains 4, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3c0b10753380e689994fc0f9e203952b5be6cee94fcd3d334cfc5bc7f6f368"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbViewModel.parseLuaFormat (cognitive 32): SmbViewModel.parseLuaFormat has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e8dbf4df80838effeaa1d62012c6b0407c9b9ec03567f37aa6714c788f481d"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbApi.getEventInfos (cognitive 31): EdcbApi.getEventInfos has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (27 pts), loops 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7718aa39cbc5695ab9f5e36cec99ff3ba27e3d6ece097a36a10a2a57a6a11466"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbDataMapper.encodeReserveRecordSettings (cognitive 31): EdcbDataMapper.encodeReserveRecordSettings has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (24 pts), match/switch 3 (5 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/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3827b08ac9bf780e993dd1f825e575bc3bd1d2ae817cf944819ab7a628ddf1"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.buildStreamUrl (cognitive 31): LivePlayerViewModel.buildStreamUrl has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"01238b7b3a8e35ff3f2ea8425d58d1ec4c4f525c42c910043c396dde6e154d79"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbApi.parseProgramExtendedText (cognitive 30): EdcbApi.parseProgramExtendedText has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7724320ef27f12366aa0f66cf292fd548b2f8c06a65baf7963b59636a41080"}},{"ruleId":"D2","level":"warning","message":{"text":"ReserveSettingsDialogKt.ReserveSettingsDialog (cognitive 30): ReserveSettingsDialogKt.ReserveSettingsDialog has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1d15bb1affd9471fefaa3518d3f362fcfcbac09560532361d518495497376f"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordGridContentKt.RecordGridContent (cognitive 30): RecordGridContentKt.RecordGridContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d856db328d98b07646245aced93be5a67074935c7ccd498486b1b393b24e86f"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbLibraryScreenKt.SmbNavigationPaneContent (cognitive 29): SmbLibraryScreenKt.SmbNavigationPaneContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe7387a89bb7458263124766a3f3bf7846474355342749358d101ba091223f5"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConciergeViewModel.handleAiResponse (cognitive 29): AiConciergeViewModel.handleAiResponse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8b85639b16d97ac28be52f1bab415ec59b0f0b561f2b201547d79074987f25"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.startSignalPolling (cognitive 29): LivePlayerViewModel.startSignalPolling has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f3482887115411ea26519a4ec3ba38b9bf317520c210fb2158647a58ed4ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.playMainChannel (cognitive 27): LivePlayerViewModel.playMainChannel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, error handling 3 (5 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LivePlayerViewModel.playDualChannel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec8fb5bdd4c7da406ccc81d1f14f2f17db0abb86a3a46968f38b3e74eb25cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.playDualChannel (cognitive 27): LivePlayerViewModel.playDualChannel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, error handling 3 (5 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LivePlayerViewModel.playMainChannel) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da38ed65857ec79b3233444813b3bd2f683bb2400ba666e39e8ca97e9c63225"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbByteUtils.readAutoAddData (cognitive 26): EdcbByteUtils.readAutoAddData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c131e8560af1f255b53b21bd8266a9f62a3b93b0722da217ae734a58144c9c2c"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeHeroDashboardKt.HomeHeroDashboard (cognitive 26): HomeHeroDashboardKt.HomeHeroDashboard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeHeroDashboard.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ea2cee047a2baaeaac61dbc800e4865412fb7809438ef1df29a2ba1e13bbd8"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryCardsKt.VideoRecentRecordCard (cognitive 26): LibraryCardsKt.VideoRecentRecordCard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 5, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa54a51212557f02ce7a06458365e8bd7f4d28b85099cd8b96da1afb2cb26e8"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbNwPlayDataSource.open (cognitive 25): EdcbNwPlayDataSource.open has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (19 pts), error handling 2 (3 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/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaf580e4c3c0761429e0b9ca2d008901b74a494e899544581772b199217a495"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgSearchListItemKt.EpgSearchListItem (cognitive 25): EpgSearchListItemKt.EpgSearchListItem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21 (23 pts), error handling 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac985013d12710b81e61a8f6dccf51b53c257fd6b90267c55231bf7c88d0a91"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryCardsKt.RecordListBannerButton (cognitive 25): LibraryCardsKt.RecordListBannerButton has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (LibraryCardsKt.SmbLibraryBannerButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ff8a9c1a1e8ede2d3adb53fc5ce699adabbeabb9ae2d7a5c758166474ff890"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryCardsKt.SmbLibraryBannerButton (cognitive 25): LibraryCardsKt.SmbLibraryBannerButton has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (LibraryCardsKt.RecordListBannerButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fdf59c6949cd103668d4587a3d25df79fc9b5a8de3f7e2db647d4ded2e4029"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingComponentsKt.SettingItem (cognitive 25): SettingComponentsKt.SettingItem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"14360759445eb958e523b24faac22aedf69f83c11005795eb2021ac4562ab10d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingContentsKt.HomeDisplaySettingsContent (cognitive 25): SettingContentsKt.HomeDisplaySettingsContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, match/switch 5 (11 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ab9c1ddc63449287920da203f85b83cd762131f140246a68ed00c506ea0e7"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordChannelPaneKt.RecordChannelPane (cognitive 25): RecordChannelPaneKt.RecordChannelPane has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21 (23 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85e882f8e9499af8f21b4786eac01dc33ffd315578dc7bd3e8d615c2af780f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.OsdIconButton (cognitive 25): PlayerControlsKt.OsdIconButton has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 4 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/PlayerControls.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd55707d16a43fcffae47dd1d1fb66f8572d3890c9573ad1b7b81b2f961766f"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbViewModel.performRecursiveSearch (cognitive 25): SmbViewModel.performRecursiveSearch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2998a604dd5139c79d69fcfd4c8a36535013f7cdaab7e1fba7bb87f6dbe8e99e"}},{"ruleId":"D2","level":"warning","message":{"text":"AiNormalizationRepository.normalizeTitles (cognitive 24): AiNormalizationRepository.normalizeTitles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/AiNormalizationRepository.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b616cd89e1b502c17e0dba6756f9e2d7baa3a4636c7a57e5c3caa294cdd4b14d"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordSyncEngine.startDictionaryResolutionLoop (cognitive 24): RecordSyncEngine.startDictionaryResolutionLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f381e0de48cfdd8a745379c1ca860c7ee65a1ba4aac02d91d7dc07131f1726"}},{"ruleId":"D2","level":"warning","message":{"text":"TsReadExDataSource.openEdcbStream (cognitive 24): TsReadExDataSource.openEdcbStream has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/util/TsReadExDataSource.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e705b47c746a5cb33ced74699aa811531cd24bc564eaef5239a8685f5d829b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectSubtitlePayloadReader.parseAndSendBuffer (cognitive 23): DirectSubtitlePayloadReader.parseAndSendBuffer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 3, 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/com/beeregg2001/komorebi/ui/live/LivePlayerSubtitleLogic.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66796215c6199879c3a704548a382d13ac2dada827535386c6d65ea1e8f35353"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerSubMenuKt.ModernSettingRow (cognitive 23): VideoPlayerSubMenuKt.ModernSettingRow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3710de57c7a5251432987f543f8fb0b0caf279b95f7e2ebcc2355b9778a1ddbb"}},{"ruleId":"D2","level":"warning","message":{"text":"JikkyoChannelResolver.fetchForceMap (cognitive 22): JikkyoChannelResolver.fetchForceMap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (7 pts), boolean chains 1, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/JikkyoChannelResolver.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b387e1ae7f6d61cab78497c68eec9e4c680c1d6bbf863cad58642d62f1729e"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeCardsKt.GenrePickupCard (cognitive 22): HomeCardsKt.GenrePickupCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (20 pts), match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e57831509668cabff5e0b1ca97fb6b880dec426b96ada7a5ae87d4529b903d3"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedSettingsDialogKt.AdvancedSettingsDialog (cognitive 22): AdvancedSettingsDialogKt.AdvancedSettingsDialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), match/switch 4, boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7a57fca4c6ae9234d321467226d0e113ef5b319830e91d4a06cf4e66273184"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerViewModel.handleMainError (cognitive 21): LivePlayerViewModel.handleMainError has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c20907b533e6d0146a59efc0ece703f9baacfe89163cb801ecc4eb016bf1d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"JikkyoChannelResolver.getJikkyoId (cognitive 20): JikkyoChannelResolver.getJikkyoId has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/JikkyoChannelResolver.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"248de38c4c7d1a77c17758a45c41e7af965218732ebff8c1a423d0905212a31a"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgStationRecordRepository.getSeriesList (cognitive 20): EpgStationRecordRepository.getSeriesList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d7a735b08234082fb664eaff1a3ef8f9c68bbfc0cd1de98f4a03dbebf9499"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgState.updatePositionsInternal (cognitive 20): EpgState.updatePositionsInternal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgState.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c717e974b4e1e626e3836d2c25f86b88d3815a4336b88764a342eada5626f0"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseballDashboardKt.BaseballDashboardScreen (cognitive 20): BaseballDashboardKt.BaseballDashboardScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 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/com/beeregg2001/komorebi/ui/home/BaseballDashboard.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641aab7952fa516844e44264cc43e1b7951f35e6cfab0f5f5c89998ef2f8359"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelListOverlayKt.ChannelCardItem (cognitive 20): ChannelListOverlayKt.ChannelCardItem has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19 (20 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/ChannelListOverlay.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6e6923c8bb282978456b3046480ea0272d26e216077d7c22f41c6cb1dab94"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingComponentsKt.getThemeFromModeAndSeason (cognitive 20): SettingComponentsKt.getThemeFromModeAndSeason has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d560845467b18e651dd85318c7c15e03e1f7b72596646ef16acb0d4fe7cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerOverlaysKt.LCropOverlay (cognitive 19): LivePlayerOverlaysKt.LCropOverlay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 2 (4 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dab1dd98459c9112e8f0148cb1d82e433d2eeefeb4a8609a769c2a440767b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingComponentsKt.CategoryItem (cognitive 19): SettingComponentsKt.CategoryItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96d4eed0c12cf94ec2de8969965eafab664565d1baf1e3fb6c701b873bf9d24"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingComponentsKt.GeminiSetupDialog (cognitive 19): SettingComponentsKt.GeminiSetupDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 3, boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f5f0174301eacfaeee8f9aa7bcd96f7d5b96e9b15884ae077873709c2c13eb"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbRecordRepository.getArchivedJikkyo (cognitive 18): EdcbRecordRepository.getArchivedJikkyo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c019f2d1f617608bce61175a969fef82e33cf9665bdc3b96b6af34401a55a23"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveContentsKt.HeroDashboard (cognitive 18): LiveContentsKt.HeroDashboard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"062f707284d746916f4a7f2327201a78cd5b6947470d5ce086e3c1a5664fa8fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeFocusKt.safeRequestFocusWithRetry (cognitive 17): SafeFocusKt.safeRequestFocusWithRetry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 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/com/beeregg2001/komorebi/common/SafeFocus.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7b2e7f2c8ed4cf39fdf51b196c0f50610ade1a6a176e0c530ca5fb340688c3"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordSyncEngine.smartSync (cognitive 17): RecordSyncEngine.smartSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d71d1aeed58db6bd5ca75798a89298f66b2e2db3b69086990c73f64c63a82f"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseballDashboardKt.BaseballGameCard (cognitive 17): BaseballDashboardKt.BaseballGameCard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/BaseballDashboard.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b126bb509e07ab55d85352e9acbbb9b19706ab557d8daf49ff42c10578eea36"}},{"ruleId":"D2","level":"warning","message":{"text":"LivePlayerOverlaysKt.LiveOverlayUI (cognitive 17): LivePlayerOverlaysKt.LiveOverlayUI has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 1 (3 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/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeda2ce2189aa5ab862f003a10a6ce36eabb5c0cd440daa0588487a41cb1147"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingComponentsKt.DialogTextField (cognitive 17): SettingComponentsKt.DialogTextField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9769605dcb5f665467ac6213f03843ed48f8e8e4fce4f14f151e04af304c3610"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeKt.KomorebiTheme (cognitive 17): ThemeKt.KomorebiTheme has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4 (6 pts), 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/com/beeregg2001/komorebi/ui/theme/Theme.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"60499493da4aa948a132e6494def1dab4cf9cc65727e22b4ea5cf5dd1b498fda"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordListScreenKt.RecordSortMenuOverlay (cognitive 17): RecordListScreenKt.RecordSortMenuOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d84f0f85ce06c1fd42da45c35544b7ec75b19bdd23f9ee1cfd171eef99dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneSearchOverlayKt.ChapterListOverlay (cognitive 17): SceneSearchOverlayKt.ChapterListOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f211a8e79e9c2bd9ea87d997beef20185c21d6b999e3bc15141cc51b98ab3e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPlayerOverlaysKt.VideoLCropOverlay (cognitive 17): VideoPlayerOverlaysKt.VideoLCropOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc5b8b2053ae12192222188cdf3e5e8beec636a9d401f3350559dc3c283bdec"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbLibraryScreenKt.SmbSortMenuOverlay (cognitive 17): SmbLibraryScreenKt.SmbSortMenuOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c62031fb051a4b6a224856352be4fbf7d6195c7c00870588d1ec19997a6160"}},{"ruleId":"D2","level":"warning","message":{"text":"TsReadExDataSource.read (cognitive 17): TsReadExDataSource.read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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/com/beeregg2001/komorebi/util/TsReadExDataSource.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52b12220088b7e154bdc880e5f7278ed48eade9711bf14de8a28435e27b907"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeViewModel.filterGenrePickup (cognitive 17): HomeViewModel.filterGenrePickup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/HomeViewModel.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8f3d330a1b97babfe9af137a90b41821a4d06d727a6851dee3530e52146e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"EdcbLiveRepository.getChannels (cognitive 16): EdcbLiveRepository.getChannels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, error handling 2, loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fba9e3e1943c11330e2230c3b95befd6ef3c7c78ea76278680bba78956e5871"}},{"ruleId":"D2","level":"warning","message":{"text":"EpgSyncEngine.syncEpgData (cognitive 16): EpgSyncEngine.syncEpgData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/EpgSyncEngine.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69ed1ae64a821bd097fc4aacdf5a15da646033a5fa23a27e8379d2194445a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelListOverlayKt.ChannelListOverlay (cognitive 16): ChannelListOverlayKt.ChannelListOverlay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/ChannelListOverlay.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"db07258a844d73c3c50a0edd9ec386d172d97965c45be7148d45a759d4917164"}},{"ruleId":"D2","level":"warning","message":{"text":"ReserveSharedComponentsKt.DayOfWeekSelectionDialog (cognitive 16): ReserveSharedComponentsKt.DayOfWeekSelectionDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88a84eb1c72438196c9885f0c7ba3c53292ead0d002133f723ebde028fbeb39"}},{"ruleId":"D2","level":"warning","message":{"text":"ReserveSharedComponentsKt.NumberSelectionDialog (cognitive 16): ReserveSharedComponentsKt.NumberSelectionDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa766fb1311f0058419b3f04bfe47840c72e552f2f43798ab9e92da532de518"}},{"ruleId":"D2","level":"warning","message":{"text":"SmbViewModel.parseIniFormat (cognitive 16): SmbViewModel.parseIniFormat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f874d9b92036178517dddca59e284f1b7e3ee8c0becc3886af776fd8c44474de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConditionEditDialogKt.ConditionEditDialog: MethodTooLong \u2014 ConditionEditDialog runs 614 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 514 over it, 6.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b162abbc948dd83183e3dc12cba53b0bab8098dcac1bffe159c9da6ffccaadd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpgDrawer.draw: MethodTooLong \u2014 draw runs 436 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 336 over it, 4.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/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d0209629285ab922ea9e7232921f26398469a00a4e89b57d0c443ed21ad3b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpgReserveDialogKt.EpgReserveDialog: MethodTooLong \u2014 EpgReserveDialog runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"860c7cd9f5ad8cd8de21cd24fefa562da3b1009bffb3c9fae6482731c1401984"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpgNavigationContainerKt.EpgNavigationContainer: MethodTooLong \u2014 EpgNavigationContainer runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0553886a46af45dbfa571b6e932717f11bd157e5d03be27cb9ea57da8dfc8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LivePlayerSubMenuKt.LiveTopSubMenuUI: MethodTooLong \u2014 LiveTopSubMenuUI runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b6cde4d135e974d76b5d5ae844cb21e96ea4a03acd725937ee099aa9a103a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AiConciergePanelKt.AiConciergePanel: MethodTooLong \u2014 AiConciergePanel runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d567f2534e8f776c2570fb268204466bc22adebab3e46c53d715ce65bdf43037"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainRootDialogsKt.MainRootDialogs: MethodTooLong \u2014 MainRootDialogs 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/com/beeregg2001/komorebi/ui/main/MainRootDialogs.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e19fb3636a8ef61ac5280511c7e38a8e452b3a3ddedd3d02303bed39ccb0c43"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModernEpgCanvasEngineKt.ModernEpgCanvasEngine_Smooth: MethodTooLong \u2014 ModernEpgCanvasEngine_Smooth runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"725045de36981d9db68f5646aa1f1a9bee05ff762cd7927abed800b901299a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModernEpgCanvasEngine_NoAnimeKt.ModernEpgCanvasEngine_NoAnime: MethodTooLong \u2014 ModernEpgCanvasEngine_NoAnime runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine_NoAnime.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e69bec6d04e68d6caa03d5298f397231a43dc427362364e0b52bb57d16f5496"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingContentsKt.ConnectionSettingsContent: MethodTooLong \u2014 ConnectionSettingsContent runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.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/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a18d3e41993130f7ce80a07d9b8946980369abb95b147f43bab648b97107a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeasonalDecorKt.SeasonalDecor: MethodTooLong \u2014 SeasonalDecor runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.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/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7da61e6cc721e18dedc22f98ec9c03fc36a087ffdecec90f1bf7abebcd9b05c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdvancedSettingsDialogKt.AdvancedSettingsDialog: MethodTooLong \u2014 AdvancedSettingsDialog runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f33103887426ddde92a65d45a77975cfc41b99113b4ea8b8f8c0e5aafbd098"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LivePlayerViewModel: ClassTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 541 over it, 2.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0996ecb5c0f55386d2b337a9ade74e4cd8bafcafaa25efc12c3dc5e2e9349fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainRootBackgroundKt.MainRootBackground: MethodTooLong \u2014 MainRootBackground runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.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/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02bc60ab27ba6292e8211615b1bda1c3a7b06645fd31f44af748db2bb33dae4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveDualPlayerKt.DualDisplayPlayer: MethodTooLong \u2014 DualDisplayPlayer runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4211979a2c8329b924fb7c174e6bc5e7fd26dedfb5b8af4ca2ebc4a3da54045"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setting/SettingComponents.kt: FileTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 591 over it, 2.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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec4d30b639951adee817740ee888cb6d1e247cd7e9e1fc3d0a86c8ff59395e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setting/SettingContents.kt: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 539 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8623bf56dc508db7f5370bdac1144ef3d2e6ed5027f7de2e9cc4c37988c6ce2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/LivePlayerViewModel.kt: FileTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: LivePlayerViewModel (77-1425). The bar is 500 significant lines; this is 514 over it, 2.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af92767ea80160dd5b0e778321bd4edbd82fc517bc2d5a809fa189cbdb7a6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordSyncEngine.syncAllRecords: MethodTooLong \u2014 syncAllRecords runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f09b93607c46920579223fbfd3bf5d5b8e4e4add3f5bbb6f735e2d278c2a56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReserveSettingsDialogKt.ReserveSettingsDialog: MethodTooLong \u2014 ReserveSettingsDialog 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/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d3ce93917b2226c408b29589506d667c7a67c89ab0597fd9e4b35a63e7c4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setting/SettingScreen.kt: FileTooLong \u2014 902 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 402 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"226d0a079f43d1be83d54bce9e5720bf67f551c89cc8680bffa6e970af00ea0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: smb/SmbLibraryScreen.kt: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c5da1ee9b637604c44206928b03e39d8ef9c5640bd56c4a2c59e120e35335"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/RecordListScreen.kt: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0384727ee8c9f98187ddca7cfe8e630dfeb3d07bf47febbaad4eb3739ef73c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LivePlayerOverlaysKt.LCropOverlay: MethodTooLong \u2014 LCropOverlay runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cb3c648b744cef3e74a72ec69d5f3cb3dc90e41de5cec63dab9200d195fefd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsViewModel: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 238 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a648ce21d5bf048672684359cc9c259ef1dab32b597563d9fe40d19da0df32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingComponentsKt.GeminiSetupDialog: MethodTooLong \u2014 GeminiSetupDialog 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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eb3e0ec160dd5a6c92d2e2166fb7de76516f6eba1b946b960ca00fa2c6d3fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LivePlayerState.handleKeyEvent: MethodTooLong \u2014 handleKeyEvent 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/com/beeregg2001/komorebi/ui/live/LivePlayerState.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb7d258b8ca15f40ed66646bf31312ee39acaaa7785a8ddf237f84b9d8cd4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoPlayerOverlaysKt.VideoLCropOverlay: MethodTooLong \u2014 VideoLCropOverlay 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/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bab75e1ab98e15e46b989646e6293cccfd498a8ffa475e9048f3067a991157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/VideoPlayerScreen.kt: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29a313cbc3c580b8a5e95743c15e2fa82c03000985be3310e00588e8a20e26e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LivePlayerScreen.kt: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: val (59-1052). The bar is 500 significant lines; this is 253 over it, 1.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fb1228d1751f11cf9569f510818c8bfaa857750bd847de9e1be30ae96d7f8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/HomeLauncherScreen.kt: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c142c4ffa50edf3202ece2ef21b85c6e43e9628fd9696043ded3ae394eee679"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneSearchOverlayKt.ChapterListOverlay: MethodTooLong \u2014 ChapterListOverlay runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"961bf823bb179d1a75f28ffa33f7a9ca45679b89104a9f5eabec1f1b0c1b8c01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseballDashboardKt.BaseballDashboardScreen: MethodTooLong \u2014 BaseballDashboardScreen 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/com/beeregg2001/komorebi/ui/home/BaseballDashboard.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20c211eebe79e2385eec6f03c9b864ec2304dff6eb3a5811736abc99d603619"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EdcbByteUtils: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7923b4a31c2a3d5cbce05730dd7964e2ee371c8f93b9faf4bbb7b024c29b3071"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpgSearchListItemKt.EpgSearchListItem: MethodTooLong \u2014 EpgSearchListItem 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/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669e9b9e28a8672f9ee989cfa7a49c71ae39d3e11b905d3863e0c3e57a72dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/SettingsViewModel.kt: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: SettingsViewModel (67-1006). The bar is 500 significant lines; this is 198 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e43058f587e7d4b4e33dd9cd085da1a24d465b4752f70dc151c67f46af1edb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/SmbVlcPlayerScreen.kt: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: val (61-855). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc10e15d7bfefb04440c49bb3f65a4cdef9996522ced306741953002aa7e2df8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModernEpgCanvasEngineKt.EpgHeaderSection: MethodTooLong \u2014 EpgHeaderSection runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a20318714955c71c3cf73719f94c2f08414798a27fe908fa28224821005f14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reserve/ConditionEditDialog.kt: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"881764e868d34eaaa35ab49dcad1c8ddff48428dc17f9536fcee55d67d234f73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingContentsKt.PlaybackSettingsContent: MethodTooLong \u2014 PlaybackSettingsContent 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/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52d62e62893284a7ae6924f3125fe5f7c76b5fedd47c1b097d8de55dfc0d2fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibraryCardsKt.VideoRecentRecordCard: MethodTooLong \u2014 VideoRecentRecordCard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a5b248ecf206404a4287ea783e450640ba50ecde5674e8a9c497bfbefd37c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordViewModel: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"404cddbbc260541f58adfd1b0a57b96219a8e5c89467f3aa4276a4a6fa4b9fd6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordDetailPanelKt.RecordDetailPanel: MethodTooLong \u2014 RecordDetailPanel runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDetailPanel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc4fc27c3d92c70d96720d018ccd4779a68554c857deebf5d35cdc5b913fd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingContentsKt.HomeDisplaySettingsContent: MethodTooLong \u2014 HomeDisplaySettingsContent runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdd7335d297d4940805941bb211ccbcee3581c4d1038051fe5dcbc00d5a1bb5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EdcbApi.getEventInfos: MethodTooLong \u2014 getEventInfos runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baef0d6b89a95ce7cafc2e8e7e3bdb8d4b5b146a67f0ee92defafdc26d40b7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EdcbFileData: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b07a82cfd78fa187ee4b8d5400e74ac0eca19c4d96e811061f7aaa69594f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LivePlayerOverlaysKt.LiveOverlayUI: MethodTooLong \u2014 LiveOverlayUI 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/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810f27a38aae679d031043587e4cb8e6bb7720c500b8a3dd979a87199bde4a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsViewModel: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cc9c0dbf7df87b548e73e5f2de0f1f83f58c11f2603caf4e5dcb619179ca3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EpgDrawer: ClassTooLong \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1237c1ba4df5af466852ea90a345bd2d49c0fe0712c3632b174bb58c3e8800"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibraryCardsKt.VideoWatchHistoryCard: MethodTooLong \u2014 VideoWatchHistoryCard 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/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0cbd72ce7278c5ff4674721bdee89d2e39ab20900c1faaebd2cd8cbaee6d17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SceneSearchOverlayKt.SceneSearchOverlay: MethodTooLong \u2014 SceneSearchOverlay runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed75e918d8aa231a26323c9eef8c6b5fbd540bc833f818e56a6a560c8c7a9060"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/MainRootScreen.kt: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 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/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0169a888e621e1a72d9f79551a529eafc23b080712810539dfe70cfdd1075d01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChannelListOverlayKt.ChannelListOverlay: MethodTooLong \u2014 ChannelListOverlay runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/ChannelListOverlay.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef052582b04072666937b2903f3f88d18e81477e4dee12bc3edd72a1e52f737"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecordSyncEngine: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 11 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/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0204dab252bdb0c00aa11c46121e328ba6b9768c6ea29a1f64596d44b77c41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EdcbNwPlayDataSource.open: MethodTooLong \u2014 open 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/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f51dbe7fbf63ebc4b5fb6dac71b55a9e7d57df4a7c05fd777457e94172e4ad1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingComponentsKt.SmbManualInputDialog: MethodTooLong \u2014 SmbManualInputDialog 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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a893b3547093288d4fc69456ac799a12410f7a56cc04f0342000d012cc58b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerControls.kt: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/PlayerControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5ed82abf0fef5ab38ae4a60ac1d64ec4140fa39ed9a5f4b14cf7a4ba30f9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeCardsKt.WatchHistoryCard: MethodTooLong \u2014 WatchHistoryCard 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/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d8fe31e01366ddc9dc50e50fdffd184391e6dda8871f35361994571df9e2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LivePlayerViewModel.buildStreamUrl: MethodTooLong \u2014 buildStreamUrl runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"527f72d5c233a3140e011600516505550ea35445e362910d56bf02042f4aaec8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LivePlayerViewModel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c04bd84e0bd6f33dc190e1feceed0cd5577177f9a5940e426e17bb567580a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SmbViewModel: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 24 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b82d2749adb15494f1cf54fc823cd0f906c0d360ba3e5faa0690dbac5fd417d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecordViewModel: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bb19a304561331428aa64b553bd774703e4edfd85fc47a553815739722cff1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingContentsKt.GeneralSettingsContent: MethodTooLong \u2014 GeneralSettingsContent runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aac15b53d49dba99cbaa1fb6246358ae17328c117aacc9c47ef701ea04d4d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LibraryCards.kt: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0fa336814e09eb4f33444cf6eaede426ce2994d49d0c8250cdb67dd88bdea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/VideoPlayerSubMenu.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"073e6a845d722dd9083b636fca41f40639521eb016d7013e5b4efad12ac38b06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/RecordSyncEngine.kt: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: RecordSyncEngine (65-715). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaea2db01b8b7332833fba8065a31aa78bee573c39bfa37b5c4a13ddb0ae9ba4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LivePlayerOverlays.kt: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"581830ea798f03a7f176835ce9dd99daeffaa69b8f7770eb7a5929a063a1d39b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/EpgDrawer.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: EpgDrawer (41-736). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a63db3bd10730d885d370d53cb397a4a2f0b7f1071cf011e85b6916dd20a3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (232 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:68-336 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:69-332 \u2014 These two members are variants of one another: 232 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ce14c9346644664bd23aa192a2caf43d055d231d371ca8f64d8c696d59f97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (224 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:67-876 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:52-492 \u2014 These two members are variants of one another: 224 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee33da0ffe8d40b6009a86ba223512ddb74c49781ef467cb3309f26e301571"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (204 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:436-657 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:71-295 \u2014 These two members are variants of one another: 204 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6871ec21b49b2e04a24462c5bbf4225b7daac63c6ae337b267d3d4e47d8602"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (86 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:196-353 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:465-663 \u2014 These two members are variants of one another: 86 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d04c9b7504609091b0e994f59365e3e905546378f7ffc9670961e3fd63423a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (77 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:486-574 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:582-670 \u2014 These two members are variants of one another: 77 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07bf74b28c57e8c61e18129782074fdb6937c481e1a5590d0c2aabf4f3674a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (73 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:47-291 | app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:50-307 \u2014 These two members are variants of one another: 73 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f179eeeb1911e4b6b1aa874558c4379b47848c16a873c1d8c1ab85f0007d4d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:35-131 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:35-125 \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/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7044b56e988da9874bbb4555e077a8056c19d623b5b39125e70d191fc122f4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1176-1253 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1261-1331 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d0ab86889b248c3aaa5999281290be27d2541f2c7d36c2267d7604b814491b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:31-89 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:92-137 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:140-198 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:201-247 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:47-126 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:286-345 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:374-439 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:442-533 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:540-685 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1127-1192 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"583eefb491d6f1e4371916fd1d13fc633c9efbabafc653b821dcc66e6ef3b9cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:476-490 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:493-506 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:510-527 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:531-548 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:551-568 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:571-588 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6398a0fbe2a56ae63de030ce95c958602f7b676d9a681df6f595ed3c5c63ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:799-904 | app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:922-1013 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:96-435 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:451-556 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:800-886 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:919-1006 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8aadf5f9e9172c54420146de2f7d16517f2accf370d6df8d3658eb8c31c30bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:416-424 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:494-502 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:515-523 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:538-546 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:621-629 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f47505f31dc7c455ae12aad96931d68254a70a0da1ebbed16a54efbbb83b6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:98-180 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:195-271 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:286-371 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:388-468 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:487-573 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7474f3630b0403e34f5d15ec59ca6c7946b3691e03dbcbfd8c94b04ec5beef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:51-145 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:155-244 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:405-487 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:499-567 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fbec3e7578637caeb65e23a588a60c76d5249cb300e0c6531f1cff7f44b292"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:257-395 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:64-218 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:233-372 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:383-479 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b795a8498ccb75881a17a25322f9449ca61744965e45c88f5a197911bd7d3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:696-825 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:838-917 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:977-1068 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1205-1384 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6775ea6803e0aaae06020a1a06fc905b38c5cb1927cc97f45c30a5dfcd5a25ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt:188-206 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:495-517 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt:338-356 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt:286-304 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c80bea94d6ca20bf4a9dd1278722a4e2b1c67cd0f7821a04bb251d75b45b685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (171 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:59-229 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:247-444 \u2014 These two members are one piece of code written twice and then edited apart: 171 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba614a1203f9cb7ed5b14f333785db1af1dac46378a9c1f05009ade07362c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (112 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:655-771 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:776-887 \u2014 These two members are one piece of code written twice and then edited apart: 112 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0526d5e180b27e67de1ebadc63f736d4dac54d38537b43486d458119bfb118f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:341-390 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:392-429 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"02074947abecc345fa5a991c6d785689ae6b161f3ca65b8062670ed68d9b2c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:984-1060 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:1078-1169 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaae7011a6801af2c49e21e96026807d0f6cfb96250311869997c7f06036ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:95-164 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:193-250 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a2615d6b538612a22207d9de13816d7745ae3fae21c86014dede392ab79d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt:115-164 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordNavigationPane.kt:90-140 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a668895b8379d44260dea7c28d5e71399779e6fc433c460ac075178a6974d94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:510-544 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:333-376 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca27e896a14e892514de0f46652af2b62430fc17d59340933cf685b9d00acfed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:925-968 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1076-1118 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d19b5d4b0efedf7c7a1683a46a2ae54439bccfcd1ed3721542c2c5cb5689fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt:141-166 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt:175-203 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde04899a7b7909efc069da915918a2506987cf227619b908c178ec620a5b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:431-450 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:453-473 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d5d891c060024180b44c9276481563ba8d60cec51fd967fe0261b0ee2a0867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbReserveRepository.kt:284-300 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbReserveRepository.kt:303-319 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbReserveRepository.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"747cb8d677c0c60bfca5f5cfbc8494111cb182b0d8a26dea401b0735636efef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:710-726 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:728-744 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:746-767 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:769-785 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b8fb5bdf14fa6c3cc1ad9ca20d025a9c19a0964a04a3e747edb48ec67e564a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:122-135 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:424-437 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:136-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec535f29bebc09b4d24c2558211477cfa50777a6802bfcd4b707eb1a2245fd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:66-88 | app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:90-103 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859c0c156c4a4bd274045b24d99ee7d90db18879a9e0f31b6ee37d6db884e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:93-103 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:105-116 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb28a7afee84d25d969b8b35c9a8024a25480ff9da6e07f428f770773619a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:1068-1077 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:446-456 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"60865ec362a6afe36895d7d15b8caa415d9107baf375e483726a8622c47ca654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/worker/EpgSyncWorker.kt:36-54 | app/src/main/java/com/beeregg2001/komorebi/data/worker/RecordSyncWorker.kt:64-81 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/worker/EpgSyncWorker.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a090a9dae84d8ca9e4b3cfd882730ed64585f4a08aa4460619ca18a0d9294dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): KomorebiConfigurator/Views/MainWindow.axaml.cs:18-45 | KomorebiConfigurator/Views/MainWindow.axaml.cs:49-67 \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":"KomorebiConfigurator/Views/MainWindow.axaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23cd6422738c64e9de7a2ceb23b149fb48297f5e588a23f5af36f8a36d3469e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:186-199 | app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:201-214 | app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:216-236 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ce9b0aa1f9ea513125d919fde7c0632a4d00790e5074b86bd78f8dc9e7e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt:219-233 | app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt:236-250 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"60931a1235919de6b9172313674e2802bbac7531b5807f10c8a80e8b06d1e80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:154-163 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:455-464 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57f9a11621d30f00fbd78ed3c0eab348f9ddc24be9333656e4976bf038fde33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:249-262 | app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt:278-291 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a97a3fcff1181528b7efcb3457f8ece45c23afcc2d0b03cee1f0edcee1c494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:686-694 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:696-704 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9ecf0489c2090a1a51bf6fdba194992633a0c8a3c327b8643af51fb79785dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:130-143 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:153-165 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:175-188 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:197-208 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"36864c21378c44b7ca50c98e93f0dd03a0f4a73b69a3a4744099e7830376bd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbTcpClient.kt:87-103 | app/src/main/java/com/beeregg2001/komorebi/util/TsReadExDataSource.kt:293-302 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbTcpClient.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72a32d124d0ea1e81e18a718a0ffc2a9fe3c53bef82bd19f82ba58d10721c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:137-144 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:439-445 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9c195c466b17551ef23ca001aa70bf9c02ae97fe4589a0dea0c92287b7ed00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt:31-36 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:447-452 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e4ea8f315d621796c7a68dbb1e63899771684dc6be2cb6c16a7cf73007934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (158\u2013166 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:437-594 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:72-237 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:437\u0060 it does not close everything it opens, so those exact 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 \u0060state\u0060 to \u0060LivePlayerState\u0060 in one and \u0060VideoPlayerState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f748eb0ce5f983c3a72c57e1ad98c1a188aff8fc329be8cb2bc1ed1657effb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:268-330 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:264-326 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"441e5f62c3ed76d7b3d6a6ee1464a0ae56b2dd0571bf4af917f7ffeadd46694b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:78-168 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:77-167 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.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 before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:76\u0060 calls \u0060FocusRequester\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:75\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ba99299c72ad1f3c5bd3d6a31fad88e41deabf714ce127ab9121c0f042474c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1041-1091 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:744-795 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"791e49ebe9d59ed6142b74a6895e627a3da559e4f116541c92e88dd698eb7e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201351 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:152-202 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:281-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc6393ab366d8a5ca065803e94a4d85f5cc942c20a6ca407afcc502e10b8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:212-262 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:335-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7b2518783d21e8b98168320cc1be4321e5b61c08e8f0f1b636f0cbac7a2405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:309-353 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:619-663 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:309\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b7f9e31dfdfd46ef7d5ba880b3878468873583037395bd76b794c2107d5f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201345 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:61-105 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:249-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d40ea34628d7ec41dcd57a7114a34872c4f567185fa8533f2a8e55f07c36159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:877-919 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:1013-1055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab3722d4555ae820ef9a19c2b7be35dd71711876d0f5ff3a52d4bbbc8517d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:355-390 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:237-274 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:355\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5e6773131fed225db643a6a55fd08697b9caf8b548b32743988479aed89479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:607-642 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:250-286 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:607\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0042a3aafc91d7e9ff24e1550052153ce1221ad1113dad550170f6faf36c14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:477-521 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:542-586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:477\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c842fb705f7ad25c7e4e1cb3e9d7219c191875bf76427bc758dc4f4988527097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:171-231 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:170-230 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:171\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"250428f12fc25b1594d45727b133e3f1995e70cf56643f2778ccad9ab9744355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:487-520 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:583-616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:487\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b0b9247eb8dc9eb4da978deaadfbf3c7a2cfdce88789e36846e7cbf607aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:800-832 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:452-484 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:801-829 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:920-948 \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/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:800\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6cf263aeaf1e5d9926bc6ef09269ccbccf1b69dbf725281fb14954700dbfd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68\u201370 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:807-876 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:425-492 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:807\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefa33bbe5b15ca7b16368e176e9dbfa77f4af7f4e55a7ea4ce75f862bb2b029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:779-810 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1316-1347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:779\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf84fb42e4166d952dc89c9164cee61288d09da962e8dadeb9dfe734829011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:171-199 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:379-405 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f2ef099bf2d6617ccc78001c686310a8a1debbd0d9319e2445723507197a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:246-274 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:461-486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1650746b2144b0cf55e9e0832df6a5cc8763339eca695ab736c8ed1370ee42cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:845-873 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:983-1009 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:845\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"29457a89ccc6954f44a0050eb8ef034d3e9d3c3e6a46401cf0e2536d3ee56d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:353-381 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:386-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:353\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2daa5513713db9da434a397c047004c72ce31758e0947c9b2313ce4f88544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:69-96 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:198-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:226\u0060 calls \u0060height\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:97\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c9ba75454ca7067d0e67db557af3fa6f913a9d5ab9542d1892118a589f69b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:820-847 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:905-932 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:820\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"391b4ac2113bce171f350042e2ebd300d2ce0154484a4aa5c9bf92e875b4e371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:378-402 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:447-471 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:550-576 \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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:378\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffe8444248db3d09beff1f4d69dabb1202cebb396cf4a907a43f095f4176495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:261-287 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:336-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:261\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d96d25387b87d3b141d88a4e7afcce490fb9322a2cef2fe7095c8d163185ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:105-131 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:99-125 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ed42f6ddc62bee6febcaf9786965204dca9bc07014efdbdf96b4be55a9b239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:848-873 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:500-525 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"320b1e89507a37bdc0309fd032dee5f87dc0b4aa6ad14e5ee2842620fcf092a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:171-195 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:293-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6534fea9ed8c13c7d18b987c9a8e3fdebfc337a5f431bd525ef92c914b6da3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:926-950 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1077-1101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:926\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"8992736385cc240b69a59faaad09329ad5d03be05787324311d9dfc4d6e9c880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:641-665 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:568-592 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:641\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc35f5bb5af10c11e972fd89ecdf8052ada0f42bae607f98e7b8c5db85698a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:121-144 | app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:137-160 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6243dae97bcfb081ea8fd233016e67a796876af949a448b7de4dd4c361c07d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:192-215 | app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:193-214 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:192\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1d582d5ba1269951242032f551879ead180562f3cf4cde087c24a4d044d58e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:523-546 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:619-642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:523\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"691e6d42ae331e129b384a5cb84204873e456e78cafc0df51e9920629c88aec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:290-316 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:896-922 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"324182ecf89bde99a437c00a6c882d0a1eb1a62ec2b651ae714f8d1b35db57bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:293-316 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:191-214 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d086cfdaee55f02e3aaff43359f2ee73ce82ff5a2fad3dbd395fa52ef9a5a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:513-531 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:376-399 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:513\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfec7d1bea4b1bb2ac5bc3ed5aaf380066d1c5edae74f393ddb6576b4c11a53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:180-202 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:229-250 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:302-323 \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/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ProgramDetailScreen.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d11ea501f7bbfa77ecec2c18b2dad71d6c8f46a82685a3c1ec19a79b9b3740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:65-87 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:167-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"da24b635008c3c35f5c6d212d832d17e58742e7ba6efc325c632ab01f0925636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:126-148 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:428-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:126\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"02661791841377cdf74109e636872899d4f853b134c0d8bad35e03315e549c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:503-522 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:650-672 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:503\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cac40cd44e1b3ba3416dee1730d54eb42d96fbe1d610b352115a40ff8e8e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:865-887 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1002-1024 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f360386fe63411a06d5465e36cd9c5b8b851ea4bf1bffbee2b4a4c592da56db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 2): KomorebiConfigurator/Views/MainWindow.axaml.cs:18-39 | KomorebiConfigurator/Views/MainWindow.axaml.cs:49-64 \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 \u0060KomorebiConfigurator/Views/MainWindow.axaml.cs: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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060KomorebiConfigurator/Views/MainWindow.axaml.cs:42\u0060 calls \u0060Execute\u0060 and \u0060KomorebiConfigurator/Views/MainWindow.axaml.cs:65\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":"KomorebiConfigurator/Views/MainWindow.axaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c46064f465307c99c12cabb6cd102d0dd45b4a325264fe0b95bff4026d1286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:359-380 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:403-424 \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/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:358\u0060 calls \u0060readVector\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:401\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98540a1a6e0645d11edaa5abc1290d0f1e4534472e9fe8b0c8193902615a5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:103-124 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:203-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:197\u0060 calls \u0060newBuilder\u0060, \u0060connectTimeout\u0060, \u0060readTimeout\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:98\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead195d2192ec44e64d75ae68c025c5ffb4d237279113a897d29525f3aac95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:470-491 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:348-369 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e026b5187f4837677ecf924942d75ecb7f653593e39d9eb4734bd185858cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:138-158 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:309-329 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:440-460 \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/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:138\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6270edb654bed3d1fbdaf1422bcf0d32a6079a42a33491bc6156ac0f24bda867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:348-368 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:372-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:348\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:344\u0060 calls \u0060onIsPlayingChanged\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:371\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f686bb5416ebd754227558d1cfc551ef335b94c87f934d1328995556600ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:331-350 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:209-229 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:331\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b05b1ff9bf9b3db87ca6a02506353ce788f30db1782d085627580721db09f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:791-809 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:671-691 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:791\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"943d02ed8a0b3b1afddd4862397596d0e282c226341d6919c4444d498e7b5d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:807-826 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:459-478 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:807-824 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:926-943 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:1022-1039 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:807\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"03479186a0c52a741848cd16b062f58274f495dccf1e9d1604dc55a9c5d67799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:357-376 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:414-433 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:264-283 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:357\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"477d86d7d2d7008af54881ba71751f95228d07a311bc73f6a5cc8a190705825c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:88-107 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:191-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6720554e3e2a8cb84e7fa536f962630ce7e16be01dc4f0f1fcb051d15cef3fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:287-304 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:398-417 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"31554e18e2e22fff6040d399255d3d9a9f99198f8cdd6db241856036a567cc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:668-687 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:306-325 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf08fa9fce6c9e5a8975d8c6d85f7c3cf64df563d256440389f50f2b93bedbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:677-695 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:697-716 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:697\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fd39bb3e48400118c193d82d7cd5c6c5305f5c042998e50cfa49fbdd15abbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:123-142 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:127-146 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:123\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b352ac0d17a1868fe690c56490f525098e5bd2af984d0903a5b70d6d872681a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:413-453 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:128-163 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:127-162 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:413\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b055939a181f210113ce51d4725b5fdf79702f654d39f0808125adf868db2989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt:107-125 | app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt:172-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7db40ede700d83d5da7ac44380f8aff500971ad1e0113c08a750cd7a53db03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:65-83 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1168-1186 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:65\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2744ef561fda06bc830a6e4a1994bfa70d22a3df2f7274967dafe690ad83ebe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:727-745 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:791-809 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:727\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f07ac6ca4fe68aeb9a0e8c2baf1b208e7ec6acf2588d36e4b0f685e0ec127b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1201-1219 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1281-1299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1201\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f26b9b54cbf6a4d04b75ab3af888e36c83d8b87e7e696221f6f98a6113dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:116-133 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:287-304 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:418-435 \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/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:115\u0060 calls \u0060focusRequester\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:417\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f3e63b084cac6f12f1991ecf50898ca5001450ca228af8b41e9d882c2472af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:93-110 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:265-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:93\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc1e17e975c1486791e323b462ecfd0fad8b2bad2e4f9918b29de53d532768a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:217-234 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:287-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:217\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95114e09c83fcbebe22ebed12758876825535513832b8139aff486740da5bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:189-206 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:238-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40213b1a7bf36deddcc60bbfae1a157b35bb658164c2c9177031a6bc24805a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:290-307 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt:153-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f087d72eaf57bb85a0ad6bf8ef66c6e97ff00ae0c5bf10a2a17296e6bb4a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:156-172 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:247-263 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:347-363 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:439-455 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:544-560 \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/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ceaa01502a19df848a2ddbd18945777b908227313ae367d51165e2c514ec9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1059-1075 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:701-717 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:763-779 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1059\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:700\u0060 calls \u0060padding\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1058\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593319a500dbb6f98b11560db73296f7029c4491f3c3947f6d59e0f6b7a4331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt:353-369 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:445-461 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd4ba99c91e8ffcf9025e9f7598c7ae899a6ea8a70e4407f895d78ff5b46235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListOverlay.kt:121-137 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListOverlay.kt:264-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListOverlay.kt:121\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListOverlay.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f966405bcf3577994905e12429e120293f58a525f895c3ee69748d0c5ef85c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:369-384 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:474-487 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:252-267 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:352-365 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:369\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a543e6d0031eb8568a0761cdcd2844543efcd42fad06b0a2931d8d3e79229a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:842-856 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:299-314 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:494-508 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:958-972 \u2014 there are 4 copies across 3 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/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:842\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cf88286f815b2b1d54e53ce4ab701756e1b67efc61e6ce947e1265fea302c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:287-302 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:270-285 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:402-417 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:286\u0060 calls \u0060focusRequester\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:418\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f76cc69fac39642c14f5081501938cd2b60c88cb8ca46282a850a17cb5968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:417-431 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:505-520 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:655-670 \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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:417\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f7528ff19d2562d7dd424521b69f8122dfc2d34ac546ef8c5d8009903ebe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:715-730 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:991-1006 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1237-1251 \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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:715\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:713\u0060 calls \u0060rememberQrBitmap\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:989\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a8c4572bf2b3d2c2e88a0bb466122e7c07d9de92348cd08b92f02c3113f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:610-625 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt:589-604 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:610\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5202454daa641540f4896849b7fea653a8eeead7f947b74a83beafd9b20d565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:54-69 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:310-325 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:54\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f736baf0f8c157b9348fbf05d607831ebb2ff5798fbc5b7481660e159fdaef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:278-293 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:538-553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:278\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9905fc31b784daf22487905b88a067ffa6a8c79655e4f93d81054b275a32bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:375-390 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:455-468 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:375\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"df36d9957f1f743102f77b7c7e778751036c2567694406f4cbf031136db8c9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:130-145 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:317-332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:130\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bf016225a5d9c59cf8c7a888595aec2784f9fca6a1675c49d6471a0ccbfc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:524-539 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:587-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e439bcf3f74faae2d4ce4b882d225094baacb20a60ad88a321566626ce80ddca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:35-49 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:96-110 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:144-158 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:291-305 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5af38c4918e1fc253a460afc053d92ef2970fa674d294cfbefc83027f4073e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:59-73 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:168-182 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:315-329 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1162-1176 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbfb4c13a74a456247c2f4e4cebfc741ec544bc5d08d2200ae08668487a0d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt:188-206 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:495-517 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt:338-356 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt:286-304 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c3f587a376534c03bc34c6dd5255d15751e753bf7b519eb2b5df8d7ba1ed6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt:127-141 | app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt:210-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"258fc779b7fcac3f7b451126db47bd6014c538a93810c22cdbc4cb28b0a34f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:152-166 | app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:166-180 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:167\u0060 calls \u0060Spacer\u0060, \u0060height\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:181\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e80a1ec5ff9c723054c6f9b9641b29ddafbcb7d9360cce8bd3367e4393eeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:381-395 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:288-302 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5727bfc9e8b91e3873e464da87e5d0cb751648b85c879a991d0dbca45b05898c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:519-531 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt:342-356 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:519\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2a4c0e17ba52c91d9c35cc125a132b4b94ed4814b6270a0e4c51c065897f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201315 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:430-444 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:456-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c627398c59ae3a700e92d6416b155853435a5f0241b19f5b3f37f2336519464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:201-213 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:346-360 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc33506897892c9d8144253773e3fa54223810d60c7638ca51c1ade6f4c5206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:404-417 | app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:420-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:404\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/com/beeregg2001/komorebi/ui/theme/Theme.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d291e94c9d7e546ad17210b67092352ad63cdcad03d982357a860ff87f931199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:610-624 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:518-532 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:610\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4d1dee7d37dc80f5e3f0f2daef9a149890a5a5388caff03bff7fd61f3cf9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt:145-159 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt:180-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/AiConciergeViewModel.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ea15bcfa4e8151df42568794aa11f664050ed3340b10beecd82a06e3d26e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt:74-87 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:117-130 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:217-230 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a6363ae84cd26a0419e861ac1a6d2f231e05733a3fc14f9f55cb4f5c050dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201314 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt:196-209 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootDialogs.kt:182-187 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootDialogs.kt:292-305 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec0155be5eb083c384b7a8e7919d7580247d8482dde84ed9095d7a935810e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:461-474 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:527-540 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:592-605 \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/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:461\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c8a3bd14d5202ca48525450cf11f1161c83e445178725ddd2581a2c53f960b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:431-443 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:453-466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:431\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d0c812886f12527e4d03d943011570868c9ad10ec4d79c03f7ae1a84f9fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:619-632 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveJikkyoManager.kt:148-161 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e65bd43de0ff55052d76bcf605f4c6eda383bcdea37518d890b8cfb1ed5197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:296-309 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:341-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:296\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"705047130af87ba797615dfaedacf5a23e46aac661807f852ea69e4e607c9b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:134-147 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:104-117 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:131\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:101\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84a22cd1a144e8358d2e1373e61069a0168ad8e8e3eb026b1b4150ce07db396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:106-119 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:291-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:106\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2784cabc2100ae7b78bf372945cfda513fead4a45939cbc0b37f4de6bba5cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:723-735 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:862-874 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:999-1011 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1245-1256 \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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:723\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:861\u0060 calls \u0060focusRequester\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:722\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"744ea58df45964d605385214bd47086258492b111d346a167248d24eb717a6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:826-838 | app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:936-948 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:478-490 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:943-954 \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/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:826\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"7980437e705d9001004961affdf00ed6f25c3c6fa53c6401b2df5ebec3814547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1065-1077 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:459-471 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:769-781 \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/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:1065\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"986cd9d07c3cf020382908273366cb3b4f7c9746794b8d614a82c32b87d94a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt:105-117 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt:363-375 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7923fc49a02287f0f14c79382b15febcb5f19488767ed2e43a3d8cd4986a667a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:135-147 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:217-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a054ddebbf64138013fd33ada128a1ebfe670d4f646b1c218c3be5f5028d12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:236-248 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:322-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"488436b8b135f33680f231ff7108a6b6c882a5ded4ade2575791ffd814baec87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:156-168 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:119-131 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"281a503479a3038d450dd8a3c40095d61835aebe4fc45b397e4a6228f872310c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:183-195 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:121-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"854452c192a7a9b95dec5fc6b3d5389d5f8d38be408e03cebd7e32f6a33b12d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:536-547 | app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:610-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:536\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc4eeba5bac20606f27fb8539d2593f8f7c9f48b7c8d0bdf6c3309f24911490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:892-904 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:544-556 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:892\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"3710c04d9a549422aaf6b872f7a29e3d7c57d91bbddfa3d12e6cc551b0b9da44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt:99-111 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt:81-93 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664fae7c034c79ae591e1a13278d29f5c6607418d9d59612df0f0eeff82a9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt:216-228 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt:183-195 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeaeec9d2319ff4ff475c882760f54c08f03add7d3c5cd6d8f3a993fa2060f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:39-50 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:100-111 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:148-159 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:209-220 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:295-306 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a93f1beb76572df6b959a08910c7fea000b685cb5e4b7948e3cd22857bfb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:35-46 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:96-107 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:144-155 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:61-71 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:291-302 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b9891e0e7b93f5fd3587c11d7313a1366e4a51a503ecf720c39fbd83cd3d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:201-211 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:222-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:222\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:198\u0060 calls \u0060safeGet\u0060, \u0060safeString\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:220\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf57e8bc483214212dc4dead7cd6283a91a1afbf10d725133ce25b78d738124e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt:52-61 | app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt:55-66 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/components/ReserveCard.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/KeywordConditionCard.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"43287c4616d4a9ee32d1b7195a8b08871bf78985185630648ba4deb18ffe3c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:326-341 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:308-319 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:326\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4f17cf141f8373f30db1e99ff942bef4f0b9fdac8a3a16f42717e8be94c8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:162-173 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:176-187 \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/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e538311c4a6356d8760f7ba67d10f44618be39d6a4416d2f3dcac8e2856262a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:57-68 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:58-68 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:57\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fc11fd61ef337866c22718e01fdaefee6260eab9a230d7af87cb2b7c121731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt:105-116 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt:95-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"66299230b55454f2adbc1cc357a7ed4956cccfa0341fa314ca2aa387b7a2c5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:926-937 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:748-755 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:926\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"886f41fe36d8da5216cc0ed5f8feba8d50177d0a919ea43cbc6f7b2121375184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:480-490 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:497-506 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:518-527 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:539-548 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:559-568 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:579-588 \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/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:480\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52876de55bbcc46492845df70e5364f6c8ca5643687b24746d4fbad22269ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:39-50 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:100-111 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:148-159 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:209-220 | app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:295-306 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1143-1153 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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/com/beeregg2001/komorebi/ui/main/MainDialogs.kt:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainDialogs.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d7048688ee988dde42704ff002f4b564d7f4e294a98908204a5ba19524b83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:516-526 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:770-777 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:380-390 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:516\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb50fad82c93fa8f91e070ad7c11cc66515fb67d3eca76842c38a46eef7c4847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:393-403 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:462-472 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1140-1150 \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/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31be98745652185f24e39cdd7e3c580f1d5cbc235d0abf1ae910edc8b0cdf5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:56-65 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:57-67 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt:57-67 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:56\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5243d2af6b72117139e2ccc14799f02cd9c186bfb6c65b5626e6ca806602b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt:111-121 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt:145-155 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.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/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dcc1003a347715bfa3ec05479ff6e927539b4feb0a0855a647597baf73397b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:290-300 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:494-504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c07c36ccdea3c43a78519aa5595258ce216822f230e4dab5eb04c229a51d5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt:282-292 | app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt:371-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt:282\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"89437332573e84c7d223c7e395ae43a63c5c92ed40a1eb8d2cb5cf637155deec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:420-430 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:521-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ecde2d109b5c22555b00ee7cf3a40eae70ba4efeb6340eed84151c43bd24f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:201-211 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:155-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"464ae2235a4661deee11bd98853ae9f7056c911d13c0d99c643a8c7e8f636f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:138-148 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:89-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcee3c6087725ed8536a82c9ae9220e158f11d06908c0d3df33dd1f510fb2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:458-468 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordNavigationPane.kt:115-125 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:458\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9e8b97590a6779ddc207acab11ee50f54b0208139a95840586b0c1e55d92ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:936-946 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:1067-1077 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:936\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"09edd46be99c42cd109153f719546b1e023f680129a038be72a3f518436db862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:715-725 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:780-790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:715\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"96045301b4bdeb9719274e4dc8b6d6c9c53474add8ce73df3e88d8e9a64ef603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:262-272 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt:372-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"309012108af6ad5b3112d21d30e171922d90c84e9397abe20914d02d542b532b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:77-86 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:179-188 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:432-441 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:533-542 \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/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec5a04df072be2a5bf76738776828838db3d8c8cd7fc1c8e3f98bf71e6783c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:45-54 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:46-55 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt:46-55 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordChannelPane.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a148ee7427e7e814cce6d7061ea51e5cac6e9b78ec261ce68305cfe5b0241c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:318-324 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:297-306 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt:318\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0198cd5beee966048fe67834cebfe82f929a0d859b0a9d64733e36badb3d518b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:596-605 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt:239-248 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 233 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt:596\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccb5848136b0f428c133e9e73bc317eeb6baa96a74657d91d2ac332db496b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:250-259 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.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/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:250\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"33338e3989240f4dcb6c1d08a525ba7ab001267a3aea5909ea744f41f05edc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:222-231 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:541-550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:222\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5401dc37e80552fe2d939838dd037b619ee81b0aca41b58d2c426b101a02a942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:880-889 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:532-541 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:880\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d597a5a85c4f5c34931750dddf31432c86e4f8ba414090116453eea786162d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDetailPanel.kt:68-77 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt:94-103 \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/com/beeregg2001/komorebi/ui/video/components/RecordDetailPanel.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c14ab7352d7870d7ffe1469f695510142adc9201b8fd3a796493ca5e19c1f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:1061-1068 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:812-821 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:1061\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d207d0186bc2ca2534c744aadf22b7364136e76edbb46a5a4fe1b50b582da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:251-260 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:308-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d8aa0b5eb385bbefdcf9ca8e5cb832d230f63c45e34663de7c0adfc70b9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:290-298 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:373-381 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:415-423 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:478-486 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:638-646 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:726-734 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:256-264 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:293-301 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:356-364 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:38-46 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:290\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"542f6a6717be73720de25b28de6a59aaf4f2873631e34460ad9ae411b2b2ddf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt:84-92 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt:125-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7d17ff6b0fcc9947bc5795a544e01c536a8a510a8ef3dd52e6f07a146bc855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:466-474 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:515-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7d9cba332d2757d122a6e4d7a3b21dee3b4f09c4358220780f4c19944de985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:161-168 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:370-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e659bed12b18d0b923c3dc9a35f796ce914c79d351609e2712d9fe3a6a97c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:217-225 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:281-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/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:217\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8ed8e7a7e33bc2311f20e29005815946d194f846e69042a93134c867c8791e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:340-347 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:360-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aba81e580065c7e952d5e63ad8922e1bd6834018da7143d12637a50fb5f89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:605-613 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:753-761 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:605\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ec0a15269978c07955d0f8f822eb450314fcb9486b63c79e6b39ad037d67af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:163-171 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt:113-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee93f5563d72b0d76d2e9a39dae40ec09b23517600690d7a2f9a08b7366d4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:475-482 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:496-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/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:496\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da28b20be688dbb1ba0f271c4ec03e23bd641dccfb018e62c75bed140cec82d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:771-779 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:656-664 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:771\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fbf0754574c6d5a35532bca5834d42d37ff0d79e67d632732f52ad9aa5487c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:613-621 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:666-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:613\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f988507bf296d32979013f720b45c1f7b292c2ef34e8222e38dd243806b04e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:375-383 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt:251-259 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a83ccc8cf6135598264a4b4cc0e161182ef2c912625ca10fc1c1ba20e18547f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:513-521 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:605-613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:513\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"195ee9b21bb38e32bb563c4abd08b3bcb1f9febf579060d7728ebdfa9e886ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1185-1193 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1270-1278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6b339b4ff83167f73c225d7c4418b250e4aa5cd83fbe947dbe7930b8934af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:127-134 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:429-436 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:140-147 \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/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:127\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd327ae27c57328fce527cdbc340520755a5685d2d22c6f9fbda6cc5be028d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt:102-108 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt:157-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f2f1040ed8724874341600261b855cf656c3fb5004a1331f827274f1a92476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:383-390 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:475-482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:383\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b8c36d16c0f60eca43f6eda5a4708a5f528bd3acfc16098c633756b21e47e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:138-145 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:345-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9eac4007669f5589c84ec27f44de04a7209774b565c9f40562fc54b3f70698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt:338-345 | app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt:580-587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4507fcf5532cb91b8dd03e1066c809133f1193c9372c2eddfd3f912f120eff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:548-555 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:644-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:548\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"649d475b7b6da6d0d5d17c2f88c336122f1f91b75b1a83fee7a71538c9fd2a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:208-215 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:768-775 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"084e4e7fbf074469252576b0d1a04063d8d4ff39b99dfc9e5f3eb10920ef6051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:114-121 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:85-92 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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 after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:93\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:123\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86d092ab0901fee9019c33b5c33de0123c06391ba6bc4b0254673985fbfea21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt:66-74 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingState.kt:68-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7051596f198e1667c311375cb34d0fcfc83be1de5d29afecf62a641ab01b84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:418-424 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:496-502 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:517-523 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:540-546 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:623-629 \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/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt:418\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbByteUtils.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6ff6d3512635835fcabd54f0882979fd7e5944fed8dcfae3d875107c0ab124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:841-846 | app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:952-958 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:493-498 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:840-845 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:957-962 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt:841\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d33f48efa41799662bb0c9d9acbb46dc2f89e7b9258d900d040f88da2ef1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:209-215 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:515-521 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:769-775 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:379-385 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:208\u0060 calls \u0060weight\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:514\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308c8c735393732e51efce1f1cb3b0e62268232893b4d9a99c1bd73e647eb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:684-689 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt:705-710 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:618-624 \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/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt:618\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a8ff1b69b81ffa7ee4246fe1b4f3eb75e3e8cc7fbd356ae71594a9815bbeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt:222-228 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:536-542 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:402-408 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:535\u0060 calls \u0060focusRequester\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:401\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootComponents.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b1dc1011cbcac3642e5b87d692c57bf9cd59faea185a57a137bd82016e698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:748-753 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:771-777 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:871-877 \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/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dba7477ca5ea87f714782ee0d07216d9e9ef46006bd2774e7a2f642046c97e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:511-517 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:532-538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:511\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea918063059ef0be51deff0c1d92cbec453d81c4117f756fd141f8d159e16608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:552-558 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:572-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt:552\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d24b65f9dd938134498b59c0ef5ad378ccb77120146b6a04c44315d8b199289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt:375-381 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt:468-474 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt:375\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72bdb71f0d030aa50372f83a36066e5a7e78c4c5197ad120b243593c5a56372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt:325-330 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:197-203 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:671-677 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"411182fd49969def67ded9a1906d2a4a06b7f149c671092ab089ff05f17c0719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:584-590 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:1041-1047 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt:584\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"54170b3b6c8633e432a797e2464e07b0b68207eaa4cb3b047cfd51e8cc838b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:264-270 | app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:297-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/theme/Theme.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a1ed901026a6e41d022dfc0e643fb990ba41595705788f58860ba081fd79b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:246-252 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:509-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:246\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad12b31d57fc74fe46660789c7dd177795ffd9fdd5810d222c0c14d84706eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:711-718 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:729-736 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt:711\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SettingsViewModel.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e235164eefa6799bd6619d31996665ef10b7f1a8e20c02ae3878992b0097d408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:400-405 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:291-297 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:374-380 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:416-422 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:479-485 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:639-645 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:727-733 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:257-263 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:294-300 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:357-363 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSharedComponents.kt:39-45 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 267 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/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:400\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e89e2f29c7ca11fe6b22857569dcacfa85ac7e3b28ad4bd81d50153b3ddff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt:120-126 | app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt:170-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbNwPlayDataSource.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eab1fcb31d646da547b339c55a20e23bb0c29fb8cab88877bf1f187fabbc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/mapper/KonomiDataMapper.kt:18-23 | app/src/main/java/com/beeregg2001/komorebi/data/mapper/KonomiDataMapper.kt:90-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/mapper/KonomiDataMapper.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c0d5247a7ec2a7e2bbff3e2c7c39b96b90215aa6143831b91f96fde841382d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:716-721 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveJikkyoManager.kt:131-136 \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/com/beeregg2001/komorebi/ui/live/LiveJikkyoManager.kt:130\u0060 calls \u0060optString\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:714\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51ded29197b2e94a91dea8bb8e718460cf0e5c55c47034717d98c9e34941eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:515-520 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:573-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:515\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c972c7e5b8a6f6c10966e110ab23f831fe938eecf1395fa6fdd36e9a2ac74ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:97-102 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt:134-139 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:97\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09cf3097d28ddc4014cc0717dc1d6627d87b144d11b83d5ba1e04c221476d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:108-110 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:142-146 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:160-164 | app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:177-181 \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/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:113\u0060 calls \u0060nextFloat\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt:184\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/SeasonalDecor.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d89b25b02753297d0a6a1db38c03648b5fa66dc1042449be88e287d4db41ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:417-421 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt:448-452 \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/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0701bdbd58b89e18a5fd6b36dd551eff73777bb38e29ed3bc0187faf9e2d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:95-100 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordNavigationPane.kt:111-116 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt:94\u0060 calls \u0060scale\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordNavigationPane.kt:110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDayPane.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c5a43728265e2441a4d04847c5f5bf073db38f31b59bfa2fa3c0f3aa7a9c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:234-240 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:495-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:234\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:502\u0060 calls \u0060isNotEmpty\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:241\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2ad19ac9fdaae06c2fcd25113db938674eb8ee84d0ee089c895f2964be55eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt:61-66 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:79-84 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbReserveRepository.kt:34-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"776354de4016a2a823fe35fff5d69d8d1d8e8498039d09dbd389a5fa7c5c7b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt:146-152 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:447-453 \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/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"325e917be814f979ac25b3a90c14329de63013e45c9168d00a45039f1a9e747f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt:479-483 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt:395-399 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfb5bf2fbacb8f93265b1f1e1441457ca624bb1923c2dc502ddafd8e48811a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:455-471 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:166-182 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:165-181 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:455\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef7e2a876ced1e0e6c6464f378a7f1201bbf0d8c76f3c32b0a8ffeed45a2bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt:211-227 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt:260-276 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d1d6178d1ec512c6bcdd38c30723125b98748c980b8d07600d64b2ca63d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:263-277 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:286-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:263\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d6e03ba9b1b9f25e2b6fb02315943882578e340beac08cbbfa2ba3f6fc29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:233-247 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt:232-246 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0a024393943d11f8137eb8b3e8920ae742b536581dc7faa3a06673a28a5f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt:185-198 | app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt:235-247 \u2014 before extracting anything, compare \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df269bb6b123de03b01b5574b375626819b3a975b83bacb154164f4e9c12ff8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt:61-69 | app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt:99-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c9976945a163aef4f6772968b742546f72994b553120faed600b8950eddb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:148-159 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt:186-197 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt:148\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ad1d88908a2bb25ad38d9cb79cab7a678dd71388673ed28986fca37e36411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:747-758 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:863-874 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:747\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"81688ccd4b23d1ef01c3ab8f940adef37ac3de9e47828b3dc99b0b5451ea67fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:113-121 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:210-218 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:404-412 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:505-515 \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/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:113\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b168351832778b30df9988cd28b9aa79d8aae5fee71d1643d7545befa3ba518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:197-207 | app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt:466-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/SceneSearchOverlay.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c880bb001109c7c8b61ca6223c91da4b68233a8a61bad486108f79d103f0cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:564-574 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:660-670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt:564\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f62601b9706f6d7804fae351f657e8409f593908c208d55bd6abcddc361849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:265-274 | app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt:284-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b268fdc794ff68c2d97508ecc8646ca03fffda285e960dde25cda6bad9862f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:747-756 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:1267-1276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt:747\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7bd5f1bb965408296393f57ac0777054e6ef9b46c8813f2d3791617ce6e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:129-138 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:519-528 \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/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"371c400990a10976928485d4bc994bc76d8d77f51f6993ceac09c098c11cc3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:157-166 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:174-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3917dd13905da0158a4149198143780c92310ac339a1cca1db89676e942439b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:465-473 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:494-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:465\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"db621ffb43514689ba1ad89ed18852aa958e35580f342173aa5e46eadcb471a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:475-483 | app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:504-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt:475\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5dc6a25434b56b185b3b201ce7ee0e40dbe1ab25f635c3545ab6152a0707c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:139-147 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:156-164 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:173-181 \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/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveListScreen.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"192057a08df67b21a230d40a322fba0bc88867b3edb5fa85005ba219fc407f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:292-300 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:384-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/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt:292\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41031e1c7542be7f13b34fb6b52e86c6953ae9ff81bc4e980726ee1d8ac64e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:113-121 | app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt:123-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveDualPlayer.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a305d11f874eff4903a4a9d69d060a8af68b5746e5499642f9e4ae6a47a1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:503-509 | app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:781-788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt:781\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02c07893965f0998d708a5b9ed31fcea39089a06d4236b0bede92ec0eef6c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:578-584 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:622-628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt:578\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bec70e604c102118170be7bfb15002914c9e343e8f1bf59e2baf11e34c9c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:218-222 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:310-316 | app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:412-416 \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/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt:218\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeSections.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5decb2198ae38feeaa1740aebce0d724ebdf1404d48bc710d4b67f7828fa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/jikkyoClient.kt:105-110 | app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/jikkyoClient.kt:150-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/jikkyoClient.kt:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/jikkyoClient.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1c97c1d40919f63a04544ead528ab5fe97594351e5d19274a7800abb5dd45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1178-1182 | app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt:1263-1267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c53f00f7ffa11f345d8b6ec4d390bdf39f1d661f07a266d0d7fa58050689d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:116-120 | app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:590-594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/engine/EpgDrawer.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2e323d60b026143e4fac96ac9e0af9d1928d47aa1a6a898f3fde0b3d020ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/beeregg2001/komorebi/util/AudioRecorderHelper.kt:150-154 | app/src/main/java/com/beeregg2001/komorebi/util/AudioRecorderHelper.kt:171-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/util/AudioRecorderHelper.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0778d69d5a344c62382232914bc5ea3a6892fd7b0f57db3365d064e44a09a0a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomeViewModel (LCOM4 6): HomeViewModel\u0027s methods fall into 6 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 6 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/com/beeregg2001/komorebi/viewmodel/HomeViewModel.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0b16d295febf280da4b93e84eb98de92b36acef84dea228f3fbe83f19c5f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RecordViewModel (LCOM4 5): RecordViewModel\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/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eabe7dbda8c14257c8e9a8b8a624dffcbe56416e51fd3f39048ece37d895b17"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SmbViewModel (LCOM4 4): SmbViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0d69a934d5bad3e05b6fc609cf4b4e1fd73dd095284fe90598887a68a5cbc0"}},{"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/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in VideoPlayerScreenKt.VideoPlayerScreen at line 120. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d37d5d35cbb4b9874a03a9401146dadf920d3d194c9650ba59da81c6abe4334"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 147 in LivePlayerScreenKt.LivePlayerScreen at line 63. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2e926470bcea4fc58483bec8862c206187aac8c20e69097f789e9814611158"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in HomeLauncherScreenKt.HomeLauncherScreen at line 131. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31524833029890b629de3e7d849bb7144b8d15470a089e62b1caf7574a1083a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 138 in MainRootScreenKt.MainRootScreen at line 47. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"551db9d11cb54512c5ff1855d22c067ae315733850c35a54aa8609580474f6ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in RecordListScreenKt.RecordListScreen at line 89. 2 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-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"334fd4888598f140e3bd0f7ec2f143a4b2d2a5da43abfc69c759360a370508c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt: app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in SettingScreenKt.SettingsScreen at line 53. 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-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c372e759a41518a73cd7eee8d6d04c6ca7336698028fbb28447d3b19de237f60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in VideoPlayerState.handleKeyEvent at line 74. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerState.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59467528abd5852bce00899122c994341c2fb9ab644ade9636193a38b850aa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt: app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LivePlayerViewModel.playMainChannel at line 652. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef784263628502351802c1d421b6a89e6ac9dea5b78f0e87ac71301320019c52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt: app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in LivePlayerSubMenuKt.LiveTopSubMenuUI at line 43. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cef78fc449215e2b54e75ecc96bf3bef509e010d753e9b7c57155f9dafad46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt: app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in RecordSyncEngine.syncAllRecords at line 195. 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-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"be423fa6285f21844ae5c4d15d7ce487688b9fda0d2da0f468c75ee05d916268"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in VideoPlayerManagerKt.rememberManagedExoPlayer at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4485c3ee7b7a5a641b9b254314cd19b148effa6d0b45a24495b121f269f76c22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in EdcbRecordRepository.mapToRecordedProgram at line 396. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf92b9e8159bd9395ec0e15725c2cf2143ad8c83c0c8f2e3dfcbeb6f290143cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt: app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in MainRootBackgroundKt.MainRootBackground at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootBackground.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1e4cafc775938a709125685e8cb6cc4aa4cb567e82d307fa907b390525d45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt: app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LiveContentsKt.LiveContent at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/LiveContents.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"22746451d5be4f539c0506737b23b8ff000aa191d550401885aa8ec6c4943382"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in RecordListContentKt.RecordListContent at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3ba87a177624d35fc539b0530cb0e2012d35892db3c45a2763cf138c3f5029"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in HomeContentsKt.HomeContents at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f8f44e49077d7dd05473c3bfe9c4549d205df30e61d47bdb5dde835848fc87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in RecordSeriesContentKt.RecordSeriesContent at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda6d5fbdfd4eb7ace8929ba7db2bb223706bb6f99cdf65c4d70ad351213f42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in RecordSeriesGridContentKt.RecordSeriesGridContent at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77dd1ad1a6ab3fd8a5fff466a290b33ec6cedff3fc5152c5f5b1d49b789e682"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in EdcbEpgCacheManager.fetchEpgDataIfNeeded at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbEpgCacheManager.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4b1b091ce5e41f5a80dac75f47147e21668911eb0d4964bab47356a1bcac81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt: app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in VideoPlayerSubMenuKt.ModernVideoSettingsOverlay at line 384. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerSubMenu.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2563a930de9baf084708acb8f2cb2cd6f760e71b544f32b9bd070d7e50ff15c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in EdcbLiveRepository.getChannels at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3802f8fff745f0bd6a6786718d47036e95fd6c4c6331a26b1f13cabb39749"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt changed 10 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is EpgStationRecordRepository.getSeriesList at line 103), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEPGStation\u306E\u624B\u52D5\u4E88\u7D04\u3092\u66F4\u65B0\u3059\u308B\u3068\u4FDD\u5B58\u5148\u30FB\u30A8\u30F3\u30B3\u30FC\u30C9\u8A2D\u5B9A\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(GET /api/reserves/{id}\u3067\u8AAD\u307F\u76F4\u3057\u3066\u9001\u308A\u8FD4\u3059read-modify-write\u65B9\u5F0F\u306B\u5909\u66F4\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u73FE\u5B58\u3057\u306A\u3044\u30A8\u30F3\u30B3\u30FC\u30C9\u30E2\u30FC\u30C9\u306E\u67A0\u306F\u5916\u3057\u3066\u9001\u308B) \u30FBEPGStation\u306E\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u66F4\u65B0\u3067\u691C\u7D22\u5BFE\u8C61\u671F\u9593(searchPeriods)\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3068\u3001\u653E\u9001\u6CE2\u30D5\u30E9\u30B0(GR/BS/NW*\u7B49)\u6307\u5B9A\u306E\u30EB\u30FC\u30EB\u304C\u7DE8\u96C6\u306E\u305F\u3073\u306B\u500B\u5225\u30C1\u30E3\u30F3\u30CD\u30EB\u6307\u5B9A\u3078\u5C55\u958B\u3055\u308C\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u91CD\u8907\u56DE\u907F\u3092\u4F7F\u308F\u306A\u3044\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u304CKomorebi\u304B\u3089\u8FFD\u52A0\u30FB\u66F4\u65B0\u3067\u304D\u306A\u3044(HTTP 500)\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(avoidDuplicate=false\u6642\u306BperiodToAvoidDuplicate\u3092\u9001\u3089\u306A\u3044) \u30FB\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u6709\u52B9/\u7121\u52B9\u306E\u5207\u308A\u66FF\u3048\u304CEPGStation\u3078\u53CD\u6620\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u6642\u523B\u6307\u5B9A\u30EB\u30FC\u30EB\u306E\u66F4\u65B0\u3067\u30AD\u30FC\u30EF\u30FC\u30C9\u304C\u7A7A\u306B\u306A\u308A\u62D2\u5426\u3055\u308C\u308B\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u65B0\u5F62\u5F0F(streamProfiles)\u3067\u914D\u4FE1\u8A2D\u5B9A\u3057\u3066\u3044\u308BEPGStation\u3067\u753B\u8CEA\u4E00\u89A7\u304C\u30B5\u30FC\u30D0\u30FC\u8A2D\u5B9A\u304B\u3089\u69CB\u7BC9\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(streamProfiles\u3092\u512A\u5148\u3057\u3001\u7121\u3044\u65E7\u30B5\u30FC\u30D0\u30FC\u306E\u307FstreamConfig\u3092\u4F7F\u7528) \u30FB\u30E9\u30A4\u30D6\u518D\u751F\u3092\u958B\u304F\u305F\u3073\u306B\u4FDD\u5B58\u6E08\u307F\u306E\u30E9\u30A4\u30D6\u753B\u8CEA\u304C\u5225\u30BD\u30FC\u30B9\u5411\u3051\u306E\u753B\u8CEA\u4E00\u89A7\u3067\u7167\u5408\u3055\u308C\u3001\u5148\u982D\u306E\u753B\u8CEA\u3067\u4E0A\u66F8\u304D\u4FDD\u5B58\u3055\u308C\u308B\u7AF6\u5408\u3092\u4FEE\u6B63(\u753B\u8CEA\u53D6\u5F97\u30B8\u30E7\u30D6\u306E\u53D6\u308A\u6D88\u3057\u3068\u3001\u73FE\u5728\u30BD\u30FC\u30B9\u5411\u3051\u306E\u4E00\u89A7\u306E\u307F\u3067\u7167\u5408) \u30FBEPGStation\u306E\u30ED\u30B0\u30A4\u30F3\u8A8D\u8A3C(auth.enabled: true)\u3067\u66F8\u304D\u8FBC\u307F\u7CFBAPI\u3084\u30B9\u30C8\u30EA\u30FC\u30E0keep\u304C401\u306B\u306A\u3063\u305F\u5834\u5408\u306B\u539F\u56E0\u3092\u793A\u3059\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30ED\u30B0\u3092\u8FFD\u52A0\u3057\u3001README\u306B\u65E2\u77E5\u306E\u5236\u9650\u3068\u3057\u3066\u8FFD\u8A18\u201D; \u201Cfix: \u30FB\u30EA\u30EA\u30FC\u30B9\u524D\u30EC\u30D3\u30E5\u30FC\u3067\u691C\u51FA\u3057\u305F\u30EA\u30B0\u30EC\u30C3\u30B7\u30E7\u30F3\u30FB\u65E2\u5B58\u30D0\u30B0\u3092\u4FEE\u6B63(EsRuleEncodeOption\u578B\u4E0D\u4E00\u81F4\u3001EPGStation\u30E9\u30A4\u30D6\u753B\u8CEA\u306ELIVE_QUALITY\u8AA4\u4E0A\u66F8\u304D\u3001streamId=0\u8AA4\u5224\u5B9A\u3001\u30A8\u30E9\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u82F1\u8A9E\u5316\u3001\u4ED6)\u201D; \u201Cfix: \u30FBEPGStation\u9332\u753B\u306EMIME\u8AA4\u5224\u5B9A\u30FB\u753B\u8CEAmode\u885D\u7A81\u30FB\u81EA\u52D5\u4E88\u7D04\u30EB\u30FC\u30EB\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u6D88\u5931\u3092\u4FEE\u6B63(EP-3,4,5)\u201D; \u201Cfix: \u30FBEPGStation\u30E9\u30A4\u30D6\u914D\u4FE1\u306E\u753B\u8CEA\u30EA\u30B9\u30C8\u672A\u69CB\u7BC9\u30FBHLS\u5F37\u5236\u505C\u6B62\u30FB\u756A\u7D44\u8868\u904E\u5270\u53D6\u5F97\u30FB\u30ED\u30B4\u518D\u8A66\u884C\u3092\u4FEE\u6B63(EP-1,2,6,10a-c)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f4b1980bfa347ef7babb5ecedbbad75c8ea234282de7145141a9b993a7814f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt: app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is UrlBuilder.formatBaseUrl at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FB\u6700\u7D42\u691C\u8A3C\u3067\u691C\u51FA\u3057\u305F\u8EFD\u5FAE\u306A\u9000\u884C\u3092\u4FEE\u6B63(basePath\u5883\u754C\u30C1\u30A7\u30C3\u30AF\u3001SSE\u7531\u6765HTTP\u30A8\u30E9\u30FC\u306E\u8868\u793A\u3001LiveJikkyoManager\u306EURL\u7D44\u307F\u7ACB\u3066)\u201D; \u201Cfix: \u30FBEDCB\u4F4E\u512A\u5148\u5EA6\u9805\u76EE(E-11/E-12/E-15/E-16)\u3092\u672C\u5BB6\u30BD\u30FC\u30B9\u518D\u691C\u8A3C\u306E\u3046\u3048\u4FEE\u6B63\u201D; \u201Cfix: \u30FBEDCB EPG\u6642\u523B\u30D5\u30A3\u30EB\u30BF\u306EJST/UTC\u5909\u63DB\u305A\u308C\u30FB\u30E9\u30A4\u30D6\u518D\u751F\u30A8\u30E9\u30FC\u63E1\u308A\u6F70\u3057\u30FBURL\u7D44\u307F\u7ACB\u3066\u30FB\u30C7\u30C3\u30C9\u30B3\u30FC\u30C9\u30FB\u30C1\u30E3\u30D7\u30BF\u30FC\u8AA4\u53D6\u5F97\u3092\u4FEE\u6B63\u201D; \u201Cfix: \u30FBKonomiTV original\u753B\u8CEA(\u751FMPEG-TS\u76F4\u63A5\u518D\u751F)\u5BFE\u5FDC\u3092\u8FFD\u52A0(\u30E9\u30A4\u30D6/\u9332\u753B\u4E21\u5BFE\u5FDC\u3001\u753B\u8CEA\u30D4\u30C3\u30AB\u30FC\u30FBURL\u7D44\u307F\u7ACB\u3066\u30FBEDCB\u76F4\u63A5\u518D\u751F\u65B9\u5F0F\u306EDataSource\u30EB\u30FC\u30C6\u30A3\u30F3\u30B0) \u30FB\u9332\u753B/EDCB\u76F4\u63A5/Original\u518D\u751F\u3067\u5B57\u5E55\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(DirectSubtitlePayloadReaderFactory\u65B9\u5F0F\u3078\u7D71\u4E00\u3002id3conv.cpp\u304C\u751F\u6210\u3059\u308BID3 PES\u306Edata_alignment_indicator\u30D3\u30C3\u30C8\u4E0D\u5099\u3082\u4FEE\u6B63) \u30FBOriginal\u518D\u751F\u5F8C\u306B\u6B21\u306E\u756A\u7D44\u306E\u518D\u751F\u304C\u958B\u59CB\u3057\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(LaunchedEffect\u306E\u30AD\u30FC\u6F0F\u308C\u3001program/isEdcbDirect/cfAccessHeaders\u306Eremember{}\u5185\u30AF\u30ED\u30FC\u30B8\u30E3\u56FA\u5B9A\u3001filterStateRef\u306E\u756A\u7D44\u307E\u305F\u304E\u6B8B\u7559\u3092\u4FEE\u6B63) \u30FB\u9332\u753B\u30EA\u30B9\u30C8\u3067\u518D\u751F\u5F8C\u306B\u623B\u308B\u3068\u30B5\u30D6\u30E1\u30CB\u30E5\u30FC\u304C\u958B\u3044\u305F\u307E\u307E\u6B8B\u308A\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u52B9\u304B\u306A\u304F\u306A\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30DB\u30FC\u30E0\u753B\u9762\u306E\u30BF\u30D6\u79FB\u52D5\u304C\u7DE9\u6162\u306A\u554F\u984C\u3092\u4FEE\u6B63(refreshHomeData\u306E\u591A\u91CD\u8D77\u52D5\u9632\u6B62\u30FB\u9593\u5F15\u304D\u3001\u4E0D\u8981\u306AFlow\u8CFC\u8AAD\u306E\u524A\u9664\u3001\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u518D\u751F\u4E2D\u306E\u30DD\u30FC\u30EA\u30F3\u30B0\u505C\u6B62) \u30FB\u4E8C\u753B\u9762\u30E9\u30A4\u30D6\u8996\u8074\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u6F0F\u308C\u30FB\u30AF\u30ED\u30C3\u30D7\u5D29\u308C\u3092\u4FEE\u6B63 \u30FB\u30E9\u30DC\u8A2D\u5B9A\u306E\u4E8C\u753B\u9762\u5236\u9650(labAllowMirakurunDual)\u3092original\u753B\u8CEA\u306B\u3082\u4E00\u8CAB\u9069\u7528\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2b21bb85cb9a4e3d458dbba06f5391c9d3920e9caa10c479d083399f286976"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt: app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is VideoPlayerViewModel.fetchAvailableQualities at line 104), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBKonomiTV\u306Eoriginal\u753B\u8CEA\u304CBS4K\u7B49\u306EHEVC\u9332\u753B\u3067\u9078\u629E\u3067\u304D\u305A1080p(60fps)\u3078\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3059\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(\u53EF\u5426\u5224\u5B9A\u304B\u3089\u6620\u50CF\u30B3\u30FC\u30C7\u30C3\u30AF\u6761\u4EF6\u3092\u5916\u3057\u300C\u9332\u753B\u5B8C\u4E86\u6E08\u307F\u002BMPEG-TS\u30B3\u30F3\u30C6\u30CA\u300D\u306E\u307F\u3067\u5224\u5B9A\u3059\u308B\u3088\u3046\u5909\u66F4\u3002\u672C\u5BB6KonomiTV\u304CMPEG-2\u9650\u5B9A\u306A\u306E\u306F\u30D6\u30E9\u30A6\u30B6\u5074\u306EWASM\u30C8\u30E9\u30F3\u30B9\u30B3\u30FC\u30C0mpeg2toh264\u306B\u4F9D\u5B58\u3059\u308B\u305F\u3081\u3067\u3001tsreadex\u7D4C\u7531\u3067Media3\u3078\u6E21\u3059Komorebi\u306B\u306F\u5F53\u3066\u306F\u307E\u3089\u306A\u3044\u5236\u7D04\u3060\u3063\u305F\u3002servicefilter.cpp\u306FH_262/AVC/H_265\u3092\u7B49\u3057\u304F\u6271\u3044\u3001Media3\u3082TS_STREAM_TYPE_H265\u306B\u5BFE\u5FDC\u6E08\u307F\u3002\u30B5\u30FC\u30D0\u30FC\u5074\u306E\u9332\u753B\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9API\u3082\u30B3\u30FC\u30C7\u30C3\u30AF\u3092\u898B\u306A\u3044) \u30FBoriginal\u975E\u5BFE\u5FDC\u306E\u9332\u753B\u3092\u4E00\u5EA6\u518D\u751F\u3057\u305F\u3060\u3051\u3067\u65E2\u5B9A\u753B\u8CEA\u8A2D\u5B9A(VIDEO_QUALITY)\u304C\u9ED9\u3063\u3066\u66F8\u304D\u63DB\u3048\u3089\u308C\u3001\u4EE5\u964D\u306F\u5BFE\u5FDC\u9332\u753B\u3092\u958B\u3044\u3066\u3082original\u306B\u623B\u3089\u306A\u304F\u306A\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(\u756A\u7D44\u56FA\u6709\u306E\u7406\u7531\u3067\u9664\u5916\u3055\u308C\u305F\u753B\u8CEA\u306F\u66F8\u304D\u623B\u3055\u306A\u3044\u3088\u3046perProgramExcludedQualities\u3067\u6761\u4EF6\u5316\u3002\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u5207\u66FF\u6642\u306B\u5024\u7A7A\u9593\u304C\u5909\u308F\u3063\u305F\u5834\u5408\u306E\u6B63\u898F\u5316(2c3d8c0)\u306F\u5F93\u6765\u3069\u304A\u308A\u7DAD\u6301) \u30FB\u753B\u8CEA\u30E9\u30D9\u30EB\u3092\u300C\u30AA\u30EA\u30B8\u30CA\u30EB (MPEG-2)\u300D\u304B\u3089\u300C\u30AA\u30EA\u30B8\u30CA\u30EB (\u7121\u5909\u63DB)\u300D\u3078\u5909\u66F4(H.264/H.265\u3067\u3082\u9078\u629E\u53EF\u80FD\u306B\u306A\u308A\u8868\u8A18\u304C\u5B9F\u614B\u3068\u5408\u308F\u306A\u304F\u306A\u3063\u305F\u305F\u3081) \u30FB\u753B\u8CEA\u4E00\u89A7\u53D6\u5F97\u304C\u524D\u56DE\u5206\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u304A\u3089\u305A\u3001\u9332\u753B\u3092\u9023\u7D9A\u3067\u958B\u304F\u3068\u9045\u5EF6\u5FDC\u7B54\u304C\u5225\u756A\u7D44\u306E\u753B\u8CEA\u4E00\u89A7\u30FB\u9664\u5916\u60C5\u5831\u3092\u4E0A\u66F8\u304D\u3057\u3046\u308B\u554F\u984C\u3092\u4FEE\u6B63(detailFetchJob\u3068\u540C\u3058\u30AD\u30E3\u30F3\u30BB\u30EB\u65B9\u5F0F\u3067\u76F4\u5217\u5316\u3057\u3001onCleared\u3067\u3082\u7834\u68C4) \u30FB.gitignore\u306BIDE\u8A2D\u5B9A\u3068\u30D3\u30EB\u30C9\u751F\u6210\u7269\u306E\u9664\u5916\u3092\u8FFD\u52A0(.idea/markdown.xml\u3001tools/ts_synth_gen/build/\u3001tools/ts_index_builder/build/\u3001gradle/gradle-daemon-jvm.properties)\u201D; \u201Cfix \u30FB\u30B7\u30FC\u30F3\u30B5\u30FC\u30C1/L\u5B57\u30AF\u30ED\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u306E\u547C\u3073\u51FA\u3057\u304C\u904E\u53BB\u306E\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u3067\u6D88\u5931\u3057\u3066\u3044\u305F\u56DE\u5E30\u3092\u4FEE\u6B63(\u9332\u753B\u518D\u751F\u753B\u9762\u306B\u5FA9\u5143\u3002L\u5B57\u30AF\u30ED\u30C3\u30D7\u306F\u623B\u308B\u30AD\u30FC\u3067\u30D7\u30EC\u30A4\u30E4\u30FC\u3054\u3068\u7D42\u4E86\u3057\u3066\u3057\u307E\u3046\u5B9F\u5BB3\u304C\u3042\u3063\u305F\u305F\u3081\u3001\u30AD\u30FC\u5165\u529B\u306E\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u5224\u5B9A\u306B\u3082\u7D44\u307F\u8FBC\u307F) \u30FB\u9332\u753B\u30D5\u30A1\u30A4\u30EB\u6D88\u5931\u6642\u306E\u30A8\u30E9\u30FC\u691C\u51FA(HTTP 404\u5224\u5B9A)\u3092EDCB\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/KonomiTV original\u7D4C\u8DEF\u3060\u3051\u3067\u306A\u304F\u3001EDCB API\u7D4C\u7531\u7B49\u306EHTTP\u7D4C\u8DEF\u306B\u3082\u62E1\u5F35(Issue #89\u5BFE\u5FDC) \u30FB\u5B57\u5E55\u8868\u793A\u304CExoPlayer\u5185\u90E8\u306E\u4E0D\u9023\u7D9A\u30A4\u30D9\u30F3\u30C8\u306E\u305F\u3073\u306B\u7121\u6761\u4EF6\u3067\u3061\u3089\u3064\u304F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(DISCONTINUITY_REASON_INTERNAL\u4EE5\u5916\u3067\u306E\u307F\u30AF\u30EA\u30A2\u3059\u308B\u3088\u3046\u5909\u66F4) \u30FB\u30E2\u30C0\u30F3UI\u306E\u8A2D\u5B9A\u30D1\u30CD\u30EB\u304B\u3089L\u5B57\u30AF\u30ED\u30C3\u30D7\u3092\u6709\u52B9\u5316\u3057\u305F\u969B\u3001\u81EA\u5206\u81EA\u8EAB(isModernSettingsOpen)\u3067\u306F\u306A\u304F\u5225UI\u306E\u30D5\u30E9\u30B0\u3092\u9589\u3058\u3066\u3044\u305F\u305F\u3081\u8A2D\u5B9A\u30D1\u30CD\u30EB\u304C\u9589\u3058\u305A\u306BL\u5B57\u30AF\u30ED\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u3068\u4E8C\u91CD\u8868\u793A\u30FB\u30D5\u30A9\u30FC\u30AB\u30B9\u7AF6\u5408\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u4E0D\u8981\u306B\u306A\u3063\u305F\u30C7\u30C3\u30C9\u30B3\u30FC\u30C9\u3092\u524A\u9664(isLiveStream\u3001RecordViewModel\u306E\u91CD\u8907\u3057\u305F\u30B9\u30C8\u30EA\u30FC\u30E0\u7DAD\u6301\u51E6\u7406\u3001\u672A\u4F7F\u7528Composable(UpdateDialog/VideoToast/SettingToggleItem/DualDisplayMock)\u3001\u672A\u4F7F\u7528FocusRequester\u7B49)\u201D; \u201Cfix: \u30FB\u30A2\u30D7\u30EA\u5168\u4F53\u306E\u52D5\u4F5C\u7DE9\u6162\u5316\u3092\u8ABF\u67FB\u30FB\u6539\u5584(\u5C40\u30ED\u30B4\u30AD\u30E3\u30C3\u30B7\u30E5\u3001EPG\u63CF\u753B\u3001\u5B63\u7BC0\u6F14\u51FA\u3001\u8D77\u52D5\u6642\u306E\u30ED\u30B0/WorkManager/Cloudflare\u30A4\u30F3\u30BF\u30FC\u30BB\u30D7\u30BF\u6700\u9069\u5316) \u30FBPiP\u5FA9\u5E30\u6642\u306B\u30BF\u30D6\u2192\u518D\u751F\u4E2D\u30DC\u30BF\u30F3\u3078\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u901A\u904E\u3057\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBPiP\u4E2D\u306B\u8A2D\u5B9A\u753B\u9762\u3092\u958B\u304F\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u6D88\u5931\u3057\u623B\u308B\u30AD\u30FC\u9023\u6253\u3067\u30A2\u30D7\u30EA\u7D42\u4E86\u30C0\u30A4\u30A2\u30ED\u30B0\u304C\u51FA\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(PR#103\u7531\u6765) \u30FBEDCB\u306E\u9332\u753B\u518D\u751F\u65B9\u5F0F(\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/API\u7D4C\u7531)\u8A2D\u5B9A\u304C\u30E9\u30A4\u30D6\u8996\u8074\u306E\u753B\u8CEA\u53D6\u5F97\u306B\u3082\u8AA4\u3063\u3066\u9023\u52D5\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBEDCB\u306E\u753B\u8CEA\u53D6\u5F97\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u5373\u6642\u8868\u793A\u002B\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u66F4\u65B0\u65B9\u5F0F\u306B\u5909\u66F4\u3057\u3001\u8A2D\u5B9A\u753B\u9762\u306E\u518D\u751F\u8A2D\u5B9A\u30BF\u30D6\u3092\u958B\u304F\u305F\u3073\u306B\u753B\u8CEA\u4E00\u89A7\u3092\u518D\u53D6\u5F97\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u672A\u5BFE\u5FDC\u306EMirakurun\u5358\u4F53\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u9078\u629E\u80A2\u3092\u9078\u3079\u306A\u3044\u3088\u3046\u975E\u8868\u793A\u5316 \u30FB\u30BF\u30D6\u5207\u308A\u66FF\u3048\u6642\u306E\u56FA\u5B9Adelay(500-800ms)\u3092\u5B9F\u30C7\u30FC\u30BF\u306E\u6E96\u5099\u5B8C\u4E86\u691C\u77E5\u306B\u7F6E\u304D\u63DB\u3048\u3001\u521D\u56DE\u8D77\u52D5\u6642\u306B\u30DB\u30FC\u30E0\u306E\u30C7\u30FC\u30BF\u304C\u7A7A\u306E\u5834\u5408\u306E3\u79D2\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3078\u4E38\u3054\u3068\u843D\u3061\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30B3\u30FC\u30EB\u30C9\u30D6\u30FC\u30C8\u8A08\u6E2C\u7528\u306E\u8EFD\u91CF\u8A3A\u65AD\u30ED\u30B0(ColdStartDiag)\u3092\u8FFD\u52A0\u201D; \u201Cfix: \u30FBKonomiTV original\u753B\u8CEA(\u751FMPEG-TS\u76F4\u63A5\u518D\u751F)\u5BFE\u5FDC\u3092\u8FFD\u52A0(\u30E9\u30A4\u30D6/\u9332\u753B\u4E21\u5BFE\u5FDC\u3001\u753B\u8CEA\u30D4\u30C3\u30AB\u30FC\u30FBURL\u7D44\u307F\u7ACB\u3066\u30FBEDCB\u76F4\u63A5\u518D\u751F\u65B9\u5F0F\u306EDataSource\u30EB\u30FC\u30C6\u30A3\u30F3\u30B0) \u30FB\u9332\u753B/EDCB\u76F4\u63A5/Original\u518D\u751F\u3067\u5B57\u5E55\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(DirectSubtitlePayloadReaderFactory\u65B9\u5F0F\u3078\u7D71\u4E00\u3002id3conv.cpp\u304C\u751F\u6210\u3059\u308BID3 PES\u306Edata_alignment_indicator\u30D3\u30C3\u30C8\u4E0D\u5099\u3082\u4FEE\u6B63) \u30FBOriginal\u518D\u751F\u5F8C\u306B\u6B21\u306E\u756A\u7D44\u306E\u518D\u751F\u304C\u958B\u59CB\u3057\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(LaunchedEffect\u306E\u30AD\u30FC\u6F0F\u308C\u3001program/isEdcbDirect/cfAccessHeaders\u306Eremember{}\u5185\u30AF\u30ED\u30FC\u30B8\u30E3\u56FA\u5B9A\u3001filterStateRef\u306E\u756A\u7D44\u307E\u305F\u304E\u6B8B\u7559\u3092\u4FEE\u6B63) \u30FB\u9332\u753B\u30EA\u30B9\u30C8\u3067\u518D\u751F\u5F8C\u306B\u623B\u308B\u3068\u30B5\u30D6\u30E1\u30CB\u30E5\u30FC\u304C\u958B\u3044\u305F\u307E\u307E\u6B8B\u308A\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u52B9\u304B\u306A\u304F\u306A\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30DB\u30FC\u30E0\u753B\u9762\u306E\u30BF\u30D6\u79FB\u52D5\u304C\u7DE9\u6162\u306A\u554F\u984C\u3092\u4FEE\u6B63(refreshHomeData\u306E\u591A\u91CD\u8D77\u52D5\u9632\u6B62\u30FB\u9593\u5F15\u304D\u3001\u4E0D\u8981\u306AFlow\u8CFC\u8AAD\u306E\u524A\u9664\u3001\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u518D\u751F\u4E2D\u306E\u30DD\u30FC\u30EA\u30F3\u30B0\u505C\u6B62) \u30FB\u4E8C\u753B\u9762\u30E9\u30A4\u30D6\u8996\u8074\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u6F0F\u308C\u30FB\u30AF\u30ED\u30C3\u30D7\u5D29\u308C\u3092\u4FEE\u6B63 \u30FB\u30E9\u30DC\u8A2D\u5B9A\u306E\u4E8C\u753B\u9762\u5236\u9650(labAllowMirakurunDual)\u3092original\u753B\u8CEA\u306B\u3082\u4E00\u8CAB\u9069\u7528\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/VideoPlayerViewModel.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"982409e3492d8ace2b7a157f5003abcbc2045d343169ea6326885089851fcb27"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationLiveRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationLiveRepository.kt changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is EpgStationLiveRepository.getChannelLogoUrl at line 265), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEPGStation\u306E\u624B\u52D5\u4E88\u7D04\u3092\u66F4\u65B0\u3059\u308B\u3068\u4FDD\u5B58\u5148\u30FB\u30A8\u30F3\u30B3\u30FC\u30C9\u8A2D\u5B9A\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(GET /api/reserves/{id}\u3067\u8AAD\u307F\u76F4\u3057\u3066\u9001\u308A\u8FD4\u3059read-modify-write\u65B9\u5F0F\u306B\u5909\u66F4\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u73FE\u5B58\u3057\u306A\u3044\u30A8\u30F3\u30B3\u30FC\u30C9\u30E2\u30FC\u30C9\u306E\u67A0\u306F\u5916\u3057\u3066\u9001\u308B) \u30FBEPGStation\u306E\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u66F4\u65B0\u3067\u691C\u7D22\u5BFE\u8C61\u671F\u9593(searchPeriods)\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3068\u3001\u653E\u9001\u6CE2\u30D5\u30E9\u30B0(GR/BS/NW*\u7B49)\u6307\u5B9A\u306E\u30EB\u30FC\u30EB\u304C\u7DE8\u96C6\u306E\u305F\u3073\u306B\u500B\u5225\u30C1\u30E3\u30F3\u30CD\u30EB\u6307\u5B9A\u3078\u5C55\u958B\u3055\u308C\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u91CD\u8907\u56DE\u907F\u3092\u4F7F\u308F\u306A\u3044\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u304CKomorebi\u304B\u3089\u8FFD\u52A0\u30FB\u66F4\u65B0\u3067\u304D\u306A\u3044(HTTP 500)\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(avoidDuplicate=false\u6642\u306BperiodToAvoidDuplicate\u3092\u9001\u3089\u306A\u3044) \u30FB\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u6709\u52B9/\u7121\u52B9\u306E\u5207\u308A\u66FF\u3048\u304CEPGStation\u3078\u53CD\u6620\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u6642\u523B\u6307\u5B9A\u30EB\u30FC\u30EB\u306E\u66F4\u65B0\u3067\u30AD\u30FC\u30EF\u30FC\u30C9\u304C\u7A7A\u306B\u306A\u308A\u62D2\u5426\u3055\u308C\u308B\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u65B0\u5F62\u5F0F(streamProfiles)\u3067\u914D\u4FE1\u8A2D\u5B9A\u3057\u3066\u3044\u308BEPGStation\u3067\u753B\u8CEA\u4E00\u89A7\u304C\u30B5\u30FC\u30D0\u30FC\u8A2D\u5B9A\u304B\u3089\u69CB\u7BC9\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(streamProfiles\u3092\u512A\u5148\u3057\u3001\u7121\u3044\u65E7\u30B5\u30FC\u30D0\u30FC\u306E\u307FstreamConfig\u3092\u4F7F\u7528) \u30FB\u30E9\u30A4\u30D6\u518D\u751F\u3092\u958B\u304F\u305F\u3073\u306B\u4FDD\u5B58\u6E08\u307F\u306E\u30E9\u30A4\u30D6\u753B\u8CEA\u304C\u5225\u30BD\u30FC\u30B9\u5411\u3051\u306E\u753B\u8CEA\u4E00\u89A7\u3067\u7167\u5408\u3055\u308C\u3001\u5148\u982D\u306E\u753B\u8CEA\u3067\u4E0A\u66F8\u304D\u4FDD\u5B58\u3055\u308C\u308B\u7AF6\u5408\u3092\u4FEE\u6B63(\u753B\u8CEA\u53D6\u5F97\u30B8\u30E7\u30D6\u306E\u53D6\u308A\u6D88\u3057\u3068\u3001\u73FE\u5728\u30BD\u30FC\u30B9\u5411\u3051\u306E\u4E00\u89A7\u306E\u307F\u3067\u7167\u5408) \u30FBEPGStation\u306E\u30ED\u30B0\u30A4\u30F3\u8A8D\u8A3C(auth.enabled: true)\u3067\u66F8\u304D\u8FBC\u307F\u7CFBAPI\u3084\u30B9\u30C8\u30EA\u30FC\u30E0keep\u304C401\u306B\u306A\u3063\u305F\u5834\u5408\u306B\u539F\u56E0\u3092\u793A\u3059\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30ED\u30B0\u3092\u8FFD\u52A0\u3057\u3001README\u306B\u65E2\u77E5\u306E\u5236\u9650\u3068\u3057\u3066\u8FFD\u8A18\u201D; \u201Cfix: \u30FB\u30EA\u30EA\u30FC\u30B9\u524D\u30EC\u30D3\u30E5\u30FC\u3067\u691C\u51FA\u3057\u305F\u30EA\u30B0\u30EC\u30C3\u30B7\u30E7\u30F3\u30FB\u65E2\u5B58\u30D0\u30B0\u3092\u4FEE\u6B63(EsRuleEncodeOption\u578B\u4E0D\u4E00\u81F4\u3001EPGStation\u30E9\u30A4\u30D6\u753B\u8CEA\u306ELIVE_QUALITY\u8AA4\u4E0A\u66F8\u304D\u3001streamId=0\u8AA4\u5224\u5B9A\u3001\u30A8\u30E9\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u82F1\u8A9E\u5316\u3001\u4ED6)\u201D; \u201Cfix: \u30FBEPGStation\u30E9\u30A4\u30D6\u914D\u4FE1\u306E\u753B\u8CEA\u30EA\u30B9\u30C8\u672A\u69CB\u7BC9\u30FBHLS\u5F37\u5236\u505C\u6B62\u30FB\u756A\u7D44\u8868\u904E\u5270\u53D6\u5F97\u30FB\u30ED\u30B4\u518D\u8A66\u884C\u3092\u4FEE\u6B63(EP-1,2,6,10a-c)\u201D; \u201Cfix: EPGStation\u3067\u5B9F\u6CC1\u306E\u52E2\u3044\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u554F\u984C\u3092\u4FEE\u6B63\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationLiveRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationLiveRepository.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73aeb3bddcd44e2b198bc3b6042491ed90b360319f9def2a05a82438cd2bd70"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationReserveRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationReserveRepository.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is EpgStationReserveRepository.mapRuleBody at line 261), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEPGStation\u306E\u624B\u52D5\u4E88\u7D04\u3092\u66F4\u65B0\u3059\u308B\u3068\u4FDD\u5B58\u5148\u30FB\u30A8\u30F3\u30B3\u30FC\u30C9\u8A2D\u5B9A\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(GET /api/reserves/{id}\u3067\u8AAD\u307F\u76F4\u3057\u3066\u9001\u308A\u8FD4\u3059read-modify-write\u65B9\u5F0F\u306B\u5909\u66F4\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u73FE\u5B58\u3057\u306A\u3044\u30A8\u30F3\u30B3\u30FC\u30C9\u30E2\u30FC\u30C9\u306E\u67A0\u306F\u5916\u3057\u3066\u9001\u308B) \u30FBEPGStation\u306E\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u66F4\u65B0\u3067\u691C\u7D22\u5BFE\u8C61\u671F\u9593(searchPeriods)\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3068\u3001\u653E\u9001\u6CE2\u30D5\u30E9\u30B0(GR/BS/NW*\u7B49)\u6307\u5B9A\u306E\u30EB\u30FC\u30EB\u304C\u7DE8\u96C6\u306E\u305F\u3073\u306B\u500B\u5225\u30C1\u30E3\u30F3\u30CD\u30EB\u6307\u5B9A\u3078\u5C55\u958B\u3055\u308C\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u91CD\u8907\u56DE\u907F\u3092\u4F7F\u308F\u306A\u3044\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u304CKomorebi\u304B\u3089\u8FFD\u52A0\u30FB\u66F4\u65B0\u3067\u304D\u306A\u3044(HTTP 500)\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(avoidDuplicate=false\u6642\u306BperiodToAvoidDuplicate\u3092\u9001\u3089\u306A\u3044) \u30FB\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u6709\u52B9/\u7121\u52B9\u306E\u5207\u308A\u66FF\u3048\u304CEPGStation\u3078\u53CD\u6620\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u6642\u523B\u6307\u5B9A\u30EB\u30FC\u30EB\u306E\u66F4\u65B0\u3067\u30AD\u30FC\u30EF\u30FC\u30C9\u304C\u7A7A\u306B\u306A\u308A\u62D2\u5426\u3055\u308C\u308B\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u65B0\u5F62\u5F0F(streamProfiles)\u3067\u914D\u4FE1\u8A2D\u5B9A\u3057\u3066\u3044\u308BEPGStation\u3067\u753B\u8CEA\u4E00\u89A7\u304C\u30B5\u30FC\u30D0\u30FC\u8A2D\u5B9A\u304B\u3089\u69CB\u7BC9\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(streamProfiles\u3092\u512A\u5148\u3057\u3001\u7121\u3044\u65E7\u30B5\u30FC\u30D0\u30FC\u306E\u307FstreamConfig\u3092\u4F7F\u7528) \u30FB\u30E9\u30A4\u30D6\u518D\u751F\u3092\u958B\u304F\u305F\u3073\u306B\u4FDD\u5B58\u6E08\u307F\u306E\u30E9\u30A4\u30D6\u753B\u8CEA\u304C\u5225\u30BD\u30FC\u30B9\u5411\u3051\u306E\u753B\u8CEA\u4E00\u89A7\u3067\u7167\u5408\u3055\u308C\u3001\u5148\u982D\u306E\u753B\u8CEA\u3067\u4E0A\u66F8\u304D\u4FDD\u5B58\u3055\u308C\u308B\u7AF6\u5408\u3092\u4FEE\u6B63(\u753B\u8CEA\u53D6\u5F97\u30B8\u30E7\u30D6\u306E\u53D6\u308A\u6D88\u3057\u3068\u3001\u73FE\u5728\u30BD\u30FC\u30B9\u5411\u3051\u306E\u4E00\u89A7\u306E\u307F\u3067\u7167\u5408) \u30FBEPGStation\u306E\u30ED\u30B0\u30A4\u30F3\u8A8D\u8A3C(auth.enabled: true)\u3067\u66F8\u304D\u8FBC\u307F\u7CFBAPI\u3084\u30B9\u30C8\u30EA\u30FC\u30E0keep\u304C401\u306B\u306A\u3063\u305F\u5834\u5408\u306B\u539F\u56E0\u3092\u793A\u3059\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30ED\u30B0\u3092\u8FFD\u52A0\u3057\u3001README\u306B\u65E2\u77E5\u306E\u5236\u9650\u3068\u3057\u3066\u8FFD\u8A18\u201D; \u201Cfix: \u30FB\u30EA\u30EA\u30FC\u30B9\u524D\u30EC\u30D3\u30E5\u30FC\u3067\u691C\u51FA\u3057\u305F\u30EA\u30B0\u30EC\u30C3\u30B7\u30E7\u30F3\u30FB\u65E2\u5B58\u30D0\u30B0\u3092\u4FEE\u6B63(EsRuleEncodeOption\u578B\u4E0D\u4E00\u81F4\u3001EPGStation\u30E9\u30A4\u30D6\u753B\u8CEA\u306ELIVE_QUALITY\u8AA4\u4E0A\u66F8\u304D\u3001streamId=0\u8AA4\u5224\u5B9A\u3001\u30A8\u30E9\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u82F1\u8A9E\u5316\u3001\u4ED6)\u201D; \u201Cfix: \u30FBEPGStation\u9332\u753B\u306EMIME\u8AA4\u5224\u5B9A\u30FB\u753B\u8CEAmode\u885D\u7A81\u30FB\u81EA\u52D5\u4E88\u7D04\u30EB\u30FC\u30EB\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u6D88\u5931\u3092\u4FEE\u6B63(EP-3,4,5)\u201D; \u201Cfix: EPGStation\u306E\u5B9F\u6CC1\u518D\u751F\u3068\u9332\u753B\u4E88\u7D04\u3092\u4FEE\u6B63\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationReserveRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationReserveRepository.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f7cb97c8b0af9006884d53264e528407f53a398794d9b15ee593675e985bf2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt: app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is RecordViewModel.rebuildEpgSeries at line 550), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix \u30FB\u30B7\u30FC\u30F3\u30B5\u30FC\u30C1/L\u5B57\u30AF\u30ED\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u306E\u547C\u3073\u51FA\u3057\u304C\u904E\u53BB\u306E\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u3067\u6D88\u5931\u3057\u3066\u3044\u305F\u56DE\u5E30\u3092\u4FEE\u6B63(\u9332\u753B\u518D\u751F\u753B\u9762\u306B\u5FA9\u5143\u3002L\u5B57\u30AF\u30ED\u30C3\u30D7\u306F\u623B\u308B\u30AD\u30FC\u3067\u30D7\u30EC\u30A4\u30E4\u30FC\u3054\u3068\u7D42\u4E86\u3057\u3066\u3057\u307E\u3046\u5B9F\u5BB3\u304C\u3042\u3063\u305F\u305F\u3081\u3001\u30AD\u30FC\u5165\u529B\u306E\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u5224\u5B9A\u306B\u3082\u7D44\u307F\u8FBC\u307F) \u30FB\u9332\u753B\u30D5\u30A1\u30A4\u30EB\u6D88\u5931\u6642\u306E\u30A8\u30E9\u30FC\u691C\u51FA(HTTP 404\u5224\u5B9A)\u3092EDCB\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/KonomiTV original\u7D4C\u8DEF\u3060\u3051\u3067\u306A\u304F\u3001EDCB API\u7D4C\u7531\u7B49\u306EHTTP\u7D4C\u8DEF\u306B\u3082\u62E1\u5F35(Issue #89\u5BFE\u5FDC) \u30FB\u5B57\u5E55\u8868\u793A\u304CExoPlayer\u5185\u90E8\u306E\u4E0D\u9023\u7D9A\u30A4\u30D9\u30F3\u30C8\u306E\u305F\u3073\u306B\u7121\u6761\u4EF6\u3067\u3061\u3089\u3064\u304F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(DISCONTINUITY_REASON_INTERNAL\u4EE5\u5916\u3067\u306E\u307F\u30AF\u30EA\u30A2\u3059\u308B\u3088\u3046\u5909\u66F4) \u30FB\u30E2\u30C0\u30F3UI\u306E\u8A2D\u5B9A\u30D1\u30CD\u30EB\u304B\u3089L\u5B57\u30AF\u30ED\u30C3\u30D7\u3092\u6709\u52B9\u5316\u3057\u305F\u969B\u3001\u81EA\u5206\u81EA\u8EAB(isModernSettingsOpen)\u3067\u306F\u306A\u304F\u5225UI\u306E\u30D5\u30E9\u30B0\u3092\u9589\u3058\u3066\u3044\u305F\u305F\u3081\u8A2D\u5B9A\u30D1\u30CD\u30EB\u304C\u9589\u3058\u305A\u306BL\u5B57\u30AF\u30ED\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u3068\u4E8C\u91CD\u8868\u793A\u30FB\u30D5\u30A9\u30FC\u30AB\u30B9\u7AF6\u5408\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u4E0D\u8981\u306B\u306A\u3063\u305F\u30C7\u30C3\u30C9\u30B3\u30FC\u30C9\u3092\u524A\u9664(isLiveStream\u3001RecordViewModel\u306E\u91CD\u8907\u3057\u305F\u30B9\u30C8\u30EA\u30FC\u30E0\u7DAD\u6301\u51E6\u7406\u3001\u672A\u4F7F\u7528Composable(UpdateDialog/VideoToast/SettingToggleItem/DualDisplayMock)\u3001\u672A\u4F7F\u7528FocusRequester\u7B49)\u201D; \u201Cfix: \u30FB\u30A2\u30D7\u30EA\u5168\u4F53\u306E\u52D5\u4F5C\u7DE9\u6162\u5316\u3092\u8ABF\u67FB\u30FB\u6539\u5584(\u5C40\u30ED\u30B4\u30AD\u30E3\u30C3\u30B7\u30E5\u3001EPG\u63CF\u753B\u3001\u5B63\u7BC0\u6F14\u51FA\u3001\u8D77\u52D5\u6642\u306E\u30ED\u30B0/WorkManager/Cloudflare\u30A4\u30F3\u30BF\u30FC\u30BB\u30D7\u30BF\u6700\u9069\u5316) \u30FBPiP\u5FA9\u5E30\u6642\u306B\u30BF\u30D6\u2192\u518D\u751F\u4E2D\u30DC\u30BF\u30F3\u3078\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u901A\u904E\u3057\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBPiP\u4E2D\u306B\u8A2D\u5B9A\u753B\u9762\u3092\u958B\u304F\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u6D88\u5931\u3057\u623B\u308B\u30AD\u30FC\u9023\u6253\u3067\u30A2\u30D7\u30EA\u7D42\u4E86\u30C0\u30A4\u30A2\u30ED\u30B0\u304C\u51FA\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(PR#103\u7531\u6765) \u30FBEDCB\u306E\u9332\u753B\u518D\u751F\u65B9\u5F0F(\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/API\u7D4C\u7531)\u8A2D\u5B9A\u304C\u30E9\u30A4\u30D6\u8996\u8074\u306E\u753B\u8CEA\u53D6\u5F97\u306B\u3082\u8AA4\u3063\u3066\u9023\u52D5\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBEDCB\u306E\u753B\u8CEA\u53D6\u5F97\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u5373\u6642\u8868\u793A\u002B\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u66F4\u65B0\u65B9\u5F0F\u306B\u5909\u66F4\u3057\u3001\u8A2D\u5B9A\u753B\u9762\u306E\u518D\u751F\u8A2D\u5B9A\u30BF\u30D6\u3092\u958B\u304F\u305F\u3073\u306B\u753B\u8CEA\u4E00\u89A7\u3092\u518D\u53D6\u5F97\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u672A\u5BFE\u5FDC\u306EMirakurun\u5358\u4F53\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u9078\u629E\u80A2\u3092\u9078\u3079\u306A\u3044\u3088\u3046\u975E\u8868\u793A\u5316 \u30FB\u30BF\u30D6\u5207\u308A\u66FF\u3048\u6642\u306E\u56FA\u5B9Adelay(500-800ms)\u3092\u5B9F\u30C7\u30FC\u30BF\u306E\u6E96\u5099\u5B8C\u4E86\u691C\u77E5\u306B\u7F6E\u304D\u63DB\u3048\u3001\u521D\u56DE\u8D77\u52D5\u6642\u306B\u30DB\u30FC\u30E0\u306E\u30C7\u30FC\u30BF\u304C\u7A7A\u306E\u5834\u5408\u306E3\u79D2\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3078\u4E38\u3054\u3068\u843D\u3061\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30B3\u30FC\u30EB\u30C9\u30D6\u30FC\u30C8\u8A08\u6E2C\u7528\u306E\u8EFD\u91CF\u8A3A\u65AD\u30ED\u30B0(ColdStartDiag)\u3092\u8FFD\u52A0\u201D; \u201Cfix: PR\u30EC\u30D3\u30E5\u30FC\u6307\u6458\u306E\u4FEE\u6B63 \u30FBformatBaseUrl: \u30B9\u30AD\u30FC\u30E0\u4ED8\u304D\u30DB\u30B9\u30C8\u3067\u3082\u30DD\u30FC\u30C8\u6B04\u306E\u8A2D\u5B9A\u3092\u53CD\u6620\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FBVideoPlayerState: KEYCODE_MEDIA_PLAY / PAUSE \u3092\u30C8\u30B0\u30EB\u3067\u306F\u306A\u304F\u500B\u5225\u52D5\u4F5C\u306B\u5206\u96E2 \u30FBRecordSyncEngine: \u4F4ERAM\u7AEF\u672B\u3067\u3082\u660E\u793A\u7684\u306A\u5B8C\u5168\u540C\u671F\u6642\u306F\u5B64\u5150\u30EC\u30B3\u30FC\u30C9\u3092\u524A\u9664 \u30FBKonomiRepository / EdcbRecordRepository: getRecordedPrograms \u306E limit \u3092\u53CD\u6620 \u30FBPlayerControls: \u9577\u62BC\u3057\u4E2D\u306E\u30C1\u30E3\u30D7\u30BF\u30FC\u30B9\u30AD\u30C3\u30D7\u3092\u4E00\u5B9A\u9593\u9694\u3067\u9023\u7D9A\u767A\u706B \u30FBEpgStationSeriesDictionary: \u4E00\u6642\u7684\u306A\u901A\u4FE1\u30A8\u30E9\u30FC\u306B\u3088\u308B\u7121\u52B9\u5316\u309210\u5206\u3067\u81EA\u52D5\u5FA9\u5E30 \u30FBRecordViewModel: buildEpgSeriesAndChannelMaps \u306B try/finally \u3092\u8FFD\u52A0\u201D; \u201CFix: EPGStation\u306E\u30E9\u30A4\u30D6\u518D\u751F\u3068\u30B7\u30EA\u30FC\u30BA\u30BD\u30FC\u30C8\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/RecordViewModel.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf734cb89900e2f55a288b64a8872117c200ea12d79c8a5d9ec3e77612ed814"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/SettingsRepository.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/SettingsRepository.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SettingsRepository.getStreamSourceUrl at line 244), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEDCB EPG\u6642\u523B\u30D5\u30A3\u30EB\u30BF\u306EJST/UTC\u5909\u63DB\u305A\u308C\u30FB\u30E9\u30A4\u30D6\u518D\u751F\u30A8\u30E9\u30FC\u63E1\u308A\u6F70\u3057\u30FBURL\u7D44\u307F\u7ACB\u3066\u30FB\u30C7\u30C3\u30C9\u30B3\u30FC\u30C9\u30FB\u30C1\u30E3\u30D7\u30BF\u30FC\u8AA4\u53D6\u5F97\u3092\u4FEE\u6B63\u201D; \u201Cfix: \u30FBKonomiTV\u306EOriginal\u753B\u8CEA(\u30E9\u30A4\u30D6)\u304C\u30D0\u30FC\u30B8\u30E7\u30F3\u975E\u5BFE\u5FDC\u30B5\u30FC\u30D0\u30FC\u3067\u518D\u751F\u5931\u6557\u3059\u308B\u4E0D\u5177\u5408\u306B\u5BFE\u51E6\u201D; \u201Cfix: \u30FB\u30A2\u30D7\u30EA\u5168\u4F53\u306E\u52D5\u4F5C\u7DE9\u6162\u5316\u3092\u8ABF\u67FB\u30FB\u6539\u5584(\u5C40\u30ED\u30B4\u30AD\u30E3\u30C3\u30B7\u30E5\u3001EPG\u63CF\u753B\u3001\u5B63\u7BC0\u6F14\u51FA\u3001\u8D77\u52D5\u6642\u306E\u30ED\u30B0/WorkManager/Cloudflare\u30A4\u30F3\u30BF\u30FC\u30BB\u30D7\u30BF\u6700\u9069\u5316) \u30FBPiP\u5FA9\u5E30\u6642\u306B\u30BF\u30D6\u2192\u518D\u751F\u4E2D\u30DC\u30BF\u30F3\u3078\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u901A\u904E\u3057\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBPiP\u4E2D\u306B\u8A2D\u5B9A\u753B\u9762\u3092\u958B\u304F\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u6D88\u5931\u3057\u623B\u308B\u30AD\u30FC\u9023\u6253\u3067\u30A2\u30D7\u30EA\u7D42\u4E86\u30C0\u30A4\u30A2\u30ED\u30B0\u304C\u51FA\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(PR#103\u7531\u6765) \u30FBEDCB\u306E\u9332\u753B\u518D\u751F\u65B9\u5F0F(\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/API\u7D4C\u7531)\u8A2D\u5B9A\u304C\u30E9\u30A4\u30D6\u8996\u8074\u306E\u753B\u8CEA\u53D6\u5F97\u306B\u3082\u8AA4\u3063\u3066\u9023\u52D5\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBEDCB\u306E\u753B\u8CEA\u53D6\u5F97\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u5373\u6642\u8868\u793A\u002B\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u66F4\u65B0\u65B9\u5F0F\u306B\u5909\u66F4\u3057\u3001\u8A2D\u5B9A\u753B\u9762\u306E\u518D\u751F\u8A2D\u5B9A\u30BF\u30D6\u3092\u958B\u304F\u305F\u3073\u306B\u753B\u8CEA\u4E00\u89A7\u3092\u518D\u53D6\u5F97\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u672A\u5BFE\u5FDC\u306EMirakurun\u5358\u4F53\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u9078\u629E\u80A2\u3092\u9078\u3079\u306A\u3044\u3088\u3046\u975E\u8868\u793A\u5316 \u30FB\u30BF\u30D6\u5207\u308A\u66FF\u3048\u6642\u306E\u56FA\u5B9Adelay(500-800ms)\u3092\u5B9F\u30C7\u30FC\u30BF\u306E\u6E96\u5099\u5B8C\u4E86\u691C\u77E5\u306B\u7F6E\u304D\u63DB\u3048\u3001\u521D\u56DE\u8D77\u52D5\u6642\u306B\u30DB\u30FC\u30E0\u306E\u30C7\u30FC\u30BF\u304C\u7A7A\u306E\u5834\u5408\u306E3\u79D2\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3078\u4E38\u3054\u3068\u843D\u3061\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30B3\u30FC\u30EB\u30C9\u30D6\u30FC\u30C8\u8A08\u6E2C\u7528\u306E\u8EFD\u91CF\u8A3A\u65AD\u30ED\u30B0(ColdStartDiag)\u3092\u8FFD\u52A0\u201D; \u201CFix: EPGStation\u306EHTTP/HTTPS\u63A5\u7D9A\u5148\u3092\u6B63\u3057\u304F\u51E6\u7406\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/SettingsRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/SettingsRepository.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0571f7f752f4fc73099746bb670367148bc2acdc5e338554801207e0b8940f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt: app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is NetworkModule.provideOkHttpClient at line 52), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FB\u6700\u7D42\u691C\u8A3C\u3067\u691C\u51FA\u3057\u305F\u8EFD\u5FAE\u306A\u9000\u884C\u3092\u4FEE\u6B63(basePath\u5883\u754C\u30C1\u30A7\u30C3\u30AF\u3001SSE\u7531\u6765HTTP\u30A8\u30E9\u30FC\u306E\u8868\u793A\u3001LiveJikkyoManager\u306EURL\u7D44\u307F\u7ACB\u3066)\u201D; \u201Cfix: \u30FB\u30EA\u30EA\u30FC\u30B9\u524D\u30EC\u30D3\u30E5\u30FC\u3067\u691C\u51FA\u3057\u305F\u30EA\u30B0\u30EC\u30C3\u30B7\u30E7\u30F3\u30FB\u65E2\u5B58\u30D0\u30B0\u3092\u4FEE\u6B63(EsRuleEncodeOption\u578B\u4E0D\u4E00\u81F4\u3001EPGStation\u30E9\u30A4\u30D6\u753B\u8CEA\u306ELIVE_QUALITY\u8AA4\u4E0A\u66F8\u304D\u3001streamId=0\u8AA4\u5224\u5B9A\u3001\u30A8\u30E9\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u82F1\u8A9E\u5316\u3001\u4ED6)\u201D; \u201Cfix: \u30FB\u30EA\u30D0\u30FC\u30B9\u30D7\u30ED\u30AD\u30B7\u306E\u30B5\u30D6\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u904B\u7528\u3067\u30D1\u30B9\u304C\u5931\u308F\u308C\u308B\u4E0D\u5177\u5408\u3001\u8A2D\u5B9A\u753B\u9762\u306EEPGStation\u30C7\u30D5\u30A9\u30EB\u30C8\u753B\u8CEA\u3001\u5230\u9054\u4E0D\u80FD\u306A\u4F5C\u54C1\u8F9E\u66F8\u30C7\u30C3\u30C9\u30B3\u30FC\u30C9\u3092\u4FEE\u6B63(EP-7,8,9)\u201D; \u201Cfix: \u30FB\u30A2\u30D7\u30EA\u5168\u4F53\u306E\u52D5\u4F5C\u7DE9\u6162\u5316\u3092\u8ABF\u67FB\u30FB\u6539\u5584(\u5C40\u30ED\u30B4\u30AD\u30E3\u30C3\u30B7\u30E5\u3001EPG\u63CF\u753B\u3001\u5B63\u7BC0\u6F14\u51FA\u3001\u8D77\u52D5\u6642\u306E\u30ED\u30B0/WorkManager/Cloudflare\u30A4\u30F3\u30BF\u30FC\u30BB\u30D7\u30BF\u6700\u9069\u5316) \u30FBPiP\u5FA9\u5E30\u6642\u306B\u30BF\u30D6\u2192\u518D\u751F\u4E2D\u30DC\u30BF\u30F3\u3078\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u901A\u904E\u3057\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBPiP\u4E2D\u306B\u8A2D\u5B9A\u753B\u9762\u3092\u958B\u304F\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u6D88\u5931\u3057\u623B\u308B\u30AD\u30FC\u9023\u6253\u3067\u30A2\u30D7\u30EA\u7D42\u4E86\u30C0\u30A4\u30A2\u30ED\u30B0\u304C\u51FA\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(PR#103\u7531\u6765) \u30FBEDCB\u306E\u9332\u753B\u518D\u751F\u65B9\u5F0F(\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/API\u7D4C\u7531)\u8A2D\u5B9A\u304C\u30E9\u30A4\u30D6\u8996\u8074\u306E\u753B\u8CEA\u53D6\u5F97\u306B\u3082\u8AA4\u3063\u3066\u9023\u52D5\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBEDCB\u306E\u753B\u8CEA\u53D6\u5F97\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u5373\u6642\u8868\u793A\u002B\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u66F4\u65B0\u65B9\u5F0F\u306B\u5909\u66F4\u3057\u3001\u8A2D\u5B9A\u753B\u9762\u306E\u518D\u751F\u8A2D\u5B9A\u30BF\u30D6\u3092\u958B\u304F\u305F\u3073\u306B\u753B\u8CEA\u4E00\u89A7\u3092\u518D\u53D6\u5F97\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u672A\u5BFE\u5FDC\u306EMirakurun\u5358\u4F53\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u9078\u629E\u80A2\u3092\u9078\u3079\u306A\u3044\u3088\u3046\u975E\u8868\u793A\u5316 \u30FB\u30BF\u30D6\u5207\u308A\u66FF\u3048\u6642\u306E\u56FA\u5B9Adelay(500-800ms)\u3092\u5B9F\u30C7\u30FC\u30BF\u306E\u6E96\u5099\u5B8C\u4E86\u691C\u77E5\u306B\u7F6E\u304D\u63DB\u3048\u3001\u521D\u56DE\u8D77\u52D5\u6642\u306B\u30DB\u30FC\u30E0\u306E\u30C7\u30FC\u30BF\u304C\u7A7A\u306E\u5834\u5408\u306E3\u79D2\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3078\u4E38\u3054\u3068\u843D\u3061\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30B3\u30FC\u30EB\u30C9\u30D6\u30FC\u30C8\u8A08\u6E2C\u7528\u306E\u8EFD\u91CF\u8A3A\u65AD\u30ED\u30B0(ColdStartDiag)\u3092\u8FFD\u52A0\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/di/NetworkModule.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc63440650579765f978c7834c9840a13dd8152781f763453806f1e2b0b36250"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationDataMapper.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationDataMapper.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is EpgStationDataMapper.mapDetail at line 107), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEPGStation\u306E\u624B\u52D5\u4E88\u7D04\u3092\u66F4\u65B0\u3059\u308B\u3068\u4FDD\u5B58\u5148\u30FB\u30A8\u30F3\u30B3\u30FC\u30C9\u8A2D\u5B9A\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(GET /api/reserves/{id}\u3067\u8AAD\u307F\u76F4\u3057\u3066\u9001\u308A\u8FD4\u3059read-modify-write\u65B9\u5F0F\u306B\u5909\u66F4\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u73FE\u5B58\u3057\u306A\u3044\u30A8\u30F3\u30B3\u30FC\u30C9\u30E2\u30FC\u30C9\u306E\u67A0\u306F\u5916\u3057\u3066\u9001\u308B) \u30FBEPGStation\u306E\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u66F4\u65B0\u3067\u691C\u7D22\u5BFE\u8C61\u671F\u9593(searchPeriods)\u304C\u6D88\u3048\u308B\u4E0D\u5177\u5408\u3068\u3001\u653E\u9001\u6CE2\u30D5\u30E9\u30B0(GR/BS/NW*\u7B49)\u6307\u5B9A\u306E\u30EB\u30FC\u30EB\u304C\u7DE8\u96C6\u306E\u305F\u3073\u306B\u500B\u5225\u30C1\u30E3\u30F3\u30CD\u30EB\u6307\u5B9A\u3078\u5C55\u958B\u3055\u308C\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u91CD\u8907\u56DE\u907F\u3092\u4F7F\u308F\u306A\u3044\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u304CKomorebi\u304B\u3089\u8FFD\u52A0\u30FB\u66F4\u65B0\u3067\u304D\u306A\u3044(HTTP 500)\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(avoidDuplicate=false\u6642\u306BperiodToAvoidDuplicate\u3092\u9001\u3089\u306A\u3044) \u30FB\u81EA\u52D5\u4E88\u7D04\u6761\u4EF6\u306E\u6709\u52B9/\u7121\u52B9\u306E\u5207\u308A\u66FF\u3048\u304CEPGStation\u3078\u53CD\u6620\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u6642\u523B\u6307\u5B9A\u30EB\u30FC\u30EB\u306E\u66F4\u65B0\u3067\u30AD\u30FC\u30EF\u30FC\u30C9\u304C\u7A7A\u306B\u306A\u308A\u62D2\u5426\u3055\u308C\u308B\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u65B0\u5F62\u5F0F(streamProfiles)\u3067\u914D\u4FE1\u8A2D\u5B9A\u3057\u3066\u3044\u308BEPGStation\u3067\u753B\u8CEA\u4E00\u89A7\u304C\u30B5\u30FC\u30D0\u30FC\u8A2D\u5B9A\u304B\u3089\u69CB\u7BC9\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(streamProfiles\u3092\u512A\u5148\u3057\u3001\u7121\u3044\u65E7\u30B5\u30FC\u30D0\u30FC\u306E\u307FstreamConfig\u3092\u4F7F\u7528) \u30FB\u30E9\u30A4\u30D6\u518D\u751F\u3092\u958B\u304F\u305F\u3073\u306B\u4FDD\u5B58\u6E08\u307F\u306E\u30E9\u30A4\u30D6\u753B\u8CEA\u304C\u5225\u30BD\u30FC\u30B9\u5411\u3051\u306E\u753B\u8CEA\u4E00\u89A7\u3067\u7167\u5408\u3055\u308C\u3001\u5148\u982D\u306E\u753B\u8CEA\u3067\u4E0A\u66F8\u304D\u4FDD\u5B58\u3055\u308C\u308B\u7AF6\u5408\u3092\u4FEE\u6B63(\u753B\u8CEA\u53D6\u5F97\u30B8\u30E7\u30D6\u306E\u53D6\u308A\u6D88\u3057\u3068\u3001\u73FE\u5728\u30BD\u30FC\u30B9\u5411\u3051\u306E\u4E00\u89A7\u306E\u307F\u3067\u7167\u5408) \u30FBEPGStation\u306E\u30ED\u30B0\u30A4\u30F3\u8A8D\u8A3C(auth.enabled: true)\u3067\u66F8\u304D\u8FBC\u307F\u7CFBAPI\u3084\u30B9\u30C8\u30EA\u30FC\u30E0keep\u304C401\u306B\u306A\u3063\u305F\u5834\u5408\u306B\u539F\u56E0\u3092\u793A\u3059\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30ED\u30B0\u3092\u8FFD\u52A0\u3057\u3001README\u306B\u65E2\u77E5\u306E\u5236\u9650\u3068\u3057\u3066\u8FFD\u8A18\u201D; \u201Cfix: EPGStation\u3067\u5B9F\u6CC1\u306E\u52E2\u3044\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u554F\u984C\u3092\u4FEE\u6B63\u201D; \u201Cfix: \u30FBEPGStation\u306E\u4ED6\u5730\u57DF\u5730\u4E0A\u6CE2(NW1\u301CNW40)\u3092\u5730\u4E0A\u6CE2\u3068\u3057\u3066\u6271\u3046\u3088\u3046\u4FEE\u6B63 \u30FB\u9332\u753B\u30C1\u30E3\u30D7\u30BF\u30FC\u304B\u3089CM\u533A\u9593\u306E\u307F\u3092\u62BD\u51FA\u3059\u308B\u3088\u3046\u4FEE\u6B63 (\u672C\u7DE8\u307E\u3067CM\u6271\u3044\u3067\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u308B\u554F\u984C) \u30FB\u756A\u7D44\u8A73\u7D30\u304B\u3089\u9332\u753B\u6642\u306E\u30C9\u30ED\u30C3\u30D7\u7D71\u8A08\u3092\u9664\u53BB\u3057\u3001\u898B\u51FA\u3057\u4ED8\u304D\u8A73\u7D30\u3092\u6B63\u3057\u304F\u89E3\u91C8\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u7121\u5909\u63DB\u518D\u751FURL\u3092HLS\u3068\u8AA4\u5224\u5B9A\u3057\u3066\u518D\u751F\u3067\u304D\u306A\u3044\u554F\u984C\u3092\u4FEE\u6B63 \u30FBCloudflare Access\u306E\u30C8\u30FC\u30AF\u30F3\u3092EPGStation\u5B9B\u306B\u3082\u4ED8\u4E0E\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u9332\u753B\u4E00\u89A7\u306E\u30B5\u30E0\u30CD\u30A4\u30EBURL\u3092KonomiTV\u306E\u30DB\u30B9\u30C8\u3067\u7D44\u307F\u7ACB\u3066\u3066\u3044\u305F\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u30C1\u30E3\u30F3\u30CD\u30EB\u756A\u53F7\u3068\u30B5\u30D6\u30C1\u30E3\u30F3\u30CD\u30EB\u5224\u5B9A\u3092\u4E8B\u524D\u8A08\u7B97\u3057\u3001\u9332\u753B\u540C\u671F\u306E\u8A08\u7B97\u91CF\u3092\u524A\u6E1B\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationDataMapper.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationDataMapper.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabd1d216b3017feaa3aad0dff0c6a91bc1cd88a813ee2aca528ab9cab045393"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationChannelCache.kt: app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationChannelCache.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is EpgStationChannelCache.getChannels at line 47), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FBEPGStation\u30E9\u30A4\u30D6\u914D\u4FE1\u306E\u753B\u8CEA\u30EA\u30B9\u30C8\u672A\u69CB\u7BC9\u30FBHLS\u5F37\u5236\u505C\u6B62\u30FB\u756A\u7D44\u8868\u904E\u5270\u53D6\u5F97\u30FB\u30ED\u30B4\u518D\u8A66\u884C\u3092\u4FEE\u6B63(EP-1,2,6,10a-c)\u201D; \u201Cfix: \u30FB\u30EC\u30D3\u30E5\u30FC\u518D\u70B9\u691C\u3067\u898B\u3064\u304B\u3063\u305F\u65E2\u5B58\u4E0D\u5177\u54085\u4EF6\u3092\u4FEE\u6B63\u201D; \u201Cfix: \u30FBEPGStation\u306E\u4ED6\u5730\u57DF\u5730\u4E0A\u6CE2(NW1\u301CNW40)\u3092\u5730\u4E0A\u6CE2\u3068\u3057\u3066\u6271\u3046\u3088\u3046\u4FEE\u6B63 \u30FB\u9332\u753B\u30C1\u30E3\u30D7\u30BF\u30FC\u304B\u3089CM\u533A\u9593\u306E\u307F\u3092\u62BD\u51FA\u3059\u308B\u3088\u3046\u4FEE\u6B63 (\u672C\u7DE8\u307E\u3067CM\u6271\u3044\u3067\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u308B\u554F\u984C) \u30FB\u756A\u7D44\u8A73\u7D30\u304B\u3089\u9332\u753B\u6642\u306E\u30C9\u30ED\u30C3\u30D7\u7D71\u8A08\u3092\u9664\u53BB\u3057\u3001\u898B\u51FA\u3057\u4ED8\u304D\u8A73\u7D30\u3092\u6B63\u3057\u304F\u89E3\u91C8\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u7121\u5909\u63DB\u518D\u751FURL\u3092HLS\u3068\u8AA4\u5224\u5B9A\u3057\u3066\u518D\u751F\u3067\u304D\u306A\u3044\u554F\u984C\u3092\u4FEE\u6B63 \u30FBCloudflare Access\u306E\u30C8\u30FC\u30AF\u30F3\u3092EPGStation\u5B9B\u306B\u3082\u4ED8\u4E0E\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u9332\u753B\u4E00\u89A7\u306E\u30B5\u30E0\u30CD\u30A4\u30EBURL\u3092KonomiTV\u306E\u30DB\u30B9\u30C8\u3067\u7D44\u307F\u7ACB\u3066\u3066\u3044\u305F\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u30C1\u30E3\u30F3\u30CD\u30EB\u756A\u53F7\u3068\u30B5\u30D6\u30C1\u30E3\u30F3\u30CD\u30EB\u5224\u5B9A\u3092\u4E8B\u524D\u8A08\u7B97\u3057\u3001\u9332\u753B\u540C\u671F\u306E\u8A08\u7B97\u91CF\u3092\u524A\u6E1B\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationChannelCache.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationChannelCache.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3836b8bb2d3de0463410950597a11c5bcb25a465caa0809a279beb164e60310"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherState.kt: app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherState.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is HomeLauncherState.onTabSelected at line 126), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u30FB\u30A2\u30D7\u30EA\u5168\u4F53\u306E\u52D5\u4F5C\u7DE9\u6162\u5316\u3092\u8ABF\u67FB\u30FB\u6539\u5584(\u5C40\u30ED\u30B4\u30AD\u30E3\u30C3\u30B7\u30E5\u3001EPG\u63CF\u753B\u3001\u5B63\u7BC0\u6F14\u51FA\u3001\u8D77\u52D5\u6642\u306E\u30ED\u30B0/WorkManager/Cloudflare\u30A4\u30F3\u30BF\u30FC\u30BB\u30D7\u30BF\u6700\u9069\u5316) \u30FBPiP\u5FA9\u5E30\u6642\u306B\u30BF\u30D6\u2192\u518D\u751F\u4E2D\u30DC\u30BF\u30F3\u3078\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u901A\u904E\u3057\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBPiP\u4E2D\u306B\u8A2D\u5B9A\u753B\u9762\u3092\u958B\u304F\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u6D88\u5931\u3057\u623B\u308B\u30AD\u30FC\u9023\u6253\u3067\u30A2\u30D7\u30EA\u7D42\u4E86\u30C0\u30A4\u30A2\u30ED\u30B0\u304C\u51FA\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(PR#103\u7531\u6765) \u30FBEDCB\u306E\u9332\u753B\u518D\u751F\u65B9\u5F0F(\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9/API\u7D4C\u7531)\u8A2D\u5B9A\u304C\u30E9\u30A4\u30D6\u8996\u8074\u306E\u753B\u8CEA\u53D6\u5F97\u306B\u3082\u8AA4\u3063\u3066\u9023\u52D5\u3057\u3066\u3044\u305F\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FBEDCB\u306E\u753B\u8CEA\u53D6\u5F97\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u5373\u6642\u8868\u793A\u002B\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u66F4\u65B0\u65B9\u5F0F\u306B\u5909\u66F4\u3057\u3001\u8A2D\u5B9A\u753B\u9762\u306E\u518D\u751F\u8A2D\u5B9A\u30BF\u30D6\u3092\u958B\u304F\u305F\u3073\u306B\u753B\u8CEA\u4E00\u89A7\u3092\u518D\u53D6\u5F97\u3059\u308B\u3088\u3046\u4FEE\u6B63 \u30FB\u672A\u5BFE\u5FDC\u306EMirakurun\u5358\u4F53\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u9078\u629E\u80A2\u3092\u9078\u3079\u306A\u3044\u3088\u3046\u975E\u8868\u793A\u5316 \u30FB\u30BF\u30D6\u5207\u308A\u66FF\u3048\u6642\u306E\u56FA\u5B9Adelay(500-800ms)\u3092\u5B9F\u30C7\u30FC\u30BF\u306E\u6E96\u5099\u5B8C\u4E86\u691C\u77E5\u306B\u7F6E\u304D\u63DB\u3048\u3001\u521D\u56DE\u8D77\u52D5\u6642\u306B\u30DB\u30FC\u30E0\u306E\u30C7\u30FC\u30BF\u304C\u7A7A\u306E\u5834\u5408\u306E3\u79D2\u30D5\u30A9\u30FC\u30EB\u30D0\u30C3\u30AF\u3078\u4E38\u3054\u3068\u843D\u3061\u3066\u3057\u307E\u3046\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30B3\u30FC\u30EB\u30C9\u30D6\u30FC\u30C8\u8A08\u6E2C\u7528\u306E\u8EFD\u91CF\u8A3A\u65AD\u30ED\u30B0(ColdStartDiag)\u3092\u8FFD\u52A0\u201D; \u201Cfix: \u30FBKonomiTV original\u753B\u8CEA(\u751FMPEG-TS\u76F4\u63A5\u518D\u751F)\u5BFE\u5FDC\u3092\u8FFD\u52A0(\u30E9\u30A4\u30D6/\u9332\u753B\u4E21\u5BFE\u5FDC\u3001\u753B\u8CEA\u30D4\u30C3\u30AB\u30FC\u30FBURL\u7D44\u307F\u7ACB\u3066\u30FBEDCB\u76F4\u63A5\u518D\u751F\u65B9\u5F0F\u306EDataSource\u30EB\u30FC\u30C6\u30A3\u30F3\u30B0) \u30FB\u9332\u753B/EDCB\u76F4\u63A5/Original\u518D\u751F\u3067\u5B57\u5E55\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(DirectSubtitlePayloadReaderFactory\u65B9\u5F0F\u3078\u7D71\u4E00\u3002id3conv.cpp\u304C\u751F\u6210\u3059\u308BID3 PES\u306Edata_alignment_indicator\u30D3\u30C3\u30C8\u4E0D\u5099\u3082\u4FEE\u6B63) \u30FBOriginal\u518D\u751F\u5F8C\u306B\u6B21\u306E\u756A\u7D44\u306E\u518D\u751F\u304C\u958B\u59CB\u3057\u306A\u3044\u4E0D\u5177\u5408\u3092\u4FEE\u6B63(LaunchedEffect\u306E\u30AD\u30FC\u6F0F\u308C\u3001program/isEdcbDirect/cfAccessHeaders\u306Eremember{}\u5185\u30AF\u30ED\u30FC\u30B8\u30E3\u56FA\u5B9A\u3001filterStateRef\u306E\u756A\u7D44\u307E\u305F\u304E\u6B8B\u7559\u3092\u4FEE\u6B63) \u30FB\u9332\u753B\u30EA\u30B9\u30C8\u3067\u518D\u751F\u5F8C\u306B\u623B\u308B\u3068\u30B5\u30D6\u30E1\u30CB\u30E5\u30FC\u304C\u958B\u3044\u305F\u307E\u307E\u6B8B\u308A\u30D5\u30A9\u30FC\u30AB\u30B9\u304C\u52B9\u304B\u306A\u304F\u306A\u308B\u4E0D\u5177\u5408\u3092\u4FEE\u6B63 \u30FB\u30DB\u30FC\u30E0\u753B\u9762\u306E\u30BF\u30D6\u79FB\u52D5\u304C\u7DE9\u6162\u306A\u554F\u984C\u3092\u4FEE\u6B63(refreshHomeData\u306E\u591A\u91CD\u8D77\u52D5\u9632\u6B62\u30FB\u9593\u5F15\u304D\u3001\u4E0D\u8981\u306AFlow\u8CFC\u8AAD\u306E\u524A\u9664\u3001\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u518D\u751F\u4E2D\u306E\u30DD\u30FC\u30EA\u30F3\u30B0\u505C\u6B62) \u30FB\u4E8C\u753B\u9762\u30E9\u30A4\u30D6\u8996\u8074\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u6F0F\u308C\u30FB\u30AF\u30ED\u30C3\u30D7\u5D29\u308C\u3092\u4FEE\u6B63 \u30FB\u30E9\u30DC\u8A2D\u5B9A\u306E\u4E8C\u753B\u9762\u5236\u9650(labAllowMirakurunDual)\u3092original\u753B\u8CEA\u306B\u3082\u4E00\u8CAB\u9069\u7528\u201D; \u201Cfix: \u30FB\u30BF\u30D6\u9593\u306E\u79FB\u52D5\u304C\u52B9\u304B\u306A\u304F\u306A\u308B\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u8D77\u52D5\u6642\u306B\u30D5\u30A9\u30FC\u30AB\u30B9\u8981\u6C42\u304C\u4E8C\u91CD\u306B\u767A\u884C\u3055\u308C\u3001\u30E6\u30FC\u30B6\u30FC\u64CD\u4F5C\u3068\u7AF6\u5408\u3057\u3066\u3044\u305F\u554F\u984C\u3092\u4FEE\u6B63 \u30FB\u30BF\u30D6\u64CD\u4F5C\u6642\u306B\u4FDD\u7559\u4E2D\u306E\u30D5\u30A9\u30FC\u30AB\u30B9\u8981\u6C42\u3092\u53D6\u308A\u6D88\u3059\u3088\u3046\u5909\u66F4 \u30FB\u30D5\u30A9\u30FC\u30AB\u30B9\u8981\u6C42\u306E\u518D\u8A66\u884C\u4E2D\u3082\u3001\u8981\u6C42\u304C\u6709\u52B9\u304B\u3069\u3046\u304B\u3092\u78BA\u8A8D\u3059\u308B\u3088\u3046\u5909\u66F4 \u30FB\u30BF\u30D6\u306E\u5DE6\u53F3\u79FB\u52D5\u3092\u660E\u793A\u7684\u306B\u6307\u5B9A\u3057\u3001\u610F\u56F3\u3057\u306A\u3044\u4F4D\u7F6E\u3078\u79FB\u3089\u306A\u3044\u3088\u3046\u4FEE\u6B63 \u30FB\u30BF\u30D6\u4E0A\u3067\u306E\u5341\u5B57\u30AD\u30FC\u64CD\u4F5C\u3092\u78BA\u5B9F\u306B\u51E6\u7406\u3059\u308B\u3088\u3046\u8FFD\u52A0\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 22:40:47 \u002B09:00\u0027 --until=\u00272026-11-07 22:40:47 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherState.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherState.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3960dfcb5b65a5f0893a3f0d177bdf2fa890cbd7fbc7e94d0621f8a99d311d"}},{"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 \u0060KomorebiConfigurator/KomorebiConfigurator.csproj\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KomorebiConfigurator/KomorebiConfigurator.csproj"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3073fd2983fcca8f5a6839b4ce6a59df8b6d40bf0596bf83418036a0275889"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060originalNetworkID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060originalNetworkId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cf1bcdf3bd3def7447c98188e59d549ba09373ec0c17c07e2206545559519e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060transportStreamID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060transportStreamId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"21630733590d7949175db2fcfb13c306e9656f87407dc9fed4fc0cf137a46a98"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060eventID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060eventId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"253174d955861259df7bfb5edce32c111bb54d491f67e3ae6f6fa543b419cf42"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060reserveID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060reserveId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3455b6a1866b9763e4e2be0d938442440c870e7552cd36acb1332279453839d7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060serviceID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060serviceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e600a28a11561bdd065f28603d087497d9584ca662311617731cc5d0587e4e1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060dataID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060dataId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b376f70f15dacf6650ad16a80f1d53dc8ed5f48c1e8da54e36f94642684c8482"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tunerID\u0060 spells \u0060ID\u0060 where 323 names in the project spell it \u0060Id\u0060: 323 of 330 names in project app spell the token \u0060Id\u0060 (323 of 330; unit: names in project app containing \u0060Id\u0060). Peers: NativeLib.switchCaptionLanguage(languageId) (app/src/main/java/com/beeregg2001/komorebi/NativeLib.kt:38); UrlBuilder.buildMirakurunStreamId (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.buildMirakurunStreamId(serviceId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:68); UrlBuilder.getMirakurunLogoUrl(networkId) (app/src/main/java/com/beeregg2001/komorebi/common/UrlBuilder.kt:75). Rename to \u0060tunerId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/api/edcb/EdcbApi.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa10129a9e6391d9534106bb2585733575860d24487e29cd487115e2fa04ee84"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89064cf2edfffc026657ee3afcc0513b1e7dc3b7c70c8ce510a8b821a72d61bc"},"properties":{"commitSha":"d8633e6dd96551df520a6395f7eebeb42f8691f5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca33f172fd039a824674772bd82ae3d26caddc9f2646528fea2c5a707012e580"},"properties":{"commitSha":"4e4c2a319daa5d7610172348450c5ad8e912395b"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"917e0cb05ee99e8d628e65ca0fbc1c193eae6eb87717efec80dfbdff60689fb6"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ad9309657cb500d8ca6062f542b066b617320326be7b87316799937c14e1757"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"571b5bec080f75c285cb6f38bc7d453ed7a4f87aef075e1e4c784dc26ac62ff3"},"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: 1 of 155 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; 155 of the 210 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/com/beeregg2001/komorebi/data/util/EpgUtils.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/com/beeregg2001/komorebi/data/util/EpgUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4853f764b09c3805bd487652f5ffb0b731da767a05264e80dfa2d4d21a7c4679"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingScreen.kt \u2194 SettingState.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingState.kt\u0060 change together 100% of the time (14 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006009a654b9\u0060 fix: \u30FBGemini API\u30AD\u30FC\u306E\u6709\u52B9\u6027\u3092\u4FDD\u5B58\u6642\u306BcountTokens()\u3067\u5B9F\u969B\u306B\u691C\u8A3C\u3059\u308B\u3088\u3046\u5909\u66F4 \u30FB\u901A\u4FE1\u30A8\u30E9\u30FC\u6642\u306F\u7121\u52B9\u3068\u8AA4\u5224\u5B9A\u305B\u305A\u2026; \u006007280d0c\u0060 add feature \u30FBCloudflare Zero Trust (Cloudflare Access) \u30B5\u30FC\u30D3\u30B9\u30C8\u30FC\u30AF\u30F3\u8A8D\u8A3C\u306B\u5BFE\u5FDC \u2026; \u0060624b5a9a\u0060 add feature \u30FB\u756A\u7D44\u8868\u306E\u8868\u793A\u6642\u9593\uFF08\u7E26\u8EF8\uFF09\u3092\u8A2D\u5B9A\u753B\u9762\u3088\u308A\u5909\u66F4\u53EF\u80FD\u306B \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1723d994cd73d08fcbca0b82a713065040f4719d5fd18909b95a2a92024ef2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: VideoPlayerManager.kt \u2194 VideoPlayerScreen.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt\u0060 change together 83% of the time (10 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006059fc1781\u0060 fix \u30FB\u30B7\u30FC\u30F3\u30B5\u30FC\u30C1/L\u5B57\u30AF\u30ED\u30C3\u30D7\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u306E\u547C\u3073\u51FA\u3057\u304C\u904E\u53BB\u306E\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0\u3067\u6D88\u5931\u3057\u3066\u3044\u305F\u56DE\u5E30\u3092\u4FEE\u6B63(\u9332\u753B\u518D\u751F\u753B\u9762\u306B\u5FA9\u5143\u3002L\u5B57\u30AF\u30ED\u30C3\u2026; \u0060f11518d2\u0060 fix: \u30FBEDCB\u9332\u753BTS\u76F4\u63A5\u518D\u751F\u306E\u97F3\u58F0\u30C8\u30E9\u30C3\u30AF\u5207\u66FF\u6642\u306E\u97F3\u30BA\u30EC\u3092\u4FEE\u6B63(CServiceFilter\u72B6\u614B\u306E\u5F15\u304D\u7D99\u304E) \u30FB\u30B7\u30FC\u30AF\u6A5F\u69CB\u3092Exo\u2026; \u006091bfb37d\u0060 fix: improve ARIB caption synchronization and state resets \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9973d51aa8c30751a395cc5e3e14b63ccfea8aaf61802a236aba427dffa8daf7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingComponents.kt \u2194 SettingContents.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingContents.kt\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006009a654b9\u0060 fix: \u30FBGemini API\u30AD\u30FC\u306E\u6709\u52B9\u6027\u3092\u4FDD\u5B58\u6642\u306BcountTokens()\u3067\u5B9F\u969B\u306B\u691C\u8A3C\u3059\u308B\u3088\u3046\u5909\u66F4 \u30FB\u901A\u4FE1\u30A8\u30E9\u30FC\u6642\u306F\u7121\u52B9\u3068\u8AA4\u5224\u5B9A\u305B\u305A\u2026; \u006012583f4c\u0060 fix \u30FB\u5C40\u30ED\u30B4\u629C\u3051 \uFF06 CS\u30C1\u30E5\u30FC\u30CB\u30F3\u30B0\u5931\u6557\u306B\u66AB\u5B9A\u5BFE\u5FDC \u30FB\u9577\u6642\u9593\u8996\u8074\u3067\u306E\u97F3\u30BA\u30EC\u306B\u5BFE\u3057\u3066\u3001ExoPlayer\u3067\u30D0\u30C3\u30D5\u30A1\u5207\u308C\u306E\u969B\u306B\u82E5\u5E72\u65E9\u9001\u308A\u2026; \u00600a4d81eb\u0060 fix \u30FB\u65B0\u898F\u30C6\u30FC\u30DE\u8FFD\u52A0 \u30FB\u9332\u753B\u518D\u751F\u6642\u306B\u30B3\u30E1\u30F3\u30C8\u304C\u30AB\u30AF\u30C4\u30AF\u554F\u984C\u306B\u66AB\u5B9A\u5BFE\u5FDC \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingComponents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e42f2c0d1ad7eef96b030f9a93b61878e41d04c8ea60da0fc12d1fc0295186"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RecordedProgramDao.kt \u2194 RecordSyncEngine.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/data/local/dao/RecordedProgramDao.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/data/sync/RecordSyncEngine.kt\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 \u0060567eec72\u0060 fix \u30FBAI\u6A5F\u80FD\u3092\u4FEE\u6B63 \u30FB\u9332\u753B\u30EA\u30B9\u30C8\u306E\u9332\u753B\u4E2D\u304C\u623B\u3089\u306A\u3044\u554F\u984C\u306B\u66AB\u5B9A\u5BFE\u5FDC; \u00604c3cd2d1\u0060 bug fix \u30FBDB\u69CB\u7BC9\u5468\u308A\u3092\u518D\u5EA6\u4FEE\u6B63; \u006083412e85\u0060 bug fix \u30FBDB\u69CB\u7BC9\u5468\u308A\u306E\u5927\u5E45\u6539\u826F \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/local/dao/RecordedProgramDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ccc3daba5e8e746b989f4b2a4afbbb20e8891b971891735b98548a35c6b11a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: KonomiRepository.kt \u2194 ReserveViewModel.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/viewmodel/ReserveViewModel.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f4be60dd\u0060 add feature \u30FB\u30AD\u30FC\u30EF\u30FC\u30C9\u81EA\u52D5\u4E88\u7D04\uFF08EPG\u4E88\u7D04\uFF09\u5BFE\u5FDC; \u006083a85678\u0060 bug fix \u30FB\u5B9F\u6CC1\u30B3\u30E1\u30F3\u30C8\u304C\u8868\u793A\u3055\u308C\u306A\u3044\u73FE\u8C61\u3092\u6539\u5584\uFF08\u66AB\u5B9A\u5BFE\u5FDC\uFF09; \u0060af8e8af2\u0060 bug fix \u30FB\u52D5\u4F5C\u901F\u5EA6\u6539\u5584\uFF08\u52B9\u679C\u304C\u3042\u308B\u304B\u306F\u4E0D\u660E\uFF09 \u30FBEPG\u30C7\u30FC\u30BF\u3092\u30AD\u30E3\u30C3\u30B7\u30E5\u3059\u308B\u3053\u3068\u3067\u3001\u52D5\u4F5C\u901F\u5EA6\u3092\u6539\u5584 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/KonomiRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9149e2bdf465f9ae7fd6f7d803f6a62b675122961cc718c2b2a46ae2e2393c0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeContents.kt \u2194 SettingScreen.kt: \u0060app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt\u0060 and \u0060app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingScreen.kt\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060098b7b4f\u0060 bug fix \u30FB\u9332\u753B\u30EA\u30B9\u30C8\u30EA\u30D5\u30A1\u30AF\u30BF\u30EA\u30F3\u30B0; \u0060c1c368a1\u0060 add feature \u30FB\u30EA\u30B9\u30C8\u578B\u9332\u753B\u30EA\u30B9\u30C8\u6A5F\u80FD\u5B9F\u88C5\u5B8C\u4E86 \u30FBBaseline Profile\u5C0E\u5165; \u0060e529771d\u0060 add feature \u30FBMirakurun\u30BD\u30FC\u30B9\u30675.1ch\u306E\u30D1\u30B9\u30B9\u30EB\u30FC\u3001\u30C0\u30A6\u30F3\u30DF\u30C3\u30AF\u30B9\u306B\u5BFE\u5FDC \u30FB\u4F4E\u30B9\u30DA\u30C3\u30AF\u306A\u7AEF\u672B\u3067\u306E5.1ch\u30C0\u30A6\u30F3\u30DF\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae170c911651d0e0bb019ab6c2f24bee7d28de3cc1814eb5ea2be5b2455704"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: JikkyoChannelResolver: \u0060JikkyoChannelResolver\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (jikkyoChannelsCache; e.g. \u0060jikkyoChannelsCache\u0060 in \u0060getJikkyoChannels\u0060 at line 64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/jikkyo/JikkyoChannelResolver.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2572d30dfe8ba2ce9ad87fbd84d13017a63a2ddb7fb81080cb26640cb876a9"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: EdcbLiveRepository: \u0060EdcbLiveRepository\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (failedLogoIds; e.g. \u0060failedLogoIds\u0060 in \u0060getChannelLogoUrl\u0060 at line 299)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbLiveRepository.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9368946587059e80d488181d2411da6e076de800b6caf124fcba0cf56ba53d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: EpgStationRecordRepository: \u0060EpgStationRecordRepository\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (seriesFeatureDisabled, seriesCache, seriesCacheAt, streamId, qualities; e.g. \u0060seriesFeatureDisabled\u0060 in \u0060getSeriesList\u0060 at line 103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ffb791667142066f9c5e3b882c49467c84bb5f47b4ce7f92d995b48ad7700e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LiveJikkyoManager: \u0060LiveJikkyoManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (jikkyoClient, processedCommentIds; e.g. \u0060jikkyoClient\u0060 in \u0060startJikkyo\u0060 at line 51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveJikkyoManager.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"60395b8b0ebe87001e1a185ce795cdea8a0d45d7f763f0a82ad47f18e4a9a9e6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EpgStationApi (32 abstract methods): \u0060EpgStationApi\u0060 declares 32 abstract methods: \u0060getChannels\u0060, \u0060getSchedules\u0060, \u0060getBroadcasting\u0060, \u0060getScheduleDetail\u0060, \u0060getRecordedList\u0060, \u0060getRecordedDetail\u0060, \u0060getNextUp\u0060, \u0060getSeries\u0060, \u0060getDictionaryWorks\u0060, \u0060getSeriesDetail\u0060, \u0060getSeriesImage\u0060, \u0060getSeriesMapping\u0060, \u0060getDuration\u0060, \u0060getVideoFileMetadata\u0060, \u0060getChapters\u0060, \u0060getPlaybackPosition\u0060, \u0060updatePlaybackPosition\u0060, \u0060getAudioTracks\u0060, \u0060getConfig\u0060, \u0060getReserves\u0060, \u0060getReserve\u0060, \u0060addReserve\u0060, \u0060updateReserve\u0060, \u0060deleteReserve\u0060, \u0060getRules\u0060, \u0060getRule\u0060, \u0060addRule\u0060, \u0060updateRule\u0060, \u0060deleteRule\u0060, \u0060startLiveHls\u0060, \u0060startRecordedHls\u0060, \u0060keepStream\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/com/beeregg2001/komorebi/data/api/EpgStationApi.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb2315d22709626a4257f22e772cdc2a3709c44af455ef408f9d3ec16f2df94"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: KonomiApi (21 abstract methods): \u0060KonomiApi\u0060 declares 21 abstract methods: \u0060getCurrentUser\u0060, \u0060getChannels\u0060, \u0060getRecordedPrograms\u0060, \u0060searchVideos\u0060, \u0060getRecordedProgram\u0060, \u0060keepAlive\u0060, \u0060getBookmarks\u0060, \u0060getWatchHistory\u0060, \u0060updateWatchHistory\u0060, \u0060getJikkyoInfo\u0060, \u0060getArchivedJikkyo\u0060, \u0060getReserves\u0060, \u0060addReserve\u0060, \u0060updateReserve\u0060, \u0060deleteReservation\u0060, \u0060getReservationConditions\u0060, \u0060addReservationCondition\u0060, \u0060getReservationCondition\u0060, \u0060updateReservationCondition\u0060, \u0060deleteReservationCondition\u0060, \u0060getEpgPrograms\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/com/beeregg2001/komorebi/data/api/KonomiApi.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd87d94b8152807fd5e3df97dcd5c3b111d40ed3f4302ffac9ce5a690009527"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RecordedProgramDao (41 abstract methods): \u0060RecordedProgramDao\u0060 declares 41 abstract methods: \u0060upsertAll\u0060, \u0060getById\u0060, \u0060getByIds\u0060, \u0060getAllIds\u0060, \u0060deleteOrphans\u0060, \u0060deleteByIds\u0060, \u0060getAll_DateDesc\u0060, \u0060getAll_DateAsc\u0060, \u0060getAll_TitleDesc\u0060, \u0060getAll_TitleAsc\u0060, \u0060getAll_DurationDesc\u0060, \u0060getAll_DurationAsc\u0060, \u0060getUnwatched_DateDesc\u0060, \u0060getUnwatched_DateAsc\u0060, \u0060getUnwatched_TitleDesc\u0060, \u0060getUnwatched_TitleAsc\u0060, \u0060getUnwatched_DurationDesc\u0060, \u0060getUnwatched_DurationAsc\u0060, \u0060getAllPagingSource\u0060, \u0060getPagingSourceByChannel\u0060, \u0060searchPagingSource\u0060, \u0060searchSeriesPagingSource\u0060, \u0060searchSeriesPagingSourceById\u0060, \u0060getSeriesFocusProgramId\u0060, \u0060getSeriesFocusProgramIdById\u0060, \u0060getPagingSourceByGenre\u0060, \u0060getPagingSourceByDayOfWeek\u0060, \u0060getRecordingProgramIds\u0060, \u0060getPagingSourceUnwatched\u0060, \u0060getRecentRecordingsFlow\u0060, \u0060getAllPrograms\u0060, \u0060getTotalCountFlow\u0060, \u0060getDistinctChannels\u0060, \u0060getGroupedSeries\u0060, \u0060getAllTitlesAndSeries\u0060, \u0060getTitlesNotInDictionary\u0060, \u0060updateSeriesName\u0060, \u0060updateSeriesNameByOriginalTitle\u0060, \u0060clearAll\u0060, \u0060getUnknownTitles\u0060, and 1 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/local/dao/RecordedProgramDao.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b114fca0b6140e68127e912ed08d96e80d2281e4278b1fea0e9fd4393974ca5"}},{"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 199 Python, JVM production file(s) this check read across 3 module(s). Each was searched for its ecosystem\u0027s logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging; Python: logging, structlog, loguru) 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) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060KomorebiConfigurator/KomorebiConfigurator.csproj\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":"KomorebiConfigurator/KomorebiConfigurator.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a011938701191c703a8139ba413275e0c5eb5fa38625175527dd8a3f1343f"}},{"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":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: KomorebiConfigurator/KomorebiConfigurator.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"KomorebiConfigurator/KomorebiConfigurator.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e1f1111bf7075aa9916b3a05fb0f16b7de22158d395df6f02438dc3d424066"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isPiPMode \u0026\u0026 !isSubOverlayOpen \u0026\u0026 vs.lCropMode == LCropMode.HIDDEN\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a74b4b5b5442adb4507c3438d41eacf90138898957ae73284e0eca2beb9342"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!showControls \u0026\u0026 vs.lCropMode == LCropMode.HIDDEN\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b2a57185030daac90e6b5eb69a7f3f804e112040053ad43b27a943a025723e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!trimmed.startsWith(\u0022c-\u0022) || !trimmed.endsWith(\u0022c\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt, app/src/main/java/com/beeregg2001/komorebi/viewmodel/SmbViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cba9d8f96a579feaeb8171fa804dfdf096408576588b843cffbf5a46e5e0c0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isSearchInputFocused || isHistoryFocused) \u0026\u0026 searchHistory.isNotEmpty()\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordScreenTopBar.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbTopBar.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"881a4fad655962f5a637a2cc424a44319e78e522310e98cd81bf40f0edc96479"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backendType == \u0022EDCB\u0022 \u0026\u0026 edcbPlayMethod == \u0022DIRECT\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e6bc54876da7c533ff951ce8bc330ee5c315330db2a5260494715b6671af8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause is HttpDataSource.InvalidResponseCodeException \u0026\u0026 cause.responseCode == 404\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt, app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerManager.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"688068a631a010de8e16556d1abad36b20fcc54c9d9fb1f645a465a9ffa677bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content.startsWith(\u0022/\u0022) \u0026\u0026 content.matches(Regex(\u0022^/[a-z][a-z0-9_-]*(?:\\\\s|$).*\u0022))\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt, app/src/main/java/com/beeregg2001/komorebi/ui/live/LiveJikkyoManager.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbRecordRepository.kt"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3d6d86ced379f2616543c4d9f44317d41d79aa4b1ffe01c22be2506ff88a81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentThumbnailUrl == primaryUrl \u0026\u0026 primaryUrl != fallbackUrl\u0060 appears character-identically in 7 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt, app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt, app/src/main/java/com/beeregg2001/komorebi/ui/home/components/LibraryCards.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordDetailPanel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"851665cf575886d95614511b1c9ddfa85374e2d676ec099947d23f08f7bfdbd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentType == apiValue \u0026\u0026 !isTabFocused\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt, app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine_NoAnime.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5916a3a2203f03c29f2aac3cb2b7d4fcafecfb39f6bc8e7454291689d6745f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentType == type \u0026\u0026 currentOrder == order\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"1046eb13ba725aab96d565f4894f3204701d814ef3592808e7efa539ffee0a44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060digit \u003E= 1024 \u0026\u0026 unitIndex \u003C units.size - 1\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"f253ef11e935fb196dd654eabde784cd53d18997e8b01c5207f76a06d9186688"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key == Key.Back || event.key == Key.Escape\u0060 appears character-identically in 6 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt, app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgJumpMenu.kt, app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine_NoAnime.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8466e5ce817fc660a525fbf79e8404753ec8658d847eb5f706d27b0ac6f8ceb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key == Key.Back || event.nativeKeyEvent.keyCode == NativeKeyEvent.KEYCODE_BACK\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt, app/src/main/java/com/beeregg2001/komorebi/ui/epg/ModernEpgCanvasEngine.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/EpgNavigationContainer.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"090c33adb9b83d72f8c25adbf1fda1ce2db412915684d2d0cfd08cc6c93b579c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key == Key.DirectionCenter || event.key == Key.Enter || event.key == Key.NumPadEnter\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt, app/src/main/java/com/beeregg2001/komorebi/ui/main/MainRootScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/AiConciergePanel.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9ebe48c52eca2bb3daaad8060bd694681c678d425f6f0ff9e54b0f709fc19c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key == Key.DirectionLeft \u0026\u0026 index % 4 == 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"527049f75aab89bbaaee7b7ae9bce1980ea444542ad2343f3a5ca38c58a9044f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == KeyEventType.KeyDown \u0026\u0026 (event.key == Key.Back || event.key == Key.Escape)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/setting/OpenSourceLicensesScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbListContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeLauncherScreen.kt"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"674eb419202b61d82264343ae4aef0c9b1f55265eed6cde5783dddc73aaadaa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == KeyEventType.KeyDown \u0026\u0026 event.key == Key.DirectionLeft\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGenrePane.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"067e497a63d2d3b1f4d086b5fbf4fbd4e41f6f6e5d470f8242230e48544f1dfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.first == currentType \u0026\u0026 it.second == currentOrder\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a637644e4de2ac5c46a2e3461ebcc34f83b343af575b883fd07bf3d3d7ed00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isCm \u0026\u0026 currentPos \u003E= it.startTimeMs \u0026\u0026 currentPos \u003C (it.endTimeMs - 1500)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"789c653d04b486c50e2d8f566e8f3d21dd854eb72edd8a4f1ed1519257a6249b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isNotBlank() \u0026\u0026 !program.title.contains(it)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/components/RecordedCard.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660e54578e4b001eb8fedee7c460c7691b7c29aac691000fb772d17e8bee9e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.nativeKeyEvent.action == android.view.KeyEvent.ACTION_DOWN \u0026\u0026 it.nativeKeyEvent.keyCode == android.view.KeyEvent.KEYCODE_DPAD_UP\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt, app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/HomeContents.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d77f6a9bff5a1113c270776bf1f29f3ef7572f8337979e2d19c0d437eafcc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.type == KeyEventType.KeyDown \u0026\u0026 (it.key == Key.DirectionLeft || it.key == Key.Back || it.key == Key.Escape)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/SmbLibraryScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/RecordListScreen.kt"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c569354e4b512e45542bf80cdf73305eda79b908d2e56025fd44a2a76765d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.type == KeyEventType.KeyDown \u0026\u0026 it.nativeKeyEvent.keyCode == android.view.KeyEvent.KEYCODE_BACK\u0060 appears character-identically in 5 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt, app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt, app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt, app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/AdvancedSettingsDialog.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf0c8e997fa2d5ca14cb2934f6440de5aff6e803926c089e49f97dede73d7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.value.contains(\u0022720\u0022) || it.label.contains(\u0022720\u0022)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt, app/src/main/java/com/beeregg2001/komorebi/viewmodel/LivePlayerViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerScreen.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837347aabe943b3f77e7aedeb7ea6954f0ae3b59740ef23b96c32a06f59b747"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keyEvent.type == KeyEventType.KeyDown \u0026\u0026 (keyEvent.nativeKeyEvent.keyCode == android.view.KeyEvent.KEYCODE_BACK || keyEvent.nativeKeyEvent.k\u2026\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt, app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerSubMenu.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerOverlays.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/live/LivePlayerOverlays.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d27443a139c13d407c2a50cba185089a528d26a685b2250c1203258d0c87da5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060numberSelectTarget == NumberSelectType.START_HOUR || numberSelectTarget == NumberSelectType.END_HOUR\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt, app/src/main/java/com/beeregg2001/komorebi/ui/reserve/EpgReserveDialog.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ConditionEditDialog.kt"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a990c8fd2b42ea11d53dc4765bb15ff1ae28e2a0f307cfc95c75b44e8708afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060program.isRecording || program.recordedVideo.status == \u0022Recording\u0022\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/beeregg2001/komorebi/data/mapper/RecordDataMapper.kt, app/src/main/java/com/beeregg2001/komorebi/ui/home/VideoTabContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListItem.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/mapper/RecordDataMapper.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e154f63465ff19d1225ed54ff8af2c567d1668cb841300a6f813739e89cb758"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showControls \u0026\u0026 !isSubOverlayOpen \u0026\u0026 vs.lCropMode == LCropMode.HIDDEN\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c2bfad512c21bf20a8c0ec3409bce6676594bccbb91868986582202473ef2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showControls \u0026\u0026 isModern \u0026\u0026 !isSubOverlayOpen\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/smb/player/SmbVlcPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/player/VideoPlayerScreen.kt"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ebe936f0405890ce43ea226056afee0dfa8e095f75581926125f082d1e6c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ticket == FocusTicket.TARGET_ID \u0026\u0026 program.id == ticketManager.targetProgramId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e496a7fec4da297790e99c01cf588b13eb76ff9543646809a6c5f73a75be7bf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ticket == FocusTicket.TARGET_ID \u0026\u0026 series.representativeVideoId == ticketManager.targetProgramId\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a5e2c61514e9cfcbc42271ffaaa6cdd2fbcb729e875c5419a939bf2ab2dd16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060totalItems == 0 || visibleItems == 0 || visibleItems \u003E= totalItems\u0060 appears character-identically in 4 files \u2014 app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordListContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesContent.kt, app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordSeriesGridContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/video/components/RecordGridContent.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e41d92444286d2913911b1eef06a8848a1c000bc8516b41ee06585bbb03e2"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.3 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 2 suppression(s) across the 1569 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060searchFuturePrograms\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/EpgRepository.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"df432eb9ab10ba5dd398563099670e352b3164c2b3df2743a2c179371498a7f6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatToIso\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/edcb/EdcbDataMapper.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b623f7c62870b1f74c805e31adb8db0efa933c47f85fe0d10bc9156105c8ae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSeriesList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/repository/epgstation/EpgStationRecordRepository.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47f7ba56bc29a67943ea4c420b6eff3995e82586499d7e0872d2d05db1bd782"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatTime\u0060 swallows every exception into \u0060\u0022--:--\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/util/EpgUtils.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1199410d5e1ecf5bb83b2ee7f616ef963479d6906ba1875afdcd73875ef4e19"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatEndTime\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/data/util/EpgUtils.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48bdcb32ad0cb1b7ee5234e2d6d6c8f57b3441718102cd64ffd1300ca1a1a2e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060EpgSearchListItem\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/epg/components/EpgSearchListItem.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43c5ae94c08f52a80e7e6248418283d302f0626f9abc0579bcf2e271c1cc324"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WatchHistoryCard\u0060 swallows every exception into \u00600f\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/home/components/HomeCards.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e91499dbc7da730c21be44d3e22da4bab72724d3e88eca2d06525471a11739a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReserveSettingsDialog\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/reserve/ReserveSettingsDialog.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"83415303d133da3440e3b0ddccaad1ffc2c27e010b14d53e11c69df1d7d652a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060rememberSettingPreferences\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/ui/setting/SettingState.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e47b899428bcc6c4ba5735129a375410cf6381b342c45c90d3dc2f17ca0fac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060searchSilently\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/beeregg2001/komorebi/viewmodel/EpgViewModel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a5fd0c3f69f3f9b0a5f24901cdbd051c5eb533bd1c30fa3f34d0ccb0171a50"}}],"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-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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.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":"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/"}]}],"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":7,"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."]}]}