{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"VideoScreenKt.VideoScreen (cyclomatic 162): VideoScreenKt.VideoScreen has cyclomatic complexity 162 (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/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32640a305323a22aa7f58f9f4d2d1d8b910a8c7ccfbaf2489c0e5a9443b27f0"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeHubScreenKt.HomeHubScreen (cyclomatic 157): HomeHubScreenKt.HomeHubScreen has cyclomatic complexity 157 (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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bfb237e338d82d2e07a6bbdae5fb58c5d0ca83e3b15a941ab9860fc0b21c15"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoPageContentKt.VideoContent (cyclomatic 154): VideoPageContentKt.VideoContent has cyclomatic complexity 154 (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/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1eaeef8d1488dc3ece0ec1bab8bcfcef8d6d178022384882dda91a2b3ca8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentCardKt.CommentRow (cyclomatic 114): CommentCardKt.CommentRow has cyclomatic complexity 114 (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/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7520c0b67df1af19a0732f8cf33aa4260e7da268217a2f41314fc1b9c6da1c"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicPlayerScreenKt.HomeMusicPlayerScreen (cyclomatic 85): HomeMusicPlayerScreenKt.HomeMusicPlayerScreen has cyclomatic complexity 85 (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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"624ac2fe209868258c78e6e14b8f794f8e9ada8236f2938aace0dcc60d50a658"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootFeedContext.FeedLayer (cyclomatic 77): AppRootFeedContext.FeedLayer has cyclomatic complexity 77 (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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bfff242c455d0722848c283e00c071d4792a17a5e21bfa7007002e99fef72"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootTailKt.appRootTailContent (cyclomatic 77): AppRootTailKt.appRootTailContent has cyclomatic complexity 77 (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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e28520f2229ee51b55834a77aab4c14fec7c915751635272ca60114f4f1408"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootKt.AppRoot (cyclomatic 76): AppRootKt.AppRoot has cyclomatic complexity 76 (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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"840dd0a91356e69645a1e762c7e3dd69e3b2baded589de5805504bbc47920a40"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootVideoContext.VideoLayer (cyclomatic 72): AppRootVideoContext.VideoLayer has cyclomatic complexity 72 (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/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f798ebb0d3e2f48a7687dc630b4d03f8f04fd54096e971ce6f97c16fea66a3de"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiRecommendationScreen (cyclomatic 72): BangumiRecommendationScreenKt.BangumiRecommendationScreen has cyclomatic complexity 72 (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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a1251ce0536f1ab0bc74cbbb39a87466e3e327c1bdf6b54f34bdb60addacd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerFullscreenPlaybackScreenKt.ControllerFullscreenPlaybackScreen (cyclomatic 72): ControllerFullscreenPlaybackScreenKt.ControllerFullscreenPlaybackScreen has cyclomatic complexity 72 (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/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a320eff6d28771a6fb2a346cfe5f6be9790a42079830652c5bc90d93e506d861"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomScreenKt.LivePlayerCard (cyclomatic 67): LiveRoomScreenKt.LivePlayerCard has cyclomatic complexity 67 (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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3937b4588727f7217983eca6a1d090f24d628dcd9d10ddfab6a2631bfc658efa"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleScreenKt.ArticleScreen (cyclomatic 66): ArticleScreenKt.ArticleScreen 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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"507536ed0a745df9181f2ad91ddf3a8520bf04c847e17b4ab63705066c424c47"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuMaskParser.flattenPathData (cyclomatic 65): DanmakuMaskParser.flattenPathData has cyclomatic complexity 65 (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/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f176fb245d8236d96bae29ab7d8eae64a1fc166c448436fdbcff24e66648d5a"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicTrackListKt.MusicTrackList (cyclomatic 63): HomeMusicTrackListKt.MusicTrackList has cyclomatic complexity 63 (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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e608d36ca33a51cbba5a4649033826a52dcc626674b0763a2f10f9483195ef"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenKt.MyScreen (cyclomatic 61): MyScreenKt.MyScreen has cyclomatic complexity 61 (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/dev/openbili/webdemo/my/MyScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"274b9ff9b47ca20fa79655238a47e4dbbca5263a303f15a6f2a79f23357fcfc8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileScreenKt.ProfileScreen (cyclomatic 61): ProfileScreenKt.ProfileScreen has cyclomatic complexity 61 (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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1b777432bb4ecbb9c5694d6aec5fd448f085fe028a09cec405c6e7215d1dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileDynamicScreenKt.ProfileDynamicGrid (cyclomatic 60): ProfileDynamicScreenKt.ProfileDynamicGrid 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcabf75c44f96cd17beba01bba2a6b623d82af01e2f32d4e45f1505ec533f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenHistoryKt.HistoryPanel (cyclomatic 58): MyScreenHistoryKt.HistoryPanel has cyclomatic complexity 58 (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/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e845ee9646efba0c403de58f2569982aea7c7941d56f4dbfc47d5beeb9e8500"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootProfileLayerKt.AppRootProfileLayer (cyclomatic 58): AppRootProfileLayerKt.AppRootProfileLayer has cyclomatic complexity 58 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f150fa8b9cc9e7a42e8b1787ad1a4392814f45ddc49ecd97017e318ffd230e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootEnterBangumiContext.startEnterVideo (cyclomatic 54): AppRootEnterBangumiContext.startEnterVideo has cyclomatic complexity 54 (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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea4e590f05b86b9aa0b6f4fe8fe1c8cd5ed467a1959692e9ed59ae9248b709"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicLibraryPaneKt.MusicLibraryPane (cyclomatic 54): HomeMusicLibraryPaneKt.MusicLibraryPane 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/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a200ff6a43b502e437d7ef4b6ad8f83ca41630d6f131598702d59834827f7f7d"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiIndexScreenKt.BangumiIndexScreen (cyclomatic 53): BangumiIndexScreenKt.BangumiIndexScreen 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/dev/openbili/webdemo/ui/BangumiIndexScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40a31e6793546f88eab44b041791495694579d75d646d6dd70d9bbc14c73a44"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoActionDialogsKt.RecommendationCard (cyclomatic 51): VideoActionDialogsKt.RecommendationCard 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/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac725beedd33ffbe9e8b4a1ddf2445b40139f45d0f608aad224e847eba2eff9a"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomControlNavigationKt.LiveRoomControllerPlaybackScreen (cyclomatic 50): LiveRoomControlNavigationKt.LiveRoomControllerPlaybackScreen has cyclomatic complexity 50 (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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4bf79b5653ca3ff617e05be858267f478aeb3ebcbe8500e88230f13675292a"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileDynamicScreenKt.DynamicDetail (cyclomatic 47): ProfileDynamicScreenKt.DynamicDetail has cyclomatic complexity 47 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"234afa393f0cd5b73c93250f2ed69f1a8022d2ca3f3dce3c66e69a8c6391c6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.startExitRootBangumi (cyclomatic 46): AppRootExitContext.startExitRootBangumi 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"921be61ef93cd2ecd5fc0a8f9f0df693ca9353461c3e7277b210112a26fe9c53"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomScreenKt.LiveRoomScreen (cyclomatic 45): LiveRoomScreenKt.LiveRoomScreen has cyclomatic complexity 45 (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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8ae6d160841580016a98808f767333b923a7bbd1d20715d8f7334dee7cfe4a"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeFollowingSection (cyclomatic 45): BangumiExploringRailKt.AnimeFollowingSection has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df85b0ade8fe46b43eda479653dbea4fa991c02a6fc2b62f4124e218e6356db"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileScreenKt.ProfileHeader (cyclomatic 44): ProfileScreenKt.ProfileHeader has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"35abdb3abe3e7a56ca73e568767291b63d2b10a5fbc16b689fdf4f69e11c8442"}},{"ruleId":"D1","level":"warning","message":{"text":"MyViewModel.select (cyclomatic 42): MyViewModel.select has cyclomatic complexity 42 (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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3521411edea9e7aa7f4e2c9efb1eb16d961e7f6ec14627c1a0100451d32d2f70"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliPrivateMessageApi.parsePrivateContent (cyclomatic 41): BiliPrivateMessageApi.parsePrivateContent has cyclomatic complexity 41 (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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b03b79bd4a72a37881215c38cdf43817987bb47f2eb9f00630f1fbefc63aad9"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenMessagesKt.NativeMessagePane (cyclomatic 40): MyScreenMessagesKt.NativeMessagePane has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1660968207e3ff33d207c08018c15e8dce038cc370f52f928366b04ac1236bd"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchScreenKt.SearchResultsScreen (cyclomatic 39): SearchScreenKt.SearchResultsScreen has cyclomatic complexity 39 (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/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b14912f0b32b391fb3c4c7a6050ab32b0dfdb241de88639f84dd340de13967"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploreScreenKt.BangumiExploreScreen (cyclomatic 38): BangumiExploreScreenKt.BangumiExploreScreen has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37cc79ed1733e7ec4512ded98931db88672ae4879bfe13839c9cfec6d27f45c"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliHistoryApi.parseHistoryResponse (cyclomatic 36): BiliHistoryApi.parseHistoryResponse 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/dev/openbili/webdemo/api/BiliHistoryApi.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf99ecb9ec4796fe921535e9053e75d612fa856d06d75bbd0bd91f7fd4b95a1c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.reverseActiveEnter (cyclomatic 36): AppRootExitContext.reverseActiveEnter has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abefba5f0ca0592d3e1c419bc279d053132c376e003b4a326621ab31e9cd2f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootProfileContext.openCommentProfileFrom (cyclomatic 36): AppRootProfileContext.openCommentProfileFrom has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb030a040d3973af79a5d3d0526fcc7c0af4359d3f8b02eed5a0011ef2d5fa6f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootUiOverlaysKt.AppRootUiOverlays (cyclomatic 36): AppRootUiOverlaysKt.AppRootUiOverlays has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"70558b5f126e401cacd0fc683fe870c64cd5d19da90bedaf276b0418d162a4bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerGesturesKt.PlayerGestureLayer (cyclomatic 36): PlayerGesturesKt.PlayerGestureLayer has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cc3d44ddd802b13113e63671f40ec246468e57d7dbd97e814cd8ea6768fc5d"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenFavoritesKt.VideoPanel (cyclomatic 35): MyScreenFavoritesKt.VideoPanel has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a88cc966dd30888e197c11909bc4db2c3ed66217258c82a540561d18185ad1"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenSettingsKt.SettingsPane (cyclomatic 35): MyScreenSettingsKt.SettingsPane has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0cadd033388be6e225975822f0bdd075971be8176ddf4c85ff043175ebd125"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootProfileContext.openAvatarProfileFrom (cyclomatic 35): AppRootProfileContext.openAvatarProfileFrom has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6159d5091b3314392f034755e4dc113d8f1ef3fcd837c8cb2452fd04784acc40"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiCardStack (cyclomatic 35): BangumiRecommendationScreenKt.BangumiCardStack 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec6c8a3566e5c9cc2b09d23a508230cb187b12a85569c36be150a1f998f2a08"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootPlayerKt.AppRootPlayerEffects (cyclomatic 34): AppRootPlayerKt.AppRootPlayerEffects has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f7004724e8d1b520284f4844e11bd4796b39848c65f96928552d32c6efaac"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackHeaderKt.PlaybackHeader (cyclomatic 34): PlaybackHeaderKt.PlaybackHeader has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlaybackHeader.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfedfaae3c6377e6946461e944609d1f68998b69abdc3aee5beac84ae235c456"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsKt.DanmakuComposer (cyclomatic 34): PlayerControlsKt.DanmakuComposer has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda04708831fa419b46568ed686df7db46e7e12d992fa9acbfa4248024e88168"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsKt.ModernPlayerControls (cyclomatic 34): PlayerControlsKt.ModernPlayerControls has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2bfd9698ebbca74cae06eea066e1da4e9509c5b213af72db546c13c0d8c47c"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchScreenKt.SearchScreen (cyclomatic 33): SearchScreenKt.SearchScreen has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"441fbefd25fd96373f426dc014e0898fc996a26701ceef71e2bbf8f4eed95b57"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentComposerKt.CommentComposer (cyclomatic 33): CommentComposerKt.CommentComposer has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentComposer.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958f2ea83f132965b02ae3c454b4cda94609f262bac44b6c0300d99f8d8747e"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerPlaybackStateKt.resolveControllerPlaybackKeyAction (cyclomatic 32): ControllerPlaybackStateKt.resolveControllerPlaybackKeyAction 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/dev/openbili/webdemo/video/ControllerPlaybackState.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"953344d99eac60a679d54754e62a2035b836294caf2ab0f576663247ba4affa4"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoScreenWidgetsKt.VideoActionPanel (cyclomatic 31): VideoScreenWidgetsKt.VideoActionPanel 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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34c1a4796be84313e46806c8caee68f42fdab82532286b3f385a13e1af273de"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploreViewModel.loadFollowing (cyclomatic 29): BangumiExploreViewModel.loadFollowing 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/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"433ae7c9f20355257269957e8a4dbcc1c913d3cf3424a8629567bd937c03dc53"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliBangumiApi.resolveVideoBvid (cyclomatic 28): BiliBangumiApi.resolveVideoBvid 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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c466f8d16996379426550ba40707d12474b1c8c12991b831f50b9e7ad79f9f"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedScreenKt.FeedCard (cyclomatic 28): FeedScreenKt.FeedCard has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9c558afb0820593fd9910b022b6d6a5ec5553698fedc5b3a29599a52b1154c"}},{"ruleId":"D1","level":"warning","message":{"text":"PopularFeedViewModel.loadCurrent (cyclomatic 28): PopularFeedViewModel.loadCurrent 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/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d9276c640e63690268b26d1a9935d1e13dbbc3c487b44956584f56c71c259a"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenMessagesKt.PrivateMessageBubble (cyclomatic 28): MyScreenMessagesKt.PrivateMessageBubble 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/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"403cb05b6e18899c6aa6a53b72352d2c970809c353de680308562937ca358eaa"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileScreenKt.ProfileMenu (cyclomatic 28): ProfileScreenKt.ProfileMenu 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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0e4251ca56d14edec91326d2fa26a08263755b2d4b02224b42ac3c593851dc"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoHeaderContentKt.VideoInfoTile (cyclomatic 28): VideoHeaderContentKt.VideoInfoTile 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/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1ee547980919e89a859bfefc083bb1225047b7b075a1ba260cd27ea2f074c3"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoScreenControlKt.handleControlPlayerKey (cyclomatic 28): VideoScreenControlKt.handleControlPlayerKey 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/dev/openbili/webdemo/video/VideoScreenControl.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"85184d987a7ea23051eff052fa14d61e3f3a6dbccd120f8d53fca32560deaf9a"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliInteractionApi.parseLikeMessagePage (cyclomatic 27): BiliInteractionApi.parseLikeMessagePage has cyclomatic complexity 27 (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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c18fe229c27bee1cddff2a297e269f1d8beef5c4b5e54711e8325ffcd136113"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.startExitBangumi (cyclomatic 27): AppRootExitContext.startExitBangumi 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c791d2266e12081890d7ddab8d9ea5af66c310fb47bd4d122d67bd325c079c6"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootLiveLayerKt.AppRootLiveLayer (cyclomatic 27): AppRootLiveLayerKt.AppRootLiveLayer 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/dev/openbili/webdemo/ui/AppRootLiveLayer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224c119ae0cdfa0901e48de70f3a752a0ea6f561a25c25265ea6a48e32c8591"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuOverlayView.update (cyclomatic 27): DanmakuOverlayView.update 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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdca519d87ed2832174c063034c784d944b5afa1aff79f26201d005a3357b64b"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootProfileContext.closeProfile (cyclomatic 26): AppRootProfileContext.closeProfile has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5dd2303e6b12f61ca7cc2f76541eca87a81dfbc823d258f01b197785c8dd69"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentVideoLinksKt.parseCommentVideoLinks (cyclomatic 26): CommentVideoLinksKt.parseCommentVideoLinks 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/dev/openbili/webdemo/video/CommentVideoLinks.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae48716c0dd4eaa201aeadf7ddde3404a814d110a40f2cf2442e356349c3205c"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploreScreenKt.ExploreCategoryGridContent (cyclomatic 25): BangumiExploreScreenKt.ExploreCategoryGridContent has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"35caca867610a7a4c8db0a3b72869b9d12637399a5ad9459d00bb62e09dbd8ab"}},{"ruleId":"D1","level":"warning","message":{"text":"PopularFeedScreenKt.PopularFeedScreen (cyclomatic 24): PopularFeedScreenKt.PopularFeedScreen 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1156b5d68e304bdd23a56608ea22cc39f85b419272709c14678daaee70bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchViewModel.loadPage (cyclomatic 24): SearchViewModel.loadPage 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/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5043b3c24f3e25677fedf9a443ca4db6f3a7aed02ddde0f400d59972f527fe"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootUiValuesFileKt.computeAppRootUiValues (cyclomatic 24): AppRootUiValuesFileKt.computeAppRootUiValues has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootUiValuesFile.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be1cd429e9fc7d24b403b00a3749831d5f5784de8f32d8d5fb1b2df2bff43d"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomCapsuleKt.CapsuleItem (cyclomatic 24): BottomCapsuleKt.CapsuleItem 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/dev/openbili/webdemo/ui/BottomCapsule.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fcdefff27449ddcafa8ccfe9efce94eee24175cc4a8efe6633534f0cc1b386"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileCollectionScreenKt.ProfileCollectionGrid (cyclomatic 23): ProfileCollectionScreenKt.ProfileCollectionGrid 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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef3698fd51126c449b333a8b90bf9ce4949095af153390336de1368c426fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.startBackToPreviousVideo (cyclomatic 23): AppRootExitContext.startBackToPreviousVideo 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f06ee8ebcb96fed7413352a80f07588b6fba0f5e4f328833fc01e6d18284a2"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeExploreContent (cyclomatic 23): BangumiExploringRailKt.AnimeExploreContent has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ab6d9403421bf7f727dea1fed301f1dd666b7d1446d73f019a5861a44ac1c"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoScreenWidgetsKt.CommentImagePreviewPage (cyclomatic 23): VideoScreenWidgetsKt.CommentImagePreviewPage has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbd2e71a951bc3cd8d9ab8e9c7bf1d60ac58d4432f061464d100b7c708af651"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliBangumiApi.getBangumiSeason (cyclomatic 22): BiliBangumiApi.getBangumiSeason has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d01fb1fe6d85fb40fec58e89beb3a1f5a26d7fe655f81824e51d0eb507dfbdc"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeDynamicScreenKt.HomeDynamicScreen (cyclomatic 22): HomeDynamicScreenKt.HomeDynamicScreen has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50dc54a42e32052d6cd21e8fe3c1b486910b02d7db517f0d86a1e3357d7f0f5"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedVideosPaneKt.OfflineFeedCard (cyclomatic 22): CachedVideosPaneKt.OfflineFeedCard has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5b5d046f01667addcb93c5dc90d5707be5eb15159b7ab5d775402f42ed539f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileScreenKt.ProfileBangumiGrid (cyclomatic 22): ProfileScreenKt.ProfileBangumiGrid 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"843df7a98de396347248baa0be261c123bfa3753babc0e079fea4c70b1868c33"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.startExitVideoToProfile (cyclomatic 22): AppRootExitContext.startExitVideoToProfile has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"379d2fd7cc7f4d9505a5839cababf0412969cda2a4986abe69830747a30c6752"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerGesturesKt.twoFingerPlayerGesture (cyclomatic 22): PlayerGesturesKt.twoFingerPlayerGesture has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"091a2ce16b567978e5d1a6c33359ad1ae2b1d99b6eb8615c418c371221034221"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoSelectionPanelKt.VideoSelectionPanel (cyclomatic 22): VideoSelectionPanelKt.VideoSelectionPanel has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoSelectionPanel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6781e2241985e29bbb7a7af4aafc0c516804919d91dbd71d28b27737c1e4ef"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerViewModel.preparePlayer (cyclomatic 21): PlayerViewModel.preparePlayer has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2170246a5c2d24197020b79558bede7c6d2fcc4a3aede1e03cc2a60685e0811"}},{"ruleId":"D1","level":"warning","message":{"text":"LivePacketParser.parseBusinessMessages (cyclomatic 21): LivePacketParser.parseBusinessMessages has cyclomatic complexity 21 (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/dev/openbili/webdemo/live/LiveDanmakuClient.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7ae0e41a29397ff0855c2bf86dad60018dfd0bd5327661897bab3fbfbd4e58"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomViewModel.handleSocketEvent (cyclomatic 21): LiveRoomViewModel.handleSocketEvent has cyclomatic complexity 21 (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/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"b804694f41011d4d84b299d3fa09ebfcbf69e14b0d4a3b723471600cb943d40d"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedVideosPaneKt.CachedVideosPane (cyclomatic 21): CachedVideosPaneKt.CachedVideosPane 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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"146618b389b33ec3990a3aa443a4665f323ed0562a1dcdf7e8f3edb838cd8202"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedVideosPaneKt.BatchDeleteDialog (cyclomatic 21): CachedVideosPaneKt.BatchDeleteDialog 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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d339a7e6c16da711df7c7bfa22dcab698cec163ea1a1bf4de77a73f0cd602924"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootArticleLayerKt.AppRootArticleLayer (cyclomatic 21): AppRootArticleLayerKt.AppRootArticleLayer has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticleLayer.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d89a2cb1515e45fd5467529bf3eadab8e343db5c4b688406230a1a80ba2b76"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootEnterBangumiContext.startSearchBangumi (cyclomatic 21): AppRootEnterBangumiContext.startSearchBangumi has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"774d80305c78471f646c9a4714d2b2ca20e8210a7c0e01d6c42b79fbb5ff1f34"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootEnterBangumiContext.startProfileBangumi (cyclomatic 21): AppRootEnterBangumiContext.startProfileBangumi has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"49604a3c78e8e1ea604fe10bed8bed37b7d3a57216e0d3ed3efa803966e0ff33"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransitionsKt.CardTransitionOverlay (cyclomatic 21): AppTransitionsKt.CardTransitionOverlay has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf781db983380ee5fa3095304dceeb258816223eacac8a81ae8cdc322c6e52e"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlRemoteKt.resolveControlVideoSurfaceAction (cyclomatic 21): ControlRemoteKt.resolveControlVideoSurfaceAction has cyclomatic complexity 21 (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/dev/openbili/webdemo/ui/ControlRemote.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e7e03e517b586c4447ff3371f79abab5e61866b536949fa1211c0da3bf7ec8"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.MusicTransportControls (cyclomatic 21): HomeMusicRemoteControlsKt.MusicTransportControls has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"143df9cbba9a0f6049b5e0f48b6c9272105e0227c4e9f1837d31e0bf9c10f19d"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedScreenKt.FeedScreen (cyclomatic 20): FeedScreenKt.FeedScreen 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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b19af9cfe4951bc8602e9a12ee88ef4e5e733df6260d81ff98dac57634d6ff5"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenFollowingKt.FollowingPanel (cyclomatic 20): MyScreenFollowingKt.FollowingPanel 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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd25caf1230a3ea0a120ab87052091f83637c58900c4d8a7aadcb698572072f"}},{"ruleId":"D1","level":"warning","message":{"text":"MyViewModel.loadFollowingPage (cyclomatic 20): MyViewModel.loadFollowingPage 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363ca4c2aa211aa03c11d311c8bddee4de5559cf8145cece9e6d35dd3ef5d55"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineCacheChooserDialogKt.OfflineCacheChooserDialog (cyclomatic 20): OfflineCacheChooserDialogKt.OfflineCacheChooserDialog 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/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"258e458013aeda00ef06bd07b859bcb771476b6276cfd2098b01c7f372ff0d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootArticleContext.startEnterArticle (cyclomatic 20): AppRootArticleContext.startEnterArticle 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/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f07fa53c7174fb7bcfa0d63aca7b63d4ae752ac29a848bee9fd48442dd44a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootExitContext.startExitVideo (cyclomatic 20): AppRootExitContext.startExitVideo 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9baa69461ad0a67a75b5d3ca50f478ac1b706593a6512b874bedbb871237de"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploreScreenKt.ExploreFocusBanner (cyclomatic 20): BangumiExploreScreenKt.ExploreFocusBanner 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c43ee57a54477d158b402bb13bbee035f6a2753ba4f70f322d1f782b56ea50"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerPlaybackSelectionPanelKt.ControllerPlaybackSelectionPanel (cyclomatic 20): ControllerPlaybackSelectionPanelKt.ControllerPlaybackSelectionPanel 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/dev/openbili/webdemo/video/ControllerPlaybackSelectionPanel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1575f94a7aa8e0b9392c9fe46ef57e0fd410b071393a00ac97e0dac751aa4cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"SubtitleViewProtoParser.parseTrack (cyclomatic 19): SubtitleViewProtoParser.parseTrack has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac538b24a21bd472e3a28d961d2d4ace4e694dac4b4fcda44d25fda9a9517e86"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuProtoParser.parseElement (cyclomatic 19): DanmakuProtoParser.parseElement has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"194a4f986f8e6149e3bd1b6bd413ddf6be1849bec961bac7540fa2abb96a45ac"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeDynamicViewModel.load (cyclomatic 19): HomeDynamicViewModel.load 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/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2f5c7357685d9ff1c53085a1e69fb563895ee27226811f71e45839d0dc03cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootArticleContext.openInteractionTarget (cyclomatic 19): AppRootArticleContext.openInteractionTarget has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86e44dc4d51be39aeab2d960029daabfaaec733394324837fc6069699b82e96"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootEnterBangumiContext.startProfileVideo (cyclomatic 19): AppRootEnterBangumiContext.startProfileVideo 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9abf6a0563f54f7373ef684ac0220cf9c47d2496bb932941aec90004ae2405"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlRemoteKt.resolveControlPlayerAction (cyclomatic 19): ControlRemoteKt.resolveControlPlayerAction has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/ControlRemote.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e322ae23c7f96ad471c90bba9a4c7ec3eb98c1a36646161f9e7fc834b31dbecb"}},{"ruleId":"D1","level":"warning","message":{"text":"PressableVideoCardKt.PressableVideoCard (cyclomatic 19): PressableVideoCardKt.PressableVideoCard has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/PressableVideoCard.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a17436e0b21647e6775c080e8463384cdf9feb82772f0d4ab8d0596ae3b35"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliRichTextKt.BiliRichText (cyclomatic 19): BiliRichTextKt.BiliRichText 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/dev/openbili/webdemo/video/BiliRichText.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8353922dc8982413a06822e827932ae61a46f52b25ee4480364e3ecacbb81e5b"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliInteractionApi.parseAccountMessagePage (cyclomatic 18): BiliInteractionApi.parseAccountMessagePage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be8b57df5e2d2bc2706386f8a1c00bbd031708fba2f0449a046ee2fbd184e5"}},{"ruleId":"D1","level":"warning","message":{"text":"PopularFeedScreenKt.PopularVideoCard (cyclomatic 18): PopularFeedScreenKt.PopularVideoCard 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb11de87bed7c89ab564a43cb18efbb0c1533c12432014884d4faf21f2bafe12"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveRoomSecondaryKt.LiveRankSection (cyclomatic 18): LiveRoomSecondaryKt.LiveRankSection 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/dev/openbili/webdemo/live/LiveRoomSecondary.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0beac646268d4ab501c4104c91317f29660469f788c968e001816464c57a9546"}},{"ruleId":"D1","level":"warning","message":{"text":"MyViewModel.updateFavoriteFolders (cyclomatic 18): MyViewModel.updateFavoriteFolders 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"018ff3197bb9ace4de9958aa5091ab653553a4878906ef1d40ba55520ae03fab"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchLaterViewModel.update (cyclomatic 18): WatchLaterViewModel.update 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/dev/openbili/webdemo/my/WatchLaterViewModel.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"397abd0aa29aa103eee394b0d2b0f16d642cbade494e0dbfa69b07e54c4d0b44"}},{"ruleId":"D1","level":"warning","message":{"text":"OfflineMediaManager.prepareAndQueue (cyclomatic 18): OfflineMediaManager.prepareAndQueue 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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d778fb793848e4778d30ed379f6143caa8ad9527c604ea8129f475ffb0e15af"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootProfileOverlayKt.AppRootProfileOverlay (cyclomatic 18): AppRootProfileOverlayKt.AppRootProfileOverlay 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/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c0eac370bc941bfc1eca4f9c8e387f805603dc961831b223bf5b0514000883"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiRecommendationFallbackWithExplore (cyclomatic 18): BangumiRecommendationScreenKt.BangumiRecommendationFallbackWithExplore 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"472b88c39c48ed6c53280565042170653470413330b1745a4bd4b6ec7c9b9581"}},{"ruleId":"D1","level":"warning","message":{"text":"DanmakuOverlayView.drawDanmaku (cyclomatic 18): DanmakuOverlayView.drawDanmaku 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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad0fec5bd3d036b5b9dd56cb22eb67b670ffc30da8dc15c5ce65270bfa448c"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoSelectionOverlayKt.VideoSelectionOverlay (cyclomatic 18): VideoSelectionOverlayKt.VideoSelectionOverlay 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/dev/openbili/webdemo/video/VideoSelectionOverlay.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7060efa84d71a6476bc4ac0372535a38c10b937155d1adba7e9a735ce5cf0441"}},{"ruleId":"D1","level":"warning","message":{"text":"BaselineProfileGenerator.captureBaselineProfile (cyclomatic 18): BaselineProfileGenerator.captureBaselineProfile 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":"baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d89cd135689fba7898fe3b94647b0aeb04edbfecfe0ca4e744a12a5dcee3b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"BiliVideoApi.parsePlayUrlData (cyclomatic 17): BiliVideoApi.parsePlayUrlData has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e1c2c732763729848eca4bf0fce8ed523e495076904253389937a38020e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"MyScreenFollowingKt.FollowingUserCard (cyclomatic 17): MyScreenFollowingKt.FollowingUserCard 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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7cb22a857599b57678cadeef2429db1c329874acf9f7d59aec7c3a73b79076"}},{"ruleId":"D1","level":"warning","message":{"text":"MyViewModel.loadHistoryPeriodPage (cyclomatic 17): MyViewModel.loadHistoryPeriodPage 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d6befb566d6ec47a3715dc1ea7c8653fd0ee6cdf7ac41f60ded17a95506be1"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileDynamicScreenKt.DynamicImageGrid (cyclomatic 17): ProfileDynamicScreenKt.DynamicImageGrid 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ce5b33a7187a94011cc070bb210713b9b1fde8f614e53e2388dbf1cfafce4e"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeHotStackCard (cyclomatic 17): BangumiExploringRailKt.AnimeHotStackCard 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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d49b7dce0013b28a105675e16207b0f440509495012f5edb3144eb2e21fb23"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiRecommendationScreenKt.bangumiPreviewPriority (cyclomatic 17): BangumiRecommendationScreenKt.bangumiPreviewPriority has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"806a7e3bf00f946fcba9a3aa89a0a5d792c78aaf7c30ba10a54faabbce971389"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeHubScreenKt.HomeHubTabCapsule (cyclomatic 17): HomeHubScreenKt.HomeHubTabCapsule 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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"67571d9b99a3b0f841464ebdc76aac611c0e1f2ad129f2f935e79d554917f5dc"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.MusicProgressBar (cyclomatic 17): HomeMusicRemoteControlsKt.MusicProgressBar 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/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e19c7eec09d8fa1377765d6b5c8536a83cde71d0ad945c618baec7fc612e7"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoScreenDialogsKt.VideoScreenDialogs (cyclomatic 17): VideoScreenDialogsKt.VideoScreenDialogs 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/dev/openbili/webdemo/video/VideoScreenDialogs.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab5816b8e8598334dbd172c3f02a33d3168a777d32fa4239c7ffcb277657a45"}},{"ruleId":"D1","level":"warning","message":{"text":"PopularFeedScreenKt.PopularSectionBar (cyclomatic 16): PopularFeedScreenKt.PopularSectionBar 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"324d7ee51541516abb69cbcfbaf33e27aa4107fc8311b02d867f456098646498"}},{"ruleId":"D1","level":"warning","message":{"text":"MyViewModelModelsKt.normalizePrivateMessageHistory (cyclomatic 16): MyViewModelModelsKt.normalizePrivateMessageHistory 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/dev/openbili/webdemo/my/MyViewModelModels.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d251053b06bff3b28f4e3328842bc1b54e826d3e78a771d10d68a8ae4aad8f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootArticleContext.startExitArticle (cyclomatic 16): AppRootArticleContext.startExitArticle 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/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c569143e5be6838e9352476d4f99af6b91d45588d1ad97b846453cdd846f05e9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootEnterBangumiContext.startRootBangumi (cyclomatic 16): AppRootEnterBangumiContext.startRootBangumi 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd157742b593628e544091b0f8a498731f389ff674fe7b7a39359dda91b1f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRootOverlayTransitionsKt.closeSearchResultsAnimated (cyclomatic 16): AppRootOverlayTransitionsKt.closeSearchResultsAnimated 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0314aaf538b95cea3bd25fa5a40075c3a5c21719fa6c77c9daccb6ddaddc9bfd"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeHotHeroContent (cyclomatic 16): BangumiExploringRailKt.AnimeHotHeroContent 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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a358002cfd290b98c31b36c090890a0805218f34d71a434f2940fcff7f69c843"}},{"ruleId":"D1","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiPreviewPlayer (cyclomatic 16): BangumiRecommendationScreenKt.BangumiPreviewPlayer 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ec8d4f07d912083dc4ad7100e5c47708ccba90b884b702649ce20c3f115cf"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeHubScreenKt.HomeGlassIconButton (cyclomatic 16): HomeHubScreenKt.HomeGlassIconButton 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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"427d0a30b51e8a37f109ab65b10aab7c0113dc65d371cc624a717d1edef7f9e7"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicPlayerScreenKt.MusicPlayerPane (cyclomatic 16): HomeMusicPlayerScreenKt.MusicPlayerPane 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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"69700b4a1e006ad175d3855f070aa3bb9897bfda1e5214bfc2d7d23b8726082e"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.AdvancedAudioButton (cyclomatic 16): HomeMusicRemoteControlsKt.AdvancedAudioButton 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/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"85754235e70aa9f74c2340b43e953650a7019b4ffd6373795c1af7f5f8cd1fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoHeaderContentKt.ReplyThreadPanel (cyclomatic 16): VideoHeaderContentKt.ReplyThreadPanel 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/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b26621c257ed48e79962b29afd059e25b0f52d0ad9c883baabf0b0f3bc035ad"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoPageContentKt.VideoContent (cognitive 273): VideoPageContentKt.VideoContent has cognitive complexity 273 (threshold 15). Drivers by points: if/else 153 (223 pts), boolean chains 40, loops 3 (5 pts), match/switch 3 (5 pts) (nesting depth added 74). To reduce it, split the body into named stages: move each independent step or branch into 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/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"79388d25036619bf25f688726f07e067783be06459adc42e7169ba4ace1e8495"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenKt.VideoScreen (cognitive 240): VideoScreenKt.VideoScreen has cognitive complexity 240 (threshold 15). Drivers by points: if/else 125 (169 pts), boolean chains 63, match/switch 4 (7 pts), loops 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into 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/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cdbb88813d3dc1c60a9636777e63ff70401207ddb93ace3b37a5776dc7d660"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootFeedContext.FeedLayer (cognitive 216): AppRootFeedContext.FeedLayer has cognitive complexity 216 (threshold 15). Drivers by points: if/else 63 (190 pts), boolean chains 22, match/switch 1 (4 pts) (nesting depth added 130). 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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0327832695679d36e397b447acaf96b660a2a8737be0e8c7bcb061962ab5c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeHubScreenKt.HomeHubScreen (cognitive 184): HomeHubScreenKt.HomeHubScreen has cognitive complexity 184 (threshold 15). Drivers by points: if/else 101 (119 pts), boolean chains 40, match/switch 11 (22 pts), loops 3 (nesting depth added 29). 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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ef8094185f3f7355a630547a698c002be7e54402ab70053eb083aab671a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentCardKt.CommentRow (cognitive 181): CommentCardKt.CommentRow has cognitive complexity 181 (threshold 15). Drivers by points: if/else 126 (154 pts), boolean chains 25, match/switch 2 (nesting depth added 28). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c184a062c4b97ede2ecfd58b9de12937637c5de7374b72ee0faa646be0866"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootVideoContext.VideoLayer (cognitive 140): AppRootVideoContext.VideoLayer has cognitive complexity 140 (threshold 15). Drivers by points: if/else 44 (104 pts), boolean chains 26, match/switch 3 (10 pts) (nesting depth added 67). 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/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53788a5140dcb6c5abcc3e6fc28cc6bfe922d84f7c6ffab0d745d1bea4ab621"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuMaskParser.flattenPathData (cognitive 139): DanmakuMaskParser.flattenPathData has cognitive complexity 139 (threshold 15). Drivers by points: if/else 63 (121 pts), loops 9 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into 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/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ba272a88bc005cfc2d87ecf428ad70ac3c16af49728172acb7eddc693ea2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileDynamicScreenKt.ProfileDynamicGrid (cognitive 130): ProfileDynamicScreenKt.ProfileDynamicGrid has cognitive complexity 130 (threshold 15). Drivers by points: if/else 56 (109 pts), boolean chains 19, match/switch 1 (2 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e38fb85858bc5062550868df26658006f0461ee76e545efa55e9127cf9c2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicPlayerScreenKt.HomeMusicPlayerScreen (cognitive 122): HomeMusicPlayerScreenKt.HomeMusicPlayerScreen has cognitive complexity 122 (threshold 15). Drivers by points: if/else 77 (90 pts), boolean chains 24, loops 4 (5 pts), match/switch 3 (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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dfd24a62502aa683a2d04b6fb627484a537cd11a05fefe2f834e8e66f1b21a"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoActionDialogsKt.RecommendationCard (cognitive 122): VideoActionDialogsKt.RecommendationCard has cognitive complexity 122 (threshold 15). Drivers by points: if/else 62 (111 pts), boolean chains 6, match/switch 2 (5 pts) (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/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"4014d30625e678c38184e30f6ea0a6a9ff775d92095f07e7d779831ece3842aa"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootKt.AppRoot (cognitive 92): AppRootKt.AppRoot has cognitive complexity 92 (threshold 15). Drivers by points: if/else 58 (64 pts), boolean chains 26, loops 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9fa230c09245f964a4a109b60d8b13efc1922def332efa3acc448468187649"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomScreenKt.LivePlayerCard (cognitive 90): LiveRoomScreenKt.LivePlayerCard has cognitive complexity 90 (threshold 15). Drivers by points: if/else 52 (66 pts), boolean chains 18, match/switch 3 (5 pts), loops 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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf073b75885d282421feb0bb2f601d1755be52afd72b9bce8947b5b2d907e4b9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootTailKt.appRootTailContent (cognitive 89): AppRootTailKt.appRootTailContent has cognitive complexity 89 (threshold 15). Drivers by points: if/else 52 (58 pts), boolean chains 28, match/switch 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f13d61c455a9601529a6a4625a243fd0b4e2577304fd18fb791a76b0f44da"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiRecommendationScreen (cognitive 87): BangumiRecommendationScreenKt.BangumiRecommendationScreen has cognitive complexity 87 (threshold 15). Drivers by points: if/else 48 (52 pts), boolean chains 30, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a43c0e23d77fa9d30858faf33ebd246ffb5269666250b5eef6a04f9ed08e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleScreenKt.ArticleScreen (cognitive 85): ArticleScreenKt.ArticleScreen has cognitive complexity 85 (threshold 15). Drivers by points: if/else 59 (63 pts), boolean chains 20, error handling 1, 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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca006b341b31841cad3a88a999235b7a8c5d51c0f72974bda23b570967854c"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicTrackListKt.MusicTrackList (cognitive 82): HomeMusicTrackListKt.MusicTrackList has cognitive complexity 82 (threshold 15). Drivers by points: if/else 45 (57 pts), boolean chains 18, match/switch 3 (7 pts) (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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b860ac61fd60e8c52ab0e76910553bf41adab6f830b1eed61a81d2eee538426c"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerFullscreenPlaybackScreenKt.ControllerFullscreenPlaybackScreen (cognitive 82): ControllerFullscreenPlaybackScreenKt.ControllerFullscreenPlaybackScreen has cognitive complexity 82 (threshold 15). Drivers by points: if/else 48 (55 pts), boolean chains 18, match/switch 5 (8 pts), loops 1 (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/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0860905fd0f79d473c7272e7332e686237901aeaa9061bde80665636c16445"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startExitRootBangumi (cognitive 81): AppRootExitContext.startExitRootBangumi has cognitive complexity 81 (threshold 15). Drivers by points: if/else 40 (66 pts), boolean chains 14, match/switch 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d05140b8ee1c75d2e8877dd8b68963c1a8c44de8eb9f216a7365f39fb63aa"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicLibraryPaneKt.MusicLibraryPane (cognitive 70): HomeMusicLibraryPaneKt.MusicLibraryPane has cognitive complexity 70 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 20, match/switch 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2eeea68e3f182532406b37ffc8be6b8cc2e1f5a86aca3c7d0535cc71ad6fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileScreenKt.ProfileScreen (cognitive 68): ProfileScreenKt.ProfileScreen has cognitive complexity 68 (threshold 15). Drivers by points: if/else 40 (50 pts), boolean chains 13, match/switch 3, error handling 2 (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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"272515f1efeb3c8900fb7cd6ff4d6808baecf95344628a879f96c6f9c1a0fc21"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileDynamicScreenKt.DynamicDetail (cognitive 67): ProfileDynamicScreenKt.DynamicDetail has cognitive complexity 67 (threshold 15). Drivers by points: if/else 51 (56 pts), boolean chains 10, 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c69496b781f78bc808c6d63ef13d26b62e94279ad338ce196fac7a02954b161"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootEnterBangumiContext.startEnterVideo (cognitive 66): AppRootEnterBangumiContext.startEnterVideo has cognitive complexity 66 (threshold 15). Drivers by points: if/else 38 (48 pts), boolean chains 13, loops 2 (4 pts), match/switch 1 (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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa264d14ee22a05e4995893c67d474209a5381245d855073fb03804aa5283f"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenMessagesKt.NativeMessagePane (cognitive 65): MyScreenMessagesKt.NativeMessagePane has cognitive complexity 65 (threshold 15). Drivers by points: if/else 30 (49 pts), boolean chains 13, match/switch 1 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b77b72495ae698ae8bf8a47636ae44f453f523fe013f528da13cec45a1176f"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenHistoryKt.HistoryPanel (cognitive 63): MyScreenHistoryKt.HistoryPanel has cognitive complexity 63 (threshold 15). Drivers by points: if/else 32 (40 pts), boolean chains 17, match/switch 4 (6 pts) (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/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f533460e224c3d8b6c3f64f78a9ad85c31c126306c1eeb14290aed6ccd5e79bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileScreenKt.ProfileHeader (cognitive 63): ProfileScreenKt.ProfileHeader has cognitive complexity 63 (threshold 15). Drivers by points: if/else 45 (51 pts), boolean chains 8, match/switch 4 (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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"90da49a07f899903176a5f6c42ccf5621134557b8df63f7c020a530a8fe8c1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.DanmakuComposer (cognitive 63): PlayerControlsKt.DanmakuComposer has cognitive complexity 63 (threshold 15). Drivers by points: if/else 55 (59 pts), boolean chains 4 (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/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dffccd1fdfba67bb0c7733fd9d249c9ea770b8dd6fec0eb6eb0d37aeed311ef"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiIndexScreenKt.BangumiIndexScreen (cognitive 62): BangumiIndexScreenKt.BangumiIndexScreen has cognitive complexity 62 (threshold 15). Drivers by points: if/else 30 (40 pts), boolean chains 20, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d214c618cf8a5464a49d0cb2535c87d73ce46094e38704291f96204bd61e09"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenKt.MyScreen (cognitive 61): MyScreenKt.MyScreen has cognitive complexity 61 (threshold 15). Drivers by points: if/else 38 (43 pts), boolean chains 15, match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"703fcd52d4ba2c3242c6fa8a423c03998115409848d6db542573fa8fc0be0cee"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileContext.closeProfile (cognitive 61): AppRootProfileContext.closeProfile has cognitive complexity 61 (threshold 15). Drivers by points: if/else 33 (61 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"872575a0dbaffde872c4c4097189f4f6ba0f046747e87940026f1d4669ec71ca"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.select (cognitive 59): MyViewModel.select has cognitive complexity 59 (threshold 15). Drivers by points: if/else 38 (53 pts), boolean chains 4, error handling 1, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f04afc500ddb58b3aad1e8ac661d1d57283e63cfdf9ddbd6c1d3149459acc2"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeFollowingSection (cognitive 59): BangumiExploringRailKt.AnimeFollowingSection has cognitive complexity 59 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 16, match/switch 3 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1591e22328fc79a60a7c34c5c378df355f3f4b9182b9ce3d7689a1681901eb"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedVideosPaneKt.BatchDeleteDialog (cognitive 58): CachedVideosPaneKt.BatchDeleteDialog has cognitive complexity 58 (threshold 15). Drivers by points: if/else 34 (54 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"4828f780be5e73d4d83960195c8b9fd5c7e656a9983c6842806432fdb083d2a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileLayerKt.AppRootProfileLayer (cognitive 58): AppRootProfileLayerKt.AppRootProfileLayer has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 34, if/else 18, match/switch 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4808a977abbe4b89144f6636d1d092e1941282189936fb7d67952a885fc73d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenMessagesKt.PrivateMessageBubble (cognitive 55): MyScreenMessagesKt.PrivateMessageBubble has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (47 pts), boolean chains 8 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e6f7a810ab22d5041edf83d580a3307cd143faea14b6f3b436f4869089d8db"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.reverseActiveEnter (cognitive 55): AppRootExitContext.reverseActiveEnter has cognitive complexity 55 (threshold 15). Drivers by points: if/else 36 (47 pts), boolean chains 7, match/switch 1 (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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad2456f780af5234fb7a4ce810566d47001c226891d5be02286f7f8db8618f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomControlNavigationKt.LiveRoomControllerPlaybackScreen (cognitive 54): LiveRoomControlNavigationKt.LiveRoomControllerPlaybackScreen has cognitive complexity 54 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 12, match/switch 5 (6 pts), loops 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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"37442ad1d4ae981b62bc3bea8a00651d9380df9c80109b02f4715b73582b9f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliBangumiApi.resolveVideoBvid (cognitive 53): BiliBangumiApi.resolveVideoBvid has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 4 (11 pts), boolean chains 7 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1998896d5fa9a5985ee889832224a8d5f73c62e6bd3bb7400993e212b303346"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliHistoryApi.parseHistoryResponse (cognitive 53): BiliHistoryApi.parseHistoryResponse has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 12, match/switch 4 (10 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc6aab11b1e7b6329a52c83dd4054b72162b74e5e58c2b5b56a52ab1115b85"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startExitBangumi (cognitive 53): AppRootExitContext.startExitBangumi has cognitive complexity 53 (threshold 15). Drivers by points: if/else 32 (48 pts), boolean chains 3, loops 1 (2 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc8cc256ec105f3b04b69b8ed7b9959fb8308a5655e32ad914da279bc9bc6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomScreenKt.LiveRoomScreen (cognitive 52): LiveRoomScreenKt.LiveRoomScreen has cognitive complexity 52 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 17, match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"966e8ea649c94fd50c0536ed31fed774c01dfa3359e22bfb886397a124a7db6c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootPlayerKt.AppRootPlayerEffects (cognitive 52): AppRootPlayerKt.AppRootPlayerEffects has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (38 pts), boolean chains 10, loops 2 (3 pts), match/switch 1 (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/dev/openbili/webdemo/ui/AppRootPlayer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9422d7b7b1ee6639a05156f4b9c8cc1a155fdeb86445a2d45cc93811ee986"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiCardStack (cognitive 52): BangumiRecommendationScreenKt.BangumiCardStack has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 11, loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d2e98a7110072b0596ee224363ba97777a00fa001fbcb19a9cc4a38ebda254"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentComposerKt.CommentComposer (cognitive 52): CommentComposerKt.CommentComposer has cognitive complexity 52 (threshold 15). Drivers by points: if/else 40 (45 pts), boolean chains 7 (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/dev/openbili/webdemo/video/CommentComposer.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"72304fa20adddc2e27075a26803e54fe2e678d5b9f200a8f9aa85831f43b6a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerGesturesKt.twoFingerPlayerGesture (cognitive 52): PlayerGesturesKt.twoFingerPlayerGesture has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (44 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 28). 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/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2244a3b3f4c7f4872f61d14c1fd5360bca08da166062318534e212788c9eca5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startExitVideoToProfile (cognitive 51): AppRootExitContext.startExitVideoToProfile has cognitive complexity 51 (threshold 15). Drivers by points: if/else 27 (47 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a02677698e241023eb0c330c962cfc1a5adffa805924238e64a31b9a301a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackHeaderKt.PlaybackHeader (cognitive 51): PlaybackHeaderKt.PlaybackHeader has cognitive complexity 51 (threshold 15). Drivers by points: if/else 32 (39 pts), boolean chains 6, match/switch 4 (6 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlaybackHeader.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40febab6076152e82faa9c12a7a59500f7d4c41c533469cfaa4a5eb935ff255"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchScreenKt.SearchScreen (cognitive 50): SearchScreenKt.SearchScreen has cognitive complexity 50 (threshold 15). Drivers by points: if/else 32 (41 pts), boolean chains 8, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba87f01de37ac2d88a6d1400e2743ab3e3c6177144cf89ea64c596ae7dc2d2"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoHeaderContentKt.VideoInfoTile (cognitive 50): VideoHeaderContentKt.VideoInfoTile has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (43 pts), match/switch 2 (4 pts), boolean chains 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/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd8b246628bf4a9c7291cdd3e1cd39a3d87310f685c2c384f6c202fe03905a5"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedScreenKt.FeedCard (cognitive 49): FeedScreenKt.FeedCard has cognitive complexity 49 (threshold 15). Drivers by points: if/else 32 (42 pts), boolean chains 7 (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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7193ffd10a3822dad42627ee177b082b07b96fd0acda75df79940b6dd460ead"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploreScreenKt.BangumiExploreScreen (cognitive 49): BangumiExploreScreenKt.BangumiExploreScreen has cognitive complexity 49 (threshold 15). Drivers by points: if/else 31 (34 pts), boolean chains 13, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"313b689fe28781d28e53685d938624b9d06c43f2869cc60533d2099085040b04"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.ModernPlayerControls (cognitive 49): PlayerControlsKt.ModernPlayerControls has cognitive complexity 49 (threshold 15). Drivers by points: if/else 36 (42 pts), boolean chains 7 (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/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"efde7dddeef44278d745f4c969987b44e4d4ae6d24558c43b31b5e6ba81f3304"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerGesturesKt.PlayerGestureLayer (cognitive 49): PlayerGesturesKt.PlayerGestureLayer has cognitive complexity 49 (threshold 15). Drivers by points: if/else 31 (37 pts), boolean chains 9, match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"49165b0399f0b240e29e1024a691528f44913b5807417982234900c8f349312c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchScreenKt.SearchResultsScreen (cognitive 46): SearchScreenKt.SearchResultsScreen has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32 (33 pts), boolean chains 13 (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/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bfbc8d490a3897258be4c7c5fd5a11ecefd89ffd4dfda7f4cd3cc979fc037d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootUiOverlaysKt.AppRootUiOverlays (cognitive 46): AppRootUiOverlaysKt.AppRootUiOverlays has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 16, loops 3 (6 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d48e84dc609ac82ef1119abe1fe8498d45a5c5160c347f0be6c8847521053b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenSettingsKt.SettingsPane (cognitive 45): MyScreenSettingsKt.SettingsPane has cognitive complexity 45 (threshold 15). Drivers by points: if/else 37 (41 pts), boolean chains 2, match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d012573c7c040f1d7b8ad903bd2eae676ee69221c5c8832262c940cb41d4c0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startBackToPreviousVideo (cognitive 45): AppRootExitContext.startBackToPreviousVideo has cognitive complexity 45 (threshold 15). Drivers by points: if/else 28 (42 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a21c812a6b13fb56b687a7499bfa3037f8ea7f0d672bda6bf37dc502d5626c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerPlaybackStateKt.resolveControllerPlaybackKeyAction (cognitive 45): ControllerPlaybackStateKt.resolveControllerPlaybackKeyAction has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24 (35 pts), match/switch 3 (6 pts), boolean chains 4 (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/dev/openbili/webdemo/video/ControllerPlaybackState.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"902a24e6754ac482b1f43936c7a2ee5595319cb0899147caf82ecd59fa4060c0"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenFavoritesKt.VideoPanel (cognitive 44): MyScreenFavoritesKt.VideoPanel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (33 pts), boolean chains 10, match/switch 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de434cddaf890b0dae314f18e241c908a3a2b1dfb2f1b29b2d09df709b8a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileContext.openCommentProfileFrom (cognitive 44): AppRootProfileContext.openCommentProfileFrom has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 20 (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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7ece34632646c89dcb0ec8c5ad5363d9686edc502f4719b387501280b191c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileScreenKt.ProfileMenu (cognitive 43): ProfileScreenKt.ProfileMenu has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 10, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a2c5e7ce55b22faae72381422febeedfd2b36843bee314d89426926c1a83e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileContext.openAvatarProfileFrom (cognitive 43): AppRootProfileContext.openAvatarProfileFrom has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 17 (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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5d62123e59026e126bc9e00ca6a6dfdbeb484ad934f16c48365ad8e5ed8a01"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenWidgetsKt.VideoActionPanel (cognitive 42): VideoScreenWidgetsKt.VideoActionPanel has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 14 (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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bd8aca2623745c4252f18994b7d6152d8fd624c07a87b291555283c7750557"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileCollectionScreenKt.ProfileCollectionGrid (cognitive 41): ProfileCollectionScreenKt.ProfileCollectionGrid has cognitive complexity 41 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 4, 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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74d7be6e07b50a292c9ccce85d4144609d83786d358b99d3bde2126e21fc8a2"}},{"ruleId":"D2","level":"warning","message":{"text":"PopularFeedScreenKt.PopularVideoCard (cognitive 37): PopularFeedScreenKt.PopularVideoCard has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ad784855275d10bab54e3021c41dc627db6e4ef94c6d8d3a01dabf7f08c4b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileDynamicScreenKt.DynamicImageGrid (cognitive 37): ProfileDynamicScreenKt.DynamicImageGrid has cognitive complexity 37 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"86912bba8edc1093ade4b69ed221d8b2ce8773b7847417bf0eac2fb6cee624df"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootLiveLayerKt.AppRootLiveLayer (cognitive 36): AppRootLiveLayerKt.AppRootLiveLayer has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 9, 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/dev/openbili/webdemo/ui/AppRootLiveLayer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5956feb0615db5138eebb643bece49e7355174dafda9993eddcc75fd2148b6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoSelectionPanelKt.VideoSelectionPanel (cognitive 36): VideoSelectionPanelKt.VideoSelectionPanel has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 7 (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/dev/openbili/webdemo/video/VideoSelectionPanel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bbcf995613de91c4f65226bbfeffa93bdee62d209634dff7776dc0e158c793"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootArticleContext.startEnterArticle (cognitive 35): AppRootArticleContext.startEnterArticle has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f812241c196d5913ddc93fe38d5efa7ccc84d52701ffda086db6684f9b5ed87a"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuOverlayView.update (cognitive 35): DanmakuOverlayView.update has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 10 (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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ea260d8131035f9eac2c21d0b4b807d536ec1871a371fe12394a122ad0ae44"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenWidgetsKt.CommentImagePreviewPage (cognitive 35): VideoScreenWidgetsKt.CommentImagePreviewPage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 27 (31 pts), boolean chains 4 (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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61bdbd2722f07297a6f56c3b378bf274fed4a18376c47e03948600fad5851e2"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedVideosPaneKt.CachedVideosPane (cognitive 34): CachedVideosPaneKt.CachedVideosPane has cognitive complexity 34 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 4, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df8870d60bef77bd0f48db04e3241806f31d1495f7eadcf71bbbb59ca7c395"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransitionsKt.CardTransitionOverlay (cognitive 34): AppTransitionsKt.CardTransitionOverlay has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be6ed5e892cdc8effb131183a52c43f11dd55489a77161388e5a6f8a2ef3cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliBangumiApi.getBangumiSeason (cognitive 33): BiliBangumiApi.getBangumiSeason has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 4 (7 pts), boolean chains 6 (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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"e945596d566bc41bf1022caa94e1a1cc6599dada198a2cc88170009a05cac531"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootArticleContext.openInteractionTarget (cognitive 33): AppRootArticleContext.openInteractionTarget has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 5, 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/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"522c29369c4fa660abd215aabf9f471879164594e8393fda90fb25dc7c833db2"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploreViewModel.loadFollowing (cognitive 32): BangumiExploreViewModel.loadFollowing has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19, boolean chains 12, 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/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d61b3ea5e5a8f7921c040a9357917a95c251e2698675447a706ee299a537e3"}},{"ruleId":"D2","level":"warning","message":{"text":"PopularFeedViewModel.loadCurrent (cognitive 32): PopularFeedViewModel.loadCurrent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 4, match/switch 2, 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/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de47a4ddc410dd274b5a6b0e0a2ed7afe1e8fc76090ff346af7cb246ae6525"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchLaterViewModel.update (cognitive 32): WatchLaterViewModel.update has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"193221ebb7d730849d6606c46b4633e2b32100f26497f9738059b9624c4c0dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineCacheChooserDialogKt.OfflineCacheChooserDialog (cognitive 32): OfflineCacheChooserDialogKt.OfflineCacheChooserDialog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 7 (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/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1153a0205d315510cc88c6bc43f9d73b6eaf2519066d73e3c42f84e385ff2cb"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootEnterBangumiContext.startSearchBangumi (cognitive 32): AppRootEnterBangumiContext.startSearchBangumi has cognitive complexity 32 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 2, match/switch 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dda36e0e280e44e1753d14af285eb795b13d8897f65b674c0493a0157502fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootEnterBangumiContext.startProfileBangumi (cognitive 32): AppRootEnterBangumiContext.startProfileBangumi has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (28 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60f83e61f75c7c4b53b3f279fdad422eec93e6b9d4695bd86ce750c6d18f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.loadPage (cognitive 31): SearchViewModel.loadPage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 2, match/switch 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5864bc959fbdd81e11443202c5cbf1e2611191f20b67acc818bbd6417fec14f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileOverlayKt.AppRootProfileOverlay (cognitive 31): AppRootProfileOverlayKt.AppRootProfileOverlay has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd2e38b457ae2ecdae2fbea8b3f2fac15a105f99c9edb5bbec6ea47a92faf4c"}},{"ruleId":"D2","level":"warning","message":{"text":"PressableVideoCardKt.PressableVideoCard (cognitive 31): PressableVideoCardKt.PressableVideoCard has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/PressableVideoCard.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3712c56b289d3813c6f3f0ca45b3bb4d417ea278701d659e6fa7fbc839c62b"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.loadFollowingPage (cognitive 30): MyViewModel.loadFollowingPage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6faa7e9f93b0e2284dd4e9d040348ce896911d0960be9fd7a38c76560644b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootArticleContext.startExitArticle (cognitive 30): AppRootArticleContext.startExitArticle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9611a804b06aa2d6e2353c68d4e20c84ab1122db45f4d6a175b22015f384852d"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploreScreenKt.ExploreCategoryGridContent (cognitive 30): BangumiExploreScreenKt.ExploreCategoryGridContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 8, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2414f104ab6f253e636602ff8c6191bc9e2e72a42748d0a7e72f4cae09d3069d"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeExploreContent (cognitive 30): BangumiExploringRailKt.AnimeExploreContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 5 (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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e172f9f1157607c0b934e2a9e0b90a98c8b64a9f8153f1b3cc9afbf066a1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuOverlayView.drawDanmaku (cognitive 30): DanmakuOverlayView.drawDanmaku has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 6, 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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa0ed72be40916084f40bde147716a1cd00bc7d6c064c552388f591947c35e"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuOverlayView.applySmartMaskClip (cognitive 30): DanmakuOverlayView.applySmartMaskClip has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b54daeaf7299e89df93b08cea1ebaef33bdafd60f9e1cf92e84031f40d66aed"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoSelectionOverlayKt.VideoSelectionOverlay (cognitive 30): VideoSelectionOverlayKt.VideoSelectionOverlay has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoSelectionOverlay.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a7bd5f47a84fe372d8909b304cf4fc98184467d9d3f8475a900df2d351166"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeDynamicScreenKt.HomeDynamicScreen (cognitive 29): HomeDynamicScreenKt.HomeDynamicScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385e6c6b029dc8c4b9ef41693b65be8a359f865f2e9474286e198b1c216e410"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeDynamicViewModel.load (cognitive 29): HomeDynamicViewModel.load has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 5, 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/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac3f491658e90b3c68eeb70961dd865baf87e096aee5b1405259e18cc2f2504"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentVideoLinksKt.parseCommentVideoLinks (cognitive 29): CommentVideoLinksKt.parseCommentVideoLinks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, 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/dev/openbili/webdemo/video/CommentVideoLinks.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d29a1a777d0f48cc779e6c5751704b200d109768dff75c118ec22971bfd7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerPlaybackSelectionPanelKt.ControllerPlaybackSelectionPanel (cognitive 29): ControllerPlaybackSelectionPanelKt.ControllerPlaybackSelectionPanel has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackSelectionPanel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"01672f43f12bf0f64d81c90aeeb41b006e3993c27e0ebe26bf58cd0b8bb6f376"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliInteractionApi.parseLikeMessagePage (cognitive 28): BiliInteractionApi.parseLikeMessagePage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (9 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b8e0c1c4467e900fbb7cc33233026cc720a3d98fb7dec09b1d9cbd14f002c8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startExitVideo (cognitive 28): AppRootExitContext.startExitVideo has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e775e7e15852ba2082f8439790f84fea49e894c78bc7cdec6d7ccf62d39ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomCapsuleKt.CapsuleItem (cognitive 28): BottomCapsuleKt.CapsuleItem has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 5, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BottomCapsule.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7ca49963d011d23909fa7ed3087c8aa3ff2f0f9ffb7b35e02217e86ffd0fb"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeHubScreenKt.HomeHubTabCapsule (cognitive 28): HomeHubScreenKt.HomeHubTabCapsule has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22ece174623b509bf60f7769b1cd5e0c8c5317046020dcf18f19144b94e09b0"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenFollowingKt.FollowingUserCard (cognitive 27): MyScreenFollowingKt.FollowingUserCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24 (25 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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"21480104e7f48f2d24da50caee7e13a437761e8d1a5e4e90131557f83e708829"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeHotStackCard (cognitive 27): BangumiExploringRailKt.AnimeHotStackCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0042c65655670b8ba1d3253836010d50e709cc826b1ed0b591257a6995f8b47"}},{"ruleId":"D2","level":"warning","message":{"text":"FollowButtonKt.FollowButton (cognitive 27): FollowButtonKt.FollowButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25 (27 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/FollowButton.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9a61faaafc22db8a8dc44643857aa888375e71ac61fab50509bc069f9c21a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.MusicProgressBar (cognitive 27): HomeMusicRemoteControlsKt.MusicProgressBar has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 3, 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/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"59325d86effebe6c269db63106fac1d3beb9b6615540797d9820264890f1c598"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlWidgetsKt.YoutubeSeekBar (cognitive 27): PlayerControlWidgetsKt.YoutubeSeekBar has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 2, match/switch 1 (2 pts), 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/dev/openbili/webdemo/video/PlayerControlWidgets.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aa995fc94c43d98f052c6a7e68c08c7b5e4ed248f67b597783c6e70dc1ee3a"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliArticleApi.parseArticleParagraphs (cognitive 26): BiliArticleApi.parseArticleParagraphs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliArticleApi.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f414a6c65216c6d4c1ed2ce6ab99365d71c4328a9c53fac6e11b10773a46bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"PopularFeedScreenKt.PopularFeedScreen (cognitive 26): PopularFeedScreenKt.PopularFeedScreen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 3, 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e8a8a7870bc3c5448837e017268cc19ae776109bbef585992b29a04c5beff6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootArticleLayerKt.AppRootArticleLayer (cognitive 26): AppRootArticleLayerKt.AppRootArticleLayer has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 8, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticleLayer.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73038770004a8ba823bbb48910bd77db43b97f5a848e4e22a2c3cabf87c92576"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootLiveTransitionsKt.startExitLive (cognitive 26): AppRootLiveTransitionsKt.startExitLive has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 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/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e0a16c9d545e47b14a2364d45f2825c9a189cb6166eece6ad6cf02bcb56141"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenDialogsKt.VideoScreenDialogs (cognitive 26): VideoScreenDialogsKt.VideoScreenDialogs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenDialogs.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d064b9523e082de4142845eec6daf4d61ba554185a12ceb63eec0df8725c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootEnterBangumiContext.startProfileVideo (cognitive 25): AppRootEnterBangumiContext.startProfileVideo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (20 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a89e2608f8d7f2bb65838012af38f5d4358aa22b333405898710b08a7565857"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootOverlayTransitionsKt.closeSearchResultsAnimated (cognitive 25): AppRootOverlayTransitionsKt.closeSearchResultsAnimated has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (23 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5160c67f163404487f9d1afbf22ac74c26021970a3649f9190c595754cabc746"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicPlayerScreenKt.MusicAmbientLayer (cognitive 25): HomeMusicPlayerScreenKt.MusicAmbientLayer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8fb97b768f74af9bea57ce08a9f3aeeb308af8c657ee5d9080bf1c1568e8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.MusicControlButton (cognitive 25): HomeMusicRemoteControlsKt.MusicControlButton has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (22 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6c9a2f4ce37099f6faf78836112cccb4eb268c525db60f3a9795b47972dac"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenControlKt.handleControlPlayerKey (cognitive 25): VideoScreenControlKt.handleControlPlayerKey has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, 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/dev/openbili/webdemo/video/VideoScreenControl.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8c242e00566dba7493643334eea4eaa7cf185d9c9d3d7a7146a38bd1fe0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"BaselineProfileGenerator.captureBaselineProfile (cognitive 25): BaselineProfileGenerator.captureBaselineProfile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 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":"baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9579e939ada4d03ab2fc30d1e04332d391ad958dfd4ff400680326431ee59f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliBangumiApi.parseBangumiRecommendations (cognitive 24): BiliBangumiApi.parseBangumiRecommendations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6d995bbced8f7bff2cbcbf85414b86a5f51d6ab92feb3a8a8ba6b4fe0cc45c"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliSpaceApi.parseSpaceDynamics (cognitive 24): BiliSpaceApi.parseSpaceDynamics has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 2 (3 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/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"938a82863abf7ffc51c693aec9f70536de15ad38dd17e336b5fbeb81ddc56d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedViewModel.loadPage (cognitive 24): FeedViewModel.loadPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a15cc169d6c65f75b318be3eaa65c2e1ebfecd1eee5d4984df5e84ec8b200d"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploreScreenKt.ExploreFocusBanner (cognitive 24): BangumiExploreScreenKt.ExploreFocusBanner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 7, 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c9cdcb4cc23ecb664644a2f53272586c2660cdea71b09b610baeb2a3babf62"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliPrivateMessageApi.getPrivateMessageHistory (cognitive 23): BiliPrivateMessageApi.getPrivateMessageHistory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"203a5a24c6a52b0c40b6da8380fc0df9a0bfc6056361975c90d74f525084352a"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveHomeViewModel.loadPage (cognitive 23): LiveHomeViewModel.loadPage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, 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/dev/openbili/webdemo/live/LiveHomeViewModel.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cc11b524d81e8bb2c9d1def416ff4509a81069b93759ed0673f3f6ae3659ae"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedVideosPaneKt.OfflineFeedCard (cognitive 23): CachedVideosPaneKt.OfflineFeedCard has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 4, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"21341696b7976fc464677371c27292470b30a237bdf115746236b30d23515d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiRecommendationFallbackWithExplore (cognitive 23): BangumiRecommendationScreenKt.BangumiRecommendationFallbackWithExplore has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6682b232d0811772fe2f0c66723d10d22c26c5ae02a56bf4046dda70a839f5"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicLibraryPaneKt.MusicFolderSetupMessage (cognitive 23): HomeMusicLibraryPaneKt.MusicFolderSetupMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"44385ff0d7d534319bf7e795b610885d24b394ed117521e0b7cb7626ae4a72a8"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomSecondaryKt.LiveRankSection (cognitive 22): LiveRoomSecondaryKt.LiveRankSection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 5, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomSecondary.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0ca289177be20a3cfd17d5e1fec4df679c639e9029b2854246322646d83b79"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.loadFavoritePage (cognitive 22): MyViewModel.loadFavoritePage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 1, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"912fdb00ea48871539336be29263276118c3c0f21df535aa80531659e2fc68d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootPlaybackContext.prepareExitTransition (cognitive 22): AppRootPlaybackContext.prepareExitTransition has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e7ae607446f0cea8f4f272d59a4f383014eed0aea6c9179c2185eb7569a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"RootVideoEntryBackdropKt.RootVideoEntryBackdrop (cognitive 22): RootVideoEntryBackdropKt.RootVideoEntryBackdrop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 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/dev/openbili/webdemo/ui/RootVideoEntryBackdrop.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d53323c4d6b832bf52355525c6e369c9df2747881e87abd4dba92aea86d589"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoCardPaletteKt.extractVideoCoverDominantColors (cognitive 22): VideoCardPaletteKt.extractVideoCoverDominantColors has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c6f3d23c3ca2104f8cdaafec1504123c4bff02525d7afa50bb0029fa2fae9a"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentComposerKt.CommentToolPanel (cognitive 22): CommentComposerKt.CommentToolPanel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentComposer.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f327ba18e9d78adfdfe203968a5adfd74aa36d05b2b596d551dd753738438fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuMaskTimeline.isProtectedAt (cognitive 21): DanmakuMaskTimeline.isProtectedAt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d1e6186b25953039095f0ee18dadda921b5ae0991195fb63fcd97ec27731a"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliPrivateMessageApi.parsePrivateContent (cognitive 21): BiliPrivateMessageApi.parsePrivateContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 4, loops 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6035d404121d8e9f6237351c8b568fd683a726d6da9a080361814f33735ec41d"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedViewModel.loadPreservingRefresh (cognitive 21): FeedViewModel.loadPreservingRefresh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1569f958529a35c6d8d2b6556cdc8016420f8fbc6072b8f10c09bd4697ee56e"}},{"ruleId":"D2","level":"warning","message":{"text":"PopularFeedScreenKt.PopularSectionBar (cognitive 21): PopularFeedScreenKt.PopularSectionBar has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4, 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61f74a79f1f6a1dc6109630aadcab583d1ddab449dd2dcff47b979df4a132f7"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenFollowingKt.FollowingPanel (cognitive 21): MyScreenFollowingKt.FollowingPanel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, 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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd6f9948991c7274ece0899ec64e7c81da892b4b9168378fa294b3392848756"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootLiveTransitionsKt.startEnterLive (cognitive 21): AppRootLiveTransitionsKt.startEnterLive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf857897c3d766619e5888be5d284f51a1a23314c2f0df695a7a0e0dc981e018"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootPlaybackContext.prepareCardTransition (cognitive 21): AppRootPlaybackContext.prepareCardTransition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f3961b5356ba936abeee7ab2449b5db8f19960c158c87b88a5ac96cfe85c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicPlayerScreenKt.MusicPlayerPane (cognitive 21): HomeMusicPlayerScreenKt.MusicPlayerPane has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d65b77a093a56b478eafe5e88873e01558aa10a847b536451ef180ce2f9ebc2"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliInteractionApi.parseAccountMessagePage (cognitive 20): BiliInteractionApi.parseAccountMessagePage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, match/switch 1 (2 pts), 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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7852a886890fc1f4e659db7e6abe919201417b6aa0b2e72f7f33f4e662fef47a"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenHistoryKt.HistoryTimeScale (cognitive 20): MyScreenHistoryKt.HistoryTimeScale has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da58334c44688dea81e70477271e4126e30f076e50215cd954a22e1d0f3905"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.updateFavoriteFolders (cognitive 20): MyViewModel.updateFavoriteFolders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, error handling 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab81aa79e906150accba40b1b6bf863b8bd7b32477b17b7bb17524fb27269e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootUiValuesFileKt.computeAppRootUiValues (cognitive 20): AppRootUiValuesFileKt.computeAppRootUiValues has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 16, if/else 2, match/switch 2. 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/dev/openbili/webdemo/ui/AppRootUiValuesFile.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e19f3622e62743c2273a107900bf01207e22e20990a07f0c39b46a9380dfd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootVideoState.setFavoriteFolders (cognitive 20): AppRootVideoState.setFavoriteFolders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c65c54db04d07b81d00ec41435df830c3bbcb416ab3b91901988b9f985fcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiRecommendationScreenKt.BangumiPreviewPlayer (cognitive 20): BangumiRecommendationScreenKt.BangumiPreviewPlayer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b59be29348b5a3c9c173a88afa21e9a53d575c302c3d69f57b344998ca4da93"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeHubScreenKt.HomeGlassIconButton (cognitive 20): HomeHubScreenKt.HomeGlassIconButton has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"719a5504597af696d66ba10a87d774cb97e9f3955d48c7989dbf5e99cfd32e35"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.MusicTransportControls (cognitive 20): HomeMusicRemoteControlsKt.MusicTransportControls has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 5, match/switch 3 (4 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/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef704f544f7dec0b06093eb4d07be94717a05a0f59d8f342d1838a168fa2a99f"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeMusicRemoteControlsKt.AdvancedAudioButton (cognitive 20): HomeMusicRemoteControlsKt.AdvancedAudioButton has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, boolean chains 5, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e538b0378993872cca84675d9a136a1548d61e0cf0f488eedd2b0e16568e7114"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliRichTextKt.BiliRichText (cognitive 20): BiliRichTextKt.BiliRichText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, match/switch 2 (3 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/dev/openbili/webdemo/video/BiliRichText.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de644921501456651c30de0f1e2ad326f665a6406b77754f61d7de5d2eb91e2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.preparePlayer (cognitive 19): PlayerViewModel.preparePlayer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3929b8001190edfe031670b83394852c6ce28139cb1eddd613ec9613ed94cc"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliPrivateMessageApi.getPrivateMessageSessions (cognitive 19): BiliPrivateMessageApi.getPrivateMessageSessions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, 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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe9b32e265e27787f0d144a5150f4d3467b70b5c251204cc67bf822738402cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DanmakuMaskParser.parseBytes (cognitive 19): DanmakuMaskParser.parseBytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, 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/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43cf61d6e89b40aede816a469b4153ef4968197ee215d0de4fda814e9b3b06a"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedScreenKt.FeedScreen (cognitive 19): FeedScreenKt.FeedScreen has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f96f9cd35b3d078c42b9bf43f9c8082aa5532b04f59d56b193195815e01a317"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedScreenKt.FeedCardContent (cognitive 19): FeedScreenKt.FeedCardContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eb6bea117443fbc52b67805482f38bd7c7a24d6b19f1d4c55766fc8ebfeb7f"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenMessagesKt.PrivateMessageComposer (cognitive 19): MyScreenMessagesKt.PrivateMessageComposer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 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/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13879f32d095b6dd6d290257154d67eaae0f0a7410f29ffdd8f67ab4a4a3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModelModelsKt.normalizePrivateMessageHistory (cognitive 19): MyViewModelModelsKt.normalizePrivateMessageHistory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 6, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModelModels.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47702278c3370b12d5ea3621ccb89e0ed2a4aaeb4cb1c8f7a3a88a2377bccbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlRemoteKt.resolveControlVideoSurfaceAction (cognitive 19): ControlRemoteKt.resolveControlVideoSurfaceAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/ControlRemote.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8acc7924853918d42fa2529c6a4c836b2660b19d63268502d0010d57f8d218"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeHubScreenKt.HomeHubHeader (cognitive 19): HomeHubScreenKt.HomeHubHeader 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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8335d982eaa4a1a02b16288047f891a3c7ea2e2f20801bbcd2ee739784c68f"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoHeaderContentKt.ReplyThreadPanel (cognitive 19): VideoHeaderContentKt.ReplyThreadPanel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"990c77d2b10b760eff2b9b88e404d14929a19bf3736153d71e201d0707ab5ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenWidgetsKt.CommentImagePreviewOverlay (cognitive 19): VideoScreenWidgetsKt.CommentImagePreviewOverlay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, 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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0828c22ee0fb3cf41b28433b6ce38b83a527e5243f4efaf77d04166229e3c93c"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthViewModel.startPolling (cognitive 18): AuthViewModel.startPolling has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/AuthViewModel.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dbc6858ec56efbf3e76dc476c700ebfb9a1a0c752fe66ec44666c751255592"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthViewModel.startAppPolling (cognitive 18): AuthViewModel.startAppPolling has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/AuthViewModel.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8644b16a0b6e3980e14e5f62fab0ae32a1c1c63dce115fb9e4efffa278a07bf6"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliArticleApi.parseArticleTextNodes (cognitive 18): BiliArticleApi.parseArticleTextNodes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 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/dev/openbili/webdemo/api/BiliArticleApi.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a703c51277b24e8db25314cb6273594421a36eecb4e81b1312a9b1bf7fb2c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliDanmakuApi.fetchHistoricalDanmaku (cognitive 18): BiliDanmakuApi.fetchHistoricalDanmaku has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliDanmakuApi.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2857cfdae2afe47965aed76521d9a9bc5193a3239a1f5895e0412b69f078ecea"}},{"ruleId":"D2","level":"warning","message":{"text":"MyScreenFavoritesKt.FavoriteFolderEditorDialog (cognitive 18): MyScreenFavoritesKt.FavoriteFolderEditorDialog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f152d4545a7b99183d4b0979662f19f6a60f8ca73ad9ab517047ca0c796dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.loadHistoryThrough (cognitive 18): MyViewModel.loadHistoryThrough has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25051d670feb4df84fe3619905d2e54f46417691456c8e3df07f90a121ff22f"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.loadPrivateMessageHistory (cognitive 18): MyViewModel.loadPrivateMessageHistory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ae5f0db4b387f584d904122a08b81b16b610025b1e7d686ccdc9ea08e892d"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineMediaManager.prepareAndQueue (cognitive 18): OfflineMediaManager.prepareAndQueue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 2, loops 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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b840a450cab0a8cdab97a4cc4d41c297dfa82a65cc89a948d5b900860a8e59"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileScreenKt.ProfileBangumiGrid (cognitive 18): ProfileScreenKt.ProfileBangumiGrid has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"0582b9f01793664c191ebe9291c4dffa05248308bbea56d291059270b37a478a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootEnterBangumiContext.startRootBangumi (cognitive 18): AppRootEnterBangumiContext.startRootBangumi has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e1238c9e80fb300fe1c00b92c356948bd92677af59990e5b82ee2df84fe9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootExitContext.startRecommendedVideo (cognitive 18): AppRootExitContext.startRecommendedVideo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cccb33fdb0d8bb59267eb2b24629f49a310a945266bb0baad6dab68effba72"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliReportApiKt.parsePlayerPageInfo (cognitive 17): BiliReportApiKt.parsePlayerPageInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, 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/dev/openbili/webdemo/api/BiliReportApi.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76828f9ad4fa61aa05e73834083c0b098230f43a3adb3ae8ab9ee5fc2fe1b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliVideoApi.requestVideoInfoByParameter (cognitive 17): BiliVideoApi.requestVideoInfoByParameter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 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/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2973d41773fa7c9546f6a394dde3fc8516bfe97aed2930a552c8ac769cf9e635"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverImageKt.CoverImage (cognitive 17): CoverImageKt.CoverImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/CoverImage.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"151bd8276bd0444cedcc423b2497ed75dc3ebd5e9182616302d7ffc936438cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRoomViewModel.handleSocketEvent (cognitive 17): LiveRoomViewModel.handleSocketEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0ef09b64faea129e5711b98fc25b4907fccdeedd6261c856b56667aeebc8d9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootOverlayTransitionsKt.closeBangumiIndexAnimated (cognitive 17): AppRootOverlayTransitionsKt.closeBangumiIndexAnimated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ccb5dcae10bda9e534b0047d53f472eef3e8cadbcaa1191f7f859a08fd2a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootProfileState.loadSpacePage (cognitive 17): AppRootProfileState.loadSpacePage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileState.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ef1272f6991839294eda471c3698dd7c219374ba424d59ec9248b976b59bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiExploringRailKt.AnimeHotHeroContent (cognitive 17): BangumiExploringRailKt.AnimeHotHeroContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e76689bef988d49a6447334a8943afcdc3a7a3a2c61ce32c60a2322a6873a8"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginSheetKt.QrImage (cognitive 17): LoginSheetKt.QrImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/LoginSheet.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db16a98bce066511b57bafd298fe5acb2b6262aaef50c7dc4c9e171c12687a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerVideoSelectionPanelKt.ControllerVideoSelectionPanel (cognitive 17): ControllerVideoSelectionPanelKt.ControllerVideoSelectionPanel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/ControllerVideoSelectionPanel.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b83ac4f0a8f7fd8793058b9657630d185cac566741f65dcf34dfca55f35e031"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoActionDialogsKt.FavoriteFolderDialog (cognitive 17): VideoActionDialogsKt.FavoriteFolderDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"37268a2464e613eed155711f47583201e4a32f305186576fb60d08d0c5ed19e6"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliBangumiApi.parseBangumiWatchProgress (cognitive 16): BiliBangumiApi.parseBangumiWatchProgress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b3e8a99532aac93c069fb7581edbb09e4165198576061a058314154809d130"}},{"ruleId":"D2","level":"warning","message":{"text":"BiliVideoApi.parsePlayUrlData (cognitive 16): BiliVideoApi.parsePlayUrlData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 1 (4 pts), loops 1 (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/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6791b5db57194659cca1a846731cc621aa1623b064eb1330d4d950ae9299d36"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveHomeScreenKt.LivePreviewPanel (cognitive 16): LiveHomeScreenKt.LivePreviewPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d050fd69d3a912ec5e15ae2c4dd324ac46b29a79f3cefb4091f7a0a626f58e"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.loadHistoryPeriodPage (cognitive 16): MyViewModel.loadHistoryPeriodPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc437d9f47502f004ef08a70a83a0b36d366404ee7b6704d75034c3b059e23e"}},{"ruleId":"D2","level":"warning","message":{"text":"MyViewModel.replyToSelectedPrivate (cognitive 16): MyViewModel.replyToSelectedPrivate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c402fd649c8f58e115bb44c5224cfef0824de699a15beab0690a22980ad337"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineMediaManager.copyDirectoryWithProgress (cognitive 16): OfflineMediaManager.copyDirectoryWithProgress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a7c34bf9593aa1e91ce15531b2bdc57ea1b3797249c8019d1a367074f536c0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRootVideoState.toggleCommentLike (cognitive 16): AppRootVideoState.toggleCommentLike has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"213975cdfe6538657e8ba4d7d126dbc1050846768151f5d586c67f7027c5a779"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoCardPaletteKt.VideoCardGradient (cognitive 16): VideoCardPaletteKt.VideoCardGradient has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6b833681c1db115fc164f409a1acffe72e715a457625b52b8dbcc7d9790804"}},{"ruleId":"D2","level":"warning","message":{"text":"BangumiPageContentKt.BangumiEpisodeCard (cognitive 16): BangumiPageContentKt.BangumiEpisodeCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, 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/dev/openbili/webdemo/video/BangumiPageContent.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"100c805f3259b145526c8db3809626269dd0bd167ad4a7b210325f901491adde"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoScreenControlKt.VideoControlEffects (cognitive 16): VideoScreenControlKt.VideoControlEffects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (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/dev/openbili/webdemo/video/VideoScreenControl.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a41b651ef7d3ea0bd786081d8e104b315f9644ffa6d60b67806d39029f7f519"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootTailKt.appRootTailContent: MethodTooLong \u2014 appRootTailContent runs 1559 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1459 over it, 15.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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"652e317fa113717dce92d0c2035d2e9ae9c4e459fd528249995a264083822496"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArticleScreenKt.ArticleScreen: MethodTooLong \u2014 ArticleScreen runs 588 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 488 over it, 5.88\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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e7504c4347fd9a867a0c31f6ee9c5d289ec1499941d6197349dc6bb4d9fe63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootFeedContext.FeedLayer: MethodTooLong \u2014 FeedLayer runs 522 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 422 over it, 5.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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf0eefd2416d9806a13ea14a485825e840fce997cae39dcf64b29b80c505aeb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileDynamicScreenKt.DynamicDetail: MethodTooLong \u2014 DynamicDetail runs 501 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 401 over it, 5.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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e44be5caf136a3e93c243ce377c844864f521145b6d83e32c966a6a5c3ec52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootVideoContext.VideoLayer: MethodTooLong \u2014 VideoLayer runs 473 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 373 over it, 4.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad15c112104f68c40d6da196935d5c94aabac23bb324b0bfba7f77fd44ce4aa3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MyViewModel: ClassTooLong \u2014 1830 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 1430 over it, 4.58\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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf36bd0e3800d06f3cb055c4e848e86fac9af874e7728885ff0e423f15297cb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMusicTrackListKt.MusicTrackList: MethodTooLong \u2014 MusicTrackList runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b2b7aa493cab255ced056abb2bfc56f320931fbe9ac0bf62fbb64ad281665"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/MyViewModel.kt: FileTooLong \u2014 1879 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MyViewModel (62-2352). The bar is 500 significant lines; this is 1379 over it, 3.76\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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe179074071201bba2a7f79e3e41052b388fd78a504b31ba71d320b19d5ddad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DanmakuOverlayView: ClassTooLong \u2014 1502 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 1102 over it, 3.76\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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9a40a44cf303f4a48cddf3c8767a602eb0d1498b405844e047b1f8cb1bdfcf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveRoomControlNavigationKt.LiveRoomControllerPlaybackScreen: MethodTooLong \u2014 LiveRoomControllerPlaybackScreen runs 360 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 260 over it, 3.60\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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d497d610e3888c847d9a4839411005caca2c4d02b419219ec259b9b9c3a09f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/VideoScreen.kt: FileTooLong \u2014 1790 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1290 over it, 3.58\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/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fd0580751aac31803f384bab53d47d3dcda869066811f130a8c22ac3e2fd4e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeMusicPlayerViewModel: ClassTooLong \u2014 1407 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 1007 over it, 3.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c3432d111a97f356e28e93fb44843de63174e3fcda57e5123e0d478e1c330a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootTail.kt: FileTooLong \u2014 1739 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1239 over it, 3.48\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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9441894fa61c39733a4021a0d23c7c9d77a9222a6ede3d75117b9110d55ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenHistoryKt.HistoryPanel: MethodTooLong \u2014 HistoryPanel runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f084cb220e95c073ed027b86a68636503b5416f4e4dfda01fe02d3d8fdf4e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profile/ProfileDynamicScreen.kt: FileTooLong \u2014 1678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1178 over it, 3.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323c445cb22bb0db86db321af89aa16d95c72d32acd31d1960aee353d244277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchScreenKt.SearchResultsScreen: MethodTooLong \u2014 SearchResultsScreen runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46cff706a2c5ef4a3723abed9aafd7420d170d73fd1efc0f820d105a6b5458d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/DanmakuOverlayView.kt: FileTooLong \u2014 1665 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: DanmakuOverlayView (130-2145). The bar is 500 significant lines; this is 1165 over it, 3.33\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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3879c3aaf6850252d073bd3f57a9c63e2af18ae72b1316b97b71bff1a1de29d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: music/HomeMusicPlayerViewModel.kt: FileTooLong \u2014 1624 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: HomeMusicPlayerViewModel (302-2095). The bar is 500 significant lines; this is 1124 over it, 3.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083efdd96ba3be779d51c3d82f6590550afc6ed9dd38ffd64e0e3f3d57ec911"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/VideoPageContent.kt: FileTooLong \u2014 1607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1107 over it, 3.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9064540efe6ff2078c323d21cc11de487c43c71f8d4e475c2782e435a83c06"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileScreenKt.ProfileHeader: MethodTooLong \u2014 ProfileHeader runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a8914294a682d000806fa39d5bd886389649fb6cf0876ec9aad8dd777661d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootExitContext: ClassTooLong \u2014 1212 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 812 over it, 3.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"75620e2383df55ab4bf37c40d9b14d9afb14b0fc6c0eb0ab36c4f6804d5f81d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/BangumiRecommendationScreen.kt: FileTooLong \u2014 1503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1003 over it, 3.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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2f4994a4149fdab2d92d9f49324f9ff9481223a1537f383fc36b37b08365d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profile/ProfileScreen.kt: FileTooLong \u2014 1465 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 965 over it, 2.93\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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ea8f3b62c7ee821fb67c20e37333190a4303e10e22ea58f32f944b8bfc57f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchScreenKt.SearchScreen: MethodTooLong \u2014 SearchScreen 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/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f9e229298aedc851d07281640df6a11149cd781dedeea8667dbe12dde5025f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/HomeHubScreen.kt: FileTooLong \u2014 1452 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 952 over it, 2.90\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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a23f6274d19f9cf3f489f7819623f14031230df62d8170d4849d692924221d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenMessagesKt.NativeMessagePane: MethodTooLong \u2014 NativeMessagePane runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9520f41c557a142610a53d33cb11a6255b5c04c1a927cc34f6329eb7c44c3e10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/BangumiExploreScreen.kt: FileTooLong \u2014 1412 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 912 over it, 2.82\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9263f3d3fbe631a830e4976d93d0f1529290894b5bc97d160c898b8b6e25371d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerViewModel: ClassTooLong \u2014 1098 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 698 over it, 2.75\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/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb57c8c216595453961e478933c4be74dee823d82eaefc665e0f5a209510b38b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CachedVideosPaneKt.CachedVideosPane: MethodTooLong \u2014 CachedVideosPane runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6889891e0c6cd24c790c2dda943535cb7cc3090efd127a289f9d8a7b1af906"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DanmakuOverlayView: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b039ec70f628e7b0c02f9a1dc0ab8de11e2ac36ada33d08b48e7200d858027"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveRoomViewModel: ClassTooLong \u2014 1016 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 616 over it, 2.54\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/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"40347cb5cd594fe9b00e45c43aabacc7feb9cb2de590d0e7653300b8b3240716"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webdemo/PlayerViewModel.kt: FileTooLong \u2014 1267 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: PlayerViewModel (88-1509). The bar is 500 significant lines; this is 767 over it, 2.53\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/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33779dc639751eb41c247601ebf7ad1d0e61be7fe85e776c820138f436afc2a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliHistoryApi.parseHistoryResponse: MethodTooLong \u2014 parseHistoryResponse runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e43bdc28632db125b75a0e191853734802e8ef94ff62e55a61c65af17fcfd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootExit.kt: FileTooLong \u2014 1243 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: AppRootExitContext (43-1566). The bar is 500 significant lines; this is 743 over it, 2.49\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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d81431fa4fbcf6918fb0ca5d5e492a47064b848d3386f640b9b9fe0331c68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DanmakuMaskParser.flattenPathData: MethodTooLong \u2014 flattenPathData runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"64950a05a268608bc4f21ae52197a89e46410e0603717fc9224f383098f7298c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerGesturesKt.PlayerGestureLayer: MethodTooLong \u2014 PlayerGestureLayer runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.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/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13a0ea94c3e19d59ab6633578d4ba2550963afe1a7461f481cceb93fff3e37d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/VideoScreenWidgets.kt: FileTooLong \u2014 1224 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 724 over it, 2.45\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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1daf194e2605449a691568979288b3af82dd6efb21ccdd84630e029435fa2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/HomeMusicPlayerScreen.kt: FileTooLong \u2014 1216 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 716 over it, 2.43\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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45c43b9c02dcc438b530ca75a7c4c29552812591077c99bb0de3e6f12005ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LiveRoomScreen.kt: FileTooLong \u2014 1204 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 704 over it, 2.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3131d3be96e4910b282e2deea387e475b484130e66adf02b352d771d13ce17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootEnterBangumiContext: ClassTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 552 over it, 2.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b750d1a2d548243606304d72d908194cab81befa47836312e1d6e8eadf3f750"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMusicLibraryPaneKt.MusicLibraryPane: MethodTooLong \u2014 MusicLibraryPane runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9978160a989ea3fa8ae54bbffab427ed7da692bee8555f9040772029ffbe03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomeMusicPlayerViewModel: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7c48ccbdc507756f2ad9c820332d0d2a2701e76335697fc52bb5afecc14f05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MyViewModel: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28ab263388d79935f67706982453525318f3fe6dbd7552f092447b248052d5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootProfileOverlayKt.AppRootProfileOverlay: MethodTooLong \u2014 AppRootProfileOverlay runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"320f49cb57f11ef13a611f4dea18320a926bee4ffbefcf18364615230d04b282"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyViewModel.select: MethodTooLong \u2014 select runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee19137505153677638f70a877f05f3c543ede059c722c6f4e2ca3e2c5b98eb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoHeaderContentKt.VideoInfoTile: MethodTooLong \u2014 VideoInfoTile runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c038201c8e480e287c574beed7206f4f91b43e8029587630864c4300564eacc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRoot.kt: FileTooLong \u2014 1169 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: val (215-1452). The bar is 500 significant lines; this is 669 over it, 2.34\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac00f941d5150f781c0e5ee56ac4bfda5272bb17e9bfda2e17f1896134bf9695"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploreScreenKt.ExploreCategoryGridContent: MethodTooLong \u2014 ExploreCategoryGridContent runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c881aaa48382da77953c3637864764b1a30f7bc4a6e7654fef6570f28153d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/BangumiExploringRail.kt: FileTooLong \u2014 1097 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 597 over it, 2.19\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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb7f904b216ed5a294e7c331ba2325afa21b740247a47c07db53ef1134c7d98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliSpaceApi.parseSpaceDynamics: MethodTooLong \u2014 parseSpaceDynamics runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cee22d540be712c12c2604e1a7df46484b5a791e9421982af4d1ad8502fd3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OfflineMediaManager: ClassTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 443 over it, 2.11\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"49af52c7eca711899cc3da10e67789fc295f53f8424663aaced919638d3b1213"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploringRailKt.AnimeFollowingSection: MethodTooLong \u2014 AnimeFollowingSection runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bccae5073f7db20630a3e7a2e9d28eb9b6906bf7dea94ac5ae47bb77582b74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LiveRoomViewModel.kt: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: LiveRoomViewModel (30-1399). The bar is 500 significant lines; this is 543 over it, 2.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"800f6b2a6ae58d430793a4df2dff2eecb4a3b5a1276c26c8feee144514e68c75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/CommentCard.kt: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 525 over it, 2.05\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/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0ece7463feebbd04be9c63b0653135637273e75adbd0101b68365750d5ec73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootVideoState: ClassTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 408 over it, 2.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64000ca595020a4d948419c648b8de33ffdbf1aa822178428bd72b39bddc035"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootEnterBangumi.kt: FileTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AppRootEnterBangumiContext (50-1208). The bar is 500 significant lines; this is 491 over it, 1.98\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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d82834765a77763f476054a01ed01cf830297ab28c4958fa555dc1cd43dc27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: feed/FeedScreen.kt: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 486 over it, 1.97\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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c7dff30b3e9ff6aa553c5d3f6a11712fa271113d7a7a3ef18589779be31a42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootEnterBangumiContext.startEnterVideo: MethodTooLong \u2014 startEnterVideo runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c4986a78b775870b20d12e188c219b6c8a062a7787236add4dad5a1f73d14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMusicPlayerScreenKt.MusicAmbientLayer: MethodTooLong \u2014 MusicAmbientLayer 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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e9c0750b583fbf7c68a48425c7ac0644225d64b7c37dbdba88afe7ec49c88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiRecommendationScreenKt.BangumiCardStack: MethodTooLong \u2014 BangumiCardStack runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5066733653762746120347f4e1e01900201bf71e6cd4abc3ef09745784b8e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedScreenKt.FeedCard: MethodTooLong \u2014 FeedCard runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a313e339bd4f190b71f92ba3f02e6e2a2dde9b59b03d1545ed9facff53b2772"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploringRailKt.AnimeHotHeroContent: MethodTooLong \u2014 AnimeHotHeroContent runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4beb675602d49cd2faba13d68b4983e50591c13dc3fc9e06bc9c59fd2b3af84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoScreenWidgetsKt.VideoActionPanel: MethodTooLong \u2014 VideoActionPanel runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8991a5df156be497ec53d0638290f7bfefb3858fd1d93020058a29070fd30d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/BiliBangumiApi.kt: FileTooLong \u2014 932 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 432 over it, 1.86\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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bbd1011d69cba5081e27a6d0f591831a2487c4914293313141aef5aade4fc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootVideoState.kt: FileTooLong \u2014 926 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AppRootVideoState (71-1100). The bar is 500 significant lines; this is 426 over it, 1.85\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/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7ca49d4de8f17c6cee59a8b66ee87af5bf96f52a107ff82ba06505e1acfca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootFeedContext: ClassTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 339 over it, 1.85\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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"edda818f32e056daf90305c315e7cf5fa5a2e8684b11cb96200322b9cd3030ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: article/ArticleScreen.kt: FileTooLong \u2014 920 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 420 over it, 1.84\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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2721482b44b2129f839bb1a329fc44f6455f7398799ed57f395747dd2efc9f5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LiveHomeScreen.kt: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 411 over it, 1.82\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/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead2736b080b6f852610366ee400687bc5295f73fe10a666a77b7020481f49f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootLiveLayerKt.AppRootLiveLayer: MethodTooLong \u2014 AppRootLiveLayer runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveLayer.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6ab7258d2b43a8e42fd3538e6bb48c9176b8131348bbd1b8388462c1c652b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: feed/PopularFeedScreen.kt: FileTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 408 over it, 1.82\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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2fbc39c985e61e5b321eef67b4d71170fe7f139481f4bc82bfbd82ccc4ff64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineCacheChooserDialogKt.OfflineCacheChooserDialog: MethodTooLong \u2014 OfflineCacheChooserDialog runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a6c8e7af23d92f94c8ae3ccd5699c47bc54c9d6190f3b508142108e059c5a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMusicPlayerScreenKt.MusicPlayerPane: MethodTooLong \u2014 MusicPlayerPane runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc0ff4469d3dc8c6e562e3b28d75b6a066249fd4a5f72915ea9268e7013872"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: offline/OfflineMediaManager.kt: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: OfflineMediaManager (57-1152). The bar is 500 significant lines; this is 397 over it, 1.79\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538af8ff52f5e3aa8333fdfef434f29c2e80e9b9454e69beef995368f6fee6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PopularFeedScreenKt.PopularVideoCard: MethodTooLong \u2014 PopularVideoCard runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca76d042f40ef8e620d6636138454e465d8272ed88701b9bc7ca98f3d8c8c9d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/BangumiPageContent.kt: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e8be3b536eaefc4854a9e32b8ecb994bc7087880290ad182da06846a5a65f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/MyScreenMessages.kt: FileTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 386 over it, 1.77\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/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322c67913de0cc2d9f38468301705045048ed8c8a2ee7c24e3cde60d6fc46f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OfflineMediaManager: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3098f25ee3f9aada0b8f5856b002225fbac8920293ba2c34a30fe9ecc9b207b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search/SearchScreen.kt: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5636f88814d8dae0688a7b00fa57ff37669159e17c2c32ba7328980cf6b0c0bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileCollectionScreenKt.ProfileCollectionGrid: MethodTooLong \u2014 ProfileCollectionGrid runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8188a22f7ea3180cc5a202f251c4bd4093c548736e48321109a4ae3956c9b1f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/PlayerControls.kt: FileTooLong \u2014 872 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 372 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8d036e358e44870aa7af1fa90f48eabfd9e8607836896f1cae263b648ffa4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploreScreenKt.ExploreFocusBanner: MethodTooLong \u2014 ExploreFocusBanner runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce8caccd669db2ace97ffd14f1a228e7f256bc4efe6447d7837df7398feafc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/MyScreenSettings.kt: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: SettingsOption (81-819). The bar is 500 significant lines; this is 367 over it, 1.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3b4e3afc97519fef565beb476e04ca45c0a957c178bc4af6b27c2ad2889340"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoScreenWidgetsKt.CommentImagePreviewPage: MethodTooLong \u2014 CommentImagePreviewPage runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"caabba1831499b2ac0652b4b6e2e601db76a2440077c6465981a078a96e42c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/MyScreenHistory.kt: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88bc7a343ff598f811d46680d5db4244e8010e81fa33319dc0c8ffa489a23d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootVideoContext: ClassTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 273 over it, 1.68\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76ed4ca02891afe3a56c9b57eee4aa3a79b55751aacf82ab2211bc1eb1a48f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerViewModel.loadVideo: MethodTooLong \u2014 loadVideo runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c770295b45af4c292c9a30f213c15b1e5d89c6f24663d9bb710f4783adac022"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveRoomViewModel: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf35609e025cae976b4400db1cfb18b09e6ba31425ca3623e293cddc1938380"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.reverseActiveEnter: MethodTooLong \u2014 reverseActiveEnter runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1af53ecf0902c60740ee0844473321d7b5ec70a5b19e446fe288057d37ef89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startExitRootBangumi: MethodTooLong \u2014 startExitRootBangumi runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f230806e458f4eb7d38f8a90ce8fb40c05f64c6f3d1fa5a083838356474b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerViewModel: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f6e0bd71d4381202ece4561d335236382a92d9aa5adc1f90bde7bcdbb5e633"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootFeedLayer.kt: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AppRootFeedContext (79-968). The bar is 500 significant lines; this is 313 over it, 1.63\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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4433db26bf6e35f40d129aa00bf7ad8c0fc64bce40e7e4866d7d7c9200a4b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/BiliModels.kt: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 308 over it, 1.62\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/dev/openbili/webdemo/api/BiliModels.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08aecdb054354c4ec8604c3527737d58633d912738a625297aa474f408e8faa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploreViewModel.loadFollowing: MethodTooLong \u2014 loadFollowing 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/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c3ff87d0bd25f3e019717224068113fb53c0d33a1d3332c1a20a838763cb68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BiliLiveApi: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 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/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0010e88fcd25359a216da0a9b9cc62d4ff331f534127171102389f06e6825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/BiliLiveApi.kt: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 295 over it, 1.59\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/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e1ca9ce55c0e26eecd1fe8dbb41170df65a1c87c22397dbb08089ffd128ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bangumi/BangumiExploreViewModel.kt: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: BangumiExploreViewModel (156-961). The bar is 500 significant lines; this is 290 over it, 1.58\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/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b33c8e32251f39ca78aeea9df201e376c3f10d3a6b5dce45c4194d4ba29a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerControlsKt.DanmakuComposer: MethodTooLong \u2014 DanmakuComposer 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/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce47f0be58cfa0f37022087e533066657a155798f414f355e88105f186645711"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/LiveRoomSecondary.kt: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomSecondary.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94862b151e4a7900aaa298452b4b6de0727628d4a047b4680c8afb0e31b3507f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootPlayerKt.AppRootPlayerEffects: MethodTooLong \u2014 AppRootPlayerEffects 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/dev/openbili/webdemo/ui/AppRootPlayer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d068de9b3359228b0669694dc74905628eeb3a9e2de0d9ed49caadfdd0bc1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/CachedVideosPane.kt: FileTooLong \u2014 777 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 277 over it, 1.55\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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c947f0b88fc23683a0ad4e685e42bf0b62c55445f686a2d488e55fe5af0b63b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootProfileContext.closeProfile: MethodTooLong \u2014 closeProfile runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"42244204f1a67b17d89779b9f39f53b74755942709cbe37023cd16cb559e4bbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/BiliSpaceApi.kt: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 269 over it, 1.54\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/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab91103fa6fbda7c5ce2cbdcd3bcb1a0520d153ed95168eb45e2371889a2eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/BangumiIndexScreen.kt: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\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/dev/openbili/webdemo/ui/BangumiIndexScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5065101f0ef4afb4c3bb42c8fec4cae726ea9787ca5e720a1aeb55c9c22936a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BangumiExploreViewModel: ClassTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 209 over it, 1.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d458bf68de1f3b528025137ae22cd1348ce9cb6811e26687207351e5568867"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/VideoActionDialogs.kt: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9642d8cac4f4c8dafacd575d21aa060254ec6b495885e78d21debbd9501b1c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiRecommendationScreenKt.BangumiRecommendationHero: MethodTooLong \u2014 BangumiRecommendationHero runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a09376afae1cb847b64554e8f5608b6dcf5d8fd94956ae4c91e4d846887f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootProfileContext: ClassTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 189 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b99d20fd46227d278a9845119d9f9f7a9e3ff9cbcf7970f615116994e87379"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliInteractionApi.parseLikeMessagePage: MethodTooLong \u2014 parseLikeMessagePage 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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde7be8dd1f997fbe667423be301755cfa0912c372631fe56863a76e1a193467"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startExitBangumi: MethodTooLong \u2014 startExitBangumi 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"145144cb99b740faf13082751e9d14a9cab8a3609669a83623c56a6a13351997"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootVideoLayer.kt: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AppRootVideoContext (66-853). The bar is 500 significant lines; this is 228 over it, 1.46\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/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba4ff845f4b1319b7e7eef99ab7cdb0619a0b90e7277e46e18a6ae0003fe053"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenMessagesKt.PrivateMessageComposer: MethodTooLong \u2014 PrivateMessageComposer runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"debda19d56ea4514511e36bee1054c8970dc647ac5436088c6a55ebd5d697d54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileDynamicScreenKt.DynamicCard: MethodTooLong \u2014 DynamicCard runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06fe97b4a1d42bb22380aa7202f510100291263da67d421ca47e6c91d45624f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoSelectionPanelKt.VideoSelectionPanel: MethodTooLong \u2014 VideoSelectionPanel runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoSelectionPanel.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e26a6ad5a9255ca46a601f64008a17e9266756eea03a9d5b5b52755393a5b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliPrivateMessageApi.parsePrivateContent: MethodTooLong \u2014 parsePrivateContent runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f580d4b39c487f7b96bbfa83824989cd328782c2c987e1f116c441f56c4fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileScreenKt.ProfileBangumiGrid: MethodTooLong \u2014 ProfileBangumiGrid 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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d603465e06adc0e2645692ab76d13f5c25c7d27b6b672570379b722b3531eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/VideoHeaderContent.kt: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 190 over it, 1.38\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/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab0f421249ec744dae397628a7969215e2d21ddaf93efc1829e75e6efa752b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveHomeScreenKt.LiveHeroSection: MethodTooLong \u2014 LiveHeroSection runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.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/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b26ef8315859699e8cfbe10f45dabcd2e16a471b03797dbbfbf91c7d6893ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenFollowingKt.FollowingUserCard: MethodTooLong \u2014 FollowingUserCard runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0733996e6a1d2ec50aa44899894fd6efc81fd284685631c902523a3e35af9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootProfileContext.openCommentProfileFrom: MethodTooLong \u2014 openCommentProfileFrom runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddcf9495a8f2ec4215a4e8f0725c29ceb9c142f5480a7b7b6e6a35b1cd21c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/CommentComposer.kt: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 174 over it, 1.35\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/dev/openbili/webdemo/video/CommentComposer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9517bf2c81f5856323e8395453777c7dd0fb031d295a814e4eea2ca66ec62c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoScreenWidgetsKt.CommentImagePreviewOverlay: MethodTooLong \u2014 CommentImagePreviewOverlay runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b3689d10f9fb8ba47e6379d773e4aec2ee7dcd79020bd9c58fd2331bc810a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootEnterBangumiContext.startSearchBangumi: MethodTooLong \u2014 startSearchBangumi runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec9b63a569daf6fd70706d89d118a802ca03724a4903a5330e364fb50b78326"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startBackToPreviousVideo: MethodTooLong \u2014 startBackToPreviousVideo runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b56177411f12384186e991194665d8040b5ebeb8ab2ea2ac55a226445ccc26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeHubScreenKt.HomeHubTabCapsule: MethodTooLong \u2014 HomeHubTabCapsule runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e673f08b5d08ab5f50875620a6f7c6157b477ba565b2ea10200d13e5677a661"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsOption: ClassTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 127 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9821d12141800dd92f15faab522309ce8a6423c90a7827285e2558978423c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootProfileContext.openAvatarProfileFrom: MethodTooLong \u2014 openAvatarProfileFrom runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b0eb213c7f7a9ad25aa77277e5a1f39354a7ac3281b66cbe0aec204255d9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootProfile.kt: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AppRootProfileContext (39-778). The bar is 500 significant lines; this is 120 over it, 1.24\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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0223fa710fd94e924d76887aa104d2f1c4b6046ea7c856975a14b47344ec79bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileScreenKt.ProfileMenu: MethodTooLong \u2014 ProfileMenu runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ec105105e3df47a3cd91237c3c56cd9b404dc91a70c89cab7fb0b1366d7e21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenFollowingKt.FollowingPanel: MethodTooLong \u2014 FollowingPanel 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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe364195e25cf98a2756766e579b0c8cd0d6288d2a0981421c70ec45305c80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootEnterBangumiContext.startProfileBangumi: MethodTooLong \u2014 startProfileBangumi 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"3612b69b9e4f93df2e364f4ca121f807619b0bfa388495b44a9f8a50f07847c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiRecommendationScreenKt.BangumiRecommendationFallbackWithExplore: MethodTooLong \u2014 BangumiRecommendationFallbackWithExplore 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27bc882d7b739ada68dca59767598534ab6e6467ec5d9dd6a94db8f63272ba3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/BiliPrivateMessageApi.kt: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ae132a641c08900e50e313060e1a63bb5a142b2d7e3d50a38f79543ff75d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedScreenKt.FeedCardInfo: MethodTooLong \u2014 FeedCardInfo runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dd372eb8ea057ac12410322cf4c982c4eb86e907684814a896e9c901477a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveHomeScreenKt.LiveHomeGrid: MethodTooLong \u2014 LiveHomeGrid runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08c23c001660accf311754453faf3843ff6d56b91da1281bc91affd7e035677"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeHubScreenKt.HomeHubHeader: MethodTooLong \u2014 HomeHubHeader runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a77ac5d73b8bcd6f744e806ce45ca770fe07411246ae877b5a54774ed935b25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaybackEndOverlayKt.AutoNextOverlay: MethodTooLong \u2014 AutoNextOverlay runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/PlaybackEndOverlay.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1b0b61e06b19f9cf38cea3c4163ef14c235d049500a53a763dc3fa35c399e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BiliBangumiApi: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcff12b664065ac3657f53b942e1d34d09f5aff65f6195cd8b1c9018a9e7b985"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyScreenMessagesKt.PrivateMessageBubble: MethodTooLong \u2014 PrivateMessageBubble runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cd4f538b0278e4b1a317a1f82a7dc73227c3a3bc60392f2195058a70222081"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploringRailKt.AnimeHotStackCard: MethodTooLong \u2014 AnimeHotStackCard runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2a9fb011a6daab733a7c88df4728f2a7924b093f94d805077e13561cc660a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startExitVideoToProfile: MethodTooLong \u2014 startExitVideoToProfile 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a771fdcaec197d791a807b7d3fd8bb85b8b739df654271bfd9f85321c08803f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploringRailKt.AnimeFollowingCard: MethodTooLong \u2014 AnimeFollowingCard 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/dev/openbili/webdemo/ui/BangumiExploringRail.kt"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e8c5435ce4a89dbefbd412ba4d38f65d342d04c00db067483f7b45e16d131"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: my/MyScreenFavorites.kt: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\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/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c942b48a830865a0f1cdba25d37cfbbc91194661b84515e5223e6ef5faf72181"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppRootProfileState: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 58 over it, 1.15\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/dev/openbili/webdemo/ui/AppRootProfileState.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bd1d1a9542aded2c861345adad4581e52ab8da2ee25f1019c31b73ca529c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startExitVideo: MethodTooLong \u2014 startExitVideo runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"807eb97581e6e97247452612f52fa09e1b8896d0612aecd2ee0b3fe5e5e748a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiRecommendationScreenKt.BangumiPreviewPlayer: MethodTooLong \u2014 BangumiPreviewPlayer runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81da660adfb8c8138fc873c0928ee740bf57530408ea61c97333c50b3d49352"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControllerPlaybackSelectionPanelKt.ControllerPlaybackSelectionPanel: MethodTooLong \u2014 ControllerPlaybackSelectionPanel runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackSelectionPanel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6da111cd42a2f0d8d1befe52c6c616509162277322dd279a14bd8bdb0662bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppRootVideoContext: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05554a24bc21b842e29483cea1de04152ebf14d279551a01470153568ff08f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootExitContext.startRecommendedVideo: MethodTooLong \u2014 startRecommendedVideo 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78d74d57965eee87e522c12eb115c61a785b4377d064765fc6a4605c6f71ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiExploreScreenKt.BangumiExploreCategoryCapsule: MethodTooLong \u2014 BangumiExploreCategoryCapsule 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a936a2a30dd3ad1199fca30bce8a0f62bcf4f86ae18ebb9e83b6db4a251f0b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootLiveTransitions.kt: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 over it, 1.12\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/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aa9b27cc69cc8a6c4649bf07b7418500b809573d73a373552771afd97e414b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliBangumiApi.getBangumiSeason: MethodTooLong \u2014 getBangumiSeason 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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d179c47457fe6e4262bf8c23403b50beaa5eaf453ff34dd9a92dc1160d8794c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoPageContentKt.FloatingVideoActions: MethodTooLong \u2014 FloatingVideoActions 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/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8def36cd7de39229866782ff049375d9b78286028cd2dc137bcb15aec565a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoScreenDialogsKt.VideoScreenDialogs: MethodTooLong \u2014 VideoScreenDialogs runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreenDialogs.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9462d38e7757b992f653efe27d1b2ee33955ab9061744af8a872a8e5939f13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video/PlayerGestures.kt: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\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/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6d0130d40ce176fba794814cc07fa4941cdafe97beab936d25a46345ff367b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeDynamicViewModel: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 32 over it, 1.08\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/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace9cb2ee1d891e4853365ab05be798d405f7b1de36831152a5d98a8e1ee371"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BangumiIndexScreenKt.BangumiIndexCard: MethodTooLong \u2014 BangumiIndexCard 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/dev/openbili/webdemo/ui/BangumiIndexScreen.kt"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"062a01bdf3e6cb424d7323213fa2b6970b5b167ecb2c22ee02bb3f5ed527cc4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoginSheetKt.LoginSheet: MethodTooLong \u2014 LoginSheet 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/dev/openbili/webdemo/ui/LoginSheet.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be3ae76fc735779e9f8ad8a59eb917fe177adb66a16337c2407a69c6aece477"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppRootProfileLayer.kt: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\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/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b647fbf37909056b5d1df812142764b2a5320dee6e71e09fedad1a59e72c9e33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileCollectionScreenKt.CollectionDetail: MethodTooLong \u2014 CollectionDetail 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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"182077abb7a3018f175938db73ef0e3265351c1a62d98b1e7546c86828fda72a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootArticleLayerKt.AppRootArticleLayer: MethodTooLong \u2014 AppRootArticleLayer 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/dev/openbili/webdemo/ui/AppRootArticleLayer.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdaa546419578c338a7f00c696b5417ea2854d03e7b5d31e1b661d739b4ec70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RiskControlDialogKt.RiskControlDialog: MethodTooLong \u2014 RiskControlDialog 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/dev/openbili/webdemo/ui/RiskControlDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad6bb2e1b13d38f3cec39b86f518d9095fb9144c3a76f4548f857c0145ca9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BiliHttpClient: 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/dev/openbili/webdemo/api/BiliHttpClient.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da55fa6ba2ca108dab08fd801b5e753b590ce04479d00a3eb6fa87d137d987e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BiliSpaceApi: 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/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"961c045b67d5030f2e87b41e20f265ea4c0ac5940e77cb7702b18896afcb63b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMusicRemoteControlsKt.MusicProgressBar: MethodTooLong \u2014 MusicProgressBar runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2460a7b3fbd24d3b0cfd3ee517eec027748a01934883c8fe2100be304acfaf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ControllerDanmakuSettingsPanelKt.ControllerDanmakuSettingsPanel: MethodTooLong \u2014 ControllerDanmakuSettingsPanel runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a361443d40ed6f7b66171d42997ab529be45fd20071e9eab513a6e5e4e409230"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfflineMediaManager.prepareAndQueue: MethodTooLong \u2014 prepareAndQueue runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdc5ab004968daf3b47e4ac2882f692ff9f98050ae85203a7f27c54bf7c4e4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BiliVideoApi.requestVideoInfoByParameter: MethodTooLong \u2014 requestVideoInfoByParameter 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/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae7c83708daf498189202f77a8abdbcf38f7e082387dfea01f57e460f40d44b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppRootEnterBangumiContext.startProfileVideo: MethodTooLong \u2014 startProfileVideo 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"26344852fa772d794869a46f1a0f37f2b8ba42d22d8dfad0bdbb001e12ac2a23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/HomeMusicTrackList.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"755d72b2a0bb4ed27f2848e32d4440b23eb426e8409f6871d54a844312c9cd37"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommentVideoLinksKt.parseCommentVideoLinks: MethodTooLong \u2014 parseCommentVideoLinks runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentVideoLinks.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"775dcfe98781cb6949d17dbbbec8799aa9b07edc2894975caff94205418154eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (422 shared lines): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:242-1452 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:220-2022 \u2014 These two members are variants of one another: 422 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a71a77e91bbdc6e4cf69168e627616c74b447ba81c020ebce5b35d7e5832602"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (93 shared lines): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1196-1465 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:132-354 \u2014 These two members are variants of one another: 93 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f6e1c581de8cab275a54391eb6ca4ad5aab8854c844de33036736117138d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:206-355 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:370-533 \u2014 These two members are variants of one another: 84 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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec0938b964ced8e9bc028005b7babf7dc4b341231e32c7b2d072d526ebfaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:147-290 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:152-366 \u2014 These two members are variants of one another: 59 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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c23485761ea72ca5874fa88e55b6f362db7e7c551b3be3333b833eb25231af"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:259-326 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:131-190 \u2014 These two members are variants of one another: 30 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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8486246f6f10131bd2da28ef869fa012072b9859f4aa566e739afded1ce0ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:259-276 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:279-296 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:299-317 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:259-278 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:281-300 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:303-318 | app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:32-48 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:685-702 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb22178048da1c359658749ad1a878d3361c6553ac6aa1cc1198e2d883702f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:291-304 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:230-247 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:2228-2241 | app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt:268-283 | app/src/main/java/dev/openbili/webdemo/ui/AppRootModels.kt:612-625 \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/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63e47b5a97ca2694bb49860ea7859199353f0b0f722060af73b2ed121bdf99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:702-736 | app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:598-632 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:817-864 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1062-1107 \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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfc982d0d49ea114ea07eb3a6f9a6b30205a0fa154c923dbd9de493cec49877"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:242-1452 | app/src/main/java/dev/openbili/webdemo/ui/AppRootStates.kt:212-517 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUiValuesFile.kt:65-193 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:791-868 \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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cf473c8a52bfe6220c4c6cc30282be3a414596ab0a11126ecdb6bdfc864aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:187-416 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:418-545 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:904-1061 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1067-1206 \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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1389d41473d902bcee0e1bdc6b0a19bfb095e4d6ef88b97afef08e28b344051"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:914-1034 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1046-1168 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1484-1695 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:723-853 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c06e0ab83e7d436e98424d7c9e1c2405ef57a1538c69d0ac493be5a9e2cb795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:313-395 | app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:401-481 \u2014 These two members are one piece of code written twice and then edited apart: 81 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7ffd7a27c47bb49df4d2b2cf39b10fad65c8316eb8b97b111e72cc54d2e527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:468-562 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:760-846 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f5e52920294879a45a59538b195075b22d38f00ffcd49ad40eca1416f57cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:381-423 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:29-66 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92d5f3235bf0946c3a79ed10b240ba795c74506de7601179788dfa6174696a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:398-422 | app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:430-453 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb3341979baf082f67c8de8fbe90fb0db6f80957bdbd29709dec5effb48d7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1392-1443 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1445-1485 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0df62582c6c1c8453fd9a01b7ef9d5e851ca3b7e719b4e509988c928ec9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt:78-108 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt:112-143 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"547edfe9b8cd06d0b906a2d2a07aec4aba37342897a6108687b04db007af7e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1859-1893 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1954-1993 \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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fd7cea8b7b37e0e6e0ad92fb1047f9f19a6c2b351056d962fe5e6661510b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1577-1604 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1610-1643 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fde5e1f861c799fa4d4199262e4c6db31443fbd41a73c2380c16f3e94e4faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt:233-277 | app/src/main/java/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt:279-320 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6416c4cc02237a8c893e8c5df1fdeabbedc1f81ba196d62803d7e54f325e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt:1421-1448 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1715-1749 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4813ce2081ebc8ba2eb6bf033910fb4b81315f3b9c9dd7e3c36468cbbaaa525c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:901-938 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1199-1238 \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/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"8205b7d19c99b9d27c2e7e770e87b1c2b2dd87236914ac13387f96297790300f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:489-514 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:623-659 \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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02918280ce743e90b23690bc6c9ece31de1f50615617b03f9b1a33a13f87c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1136-1167 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1774-1805 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1f8a0c3e3e169dea10c50dec69d8ac9829cbda0ec1ffecddba5fd23c43e12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:170-196 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:207-235 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce62bb556f0c25a9c1a83028df5a5f2eb58cdc331afcf052b80e7a478bbbecae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:317-360 | app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:366-407 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21147f797954066e51579c8f8d949a1caf1acab030c03b296246e58c6b2d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:867-897 | app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:899-928 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea450820dd3f760af24de50aae854a7f64b61c908b359202b24f5acfdec8849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:590-612 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:623-646 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"9150468b16367e8f0e35025f54077a08e187fa98a59b58f961254c996cf0dcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt:1236-1260 | app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt:1264-1288 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5386814ec8f2b198b2f70f96bd0165ed9297b25900243005980bcdaf304557f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:515-541 | app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:679-706 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b8e59659b200a1fe6d5b9456358da7d2bc99cd21ff15a06ec6b88a67769ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:112-131 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:141-165 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e0455cc1d54ff26e52ce5813d5e0d24a10f36180c7c9c6d7fc82c15aefede7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1388-1408 | app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt:1515-1535 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f8aee7e11eece2b5ade13029d656be248f12a5a14cdb332b8bf5fd82913d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:872-895 | app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:903-926 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"400938bdbeb1f6db995d1101ff59591607fadcb641f7efa6ac16b5b372cce10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:1002-1024 | app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:1079-1101 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"11795b67e846f5d3f84598c103059353d6ba8a061f2b2a858f139bfbeaea5b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/dev/openbili/webdemo/AuthViewModel.kt:74-97 | app/src/main/java/dev/openbili/webdemo/AuthViewModel.kt:99-118 \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/dev/openbili/webdemo/AuthViewModel.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d8ca49f1a10ffc72dada823fad423036e9f33ca14389c4223adf0b3611583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:246-262 | app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:265-281 \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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1103a4aeaea9e9cecda9fab1e33ccba26287ccef0b499687996b8c46d00483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:346-355 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:199-210 \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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d6a00996eabef85f3ef84010e37aab1d0157fd8b35e1ab9965fc9f36d60ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:154-172 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:857-874 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:924-943 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:950-968 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 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/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef8f7c64d524738fd2d581d75386e632ca8cf33722e3e5ea366f9314c240d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:432-443 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:76-87 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ab22c2d7503bf0a69fe6afc768dcb0b4b2cb564c0ff9fe71086bfd9461b097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1833-1842 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1844-1853 \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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"62948558a90efec280777720d4b53274b02c01371ffd4375f9a131b3771ed6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliFollowApi.kt:164-174 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:704-715 | app/src/main/java/dev/openbili/webdemo/api/BiliVideoApi.kt:499-509 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliFollowApi.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"917666350b7e776555f6d91c2be480c247e990e90280e0ecd7084d7a206cc01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt:158-177 | app/src/main/java/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt:179-195 \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/dev/openbili/webdemo/bangumi/BangumiIndexViewModel.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf18e71fbc18dbd5f7437a024e4b8e8b73a326800d135f95958ffc7b5e5406"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:42-50 | app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt:62-71 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:798-805 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf6ff3f901732acfc1e52cf708a159b3ba2152d20d9e751eaecfba5673ed32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:477-490 | app/src/main/java/dev/openbili/webdemo/feed/FeedItemJsonParser.kt:143-154 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d1362b9d6b45be64c775a0bdd4bf2f7bf27acba22cad33da5b89fbb8d105f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:351-366 | app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:368-379 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:11-26 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"420436715451dfb6eed1fc5b1694f15d78693c4cbddf260c1a0500d1858f9fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/dev/openbili/webdemo/MainViewModel.kt:28-46 | app/src/main/java/dev/openbili/webdemo/MainViewModel.kt:51-71 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/MainViewModel.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1c94dc16bdeb004d15b37e3f45ec6e3319af074469253036ea2790ed66abca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/dev/openbili/webdemo/BangumiPlaybackStore.kt:21-31 | app/src/main/java/dev/openbili/webdemo/PlaybackProgressStore.kt:20-30 \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/dev/openbili/webdemo/BangumiPlaybackStore.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"099c91e6d2012cc620d61997e71578eb663e46b1121789e258b60d6e1f5c2365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:117-124 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:126-133 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:135-142 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271cfe03ef71e6194f0c342d41014071ae8082564565df1f27a91ae9e316148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt:143-150 | baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt:187-194 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf7c9d8e511ebfd899a633e66db42b83cecd96040721ed3925bddd697ee553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt:62-72 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:419-426 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a9eec1ce71f1923a69742e0f51a3b3b44684b0f71a834b63e48c59a2e05d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:339-344 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:192-197 \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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb797f9228d2827ba3caec8e822afea19dd750af85078f8dbe7a259c76a727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt:46-52 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:746-752 \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/dev/openbili/webdemo/api/BiliHistoryApi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"018351fce915fa0ef091dfc1f633b15620b9f23a9a7ed11eaef9920b6f494421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt:632-638 | app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt:641-647 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:373-379 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70bc7f75550ab6a5c5901aaf90b3a081456570804356763e93d64e08adda4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:361-376 | app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:1219-1226 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2716214072b9718c93c9484fe48412f65a717bf6cbbfc8eabc0ff8fd633692c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:454-466 | app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:574-583 \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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dd07e58421ec380b1c0b7fc99a001d89cec3abb740f8da4ef63908449796df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:84-90 | app/src/main/java/dev/openbili/webdemo/live/LiveHomeViewModel.kt:159-165 \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/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed563bf5de759751c133a97e11a05fe19ea60b6383b7a1dc2e6461d1b9d8da4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/dev/openbili/webdemo/video/DanmakuWindowController.kt:145-158 | app/src/main/java/dev/openbili/webdemo/video/DanmakuWindowController.kt:163-173 \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/dev/openbili/webdemo/video/DanmakuWindowController.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8c284b5c99c4cb6e89a3ca9f9e941656875fa990fcda885dfd77ddd3f06129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1649-1658 | app/src/main/java/dev/openbili/webdemo/bangumi/BangumiPreviewPlayerViewModel.kt:265-270 \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/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbc3ca700e04043a9de2f3b4849f511f3c15da1f69036f46f846fcf39b42bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.kt:207-217 | app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.kt:220-226 \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/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e959fc26cf8f1a66db6f88fb3f5c5c3e1e4163793f662a34803c6804569097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:295-300 | app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaModels.kt:163-170 | app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt:1540-1547 | app/src/main/java/dev/openbili/webdemo/video/PlayerControlWidgets.kt:243-250 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d555ec3d7e0134656d765bfe23526ba7ec92e50572ee40dd50a6d1d2693f15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:459-467 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:105-113 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"023510f5bf8371b369e8937807703364cb4aa89951423ca1e96c281443f240d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:452-457 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:98-103 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc2bc6772f7dd05aff7a65326bafd4d22678ced8806900fa66f4dd5b77f6456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt:1146-1155 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:863-872 \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/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a599acd11ce8b9d3b88660fb93079f700a9098890576b00b7345e26b57af66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/dev/openbili/webdemo/api/AppSigner.kt:170-173 | app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:465-469 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/AppSigner.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f48849c7d9830859d31633a41aeb8e583ded1d16fbc21197dc008c1579a36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (141 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:280-420 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:254-394 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:279\u0060 calls \u0060rememberAppRootStates\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:253\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"04124e8909b7ab31814457179f61359954b17b0f5eb62479812f9af5c8507fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201360 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:313-372 | app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:401-458 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootPlayback.kt:313\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c309322aebbb783690a59833f35bde006d93768aa3e40328db067c480a50a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:919-976 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1051-1108 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:919\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5b496639b1dd70bdafd98c96110e1d0e80ff7a482c7de7fff292acb6898f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:517-573 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:404-460 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:516\u0060 calls \u0060mutableStateOf\u0060, \u0060RootPlayerOwnership\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:403\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5d48c435a45c7f1269dab1d5980d51a95573ff2784e87914eb9921fba8d46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55\u201357 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:644-700 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:496-550 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:641\u0060 calls \u0060LaunchedEffect\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:495\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14f8ba829e9e5ec808aef3225bb9e6ad9157be37404c9ebf1ce9cd3ffad4c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1618-1660 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:611-653 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1618\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6304bc9bcc0af48ca456f1d9fcdc5dccf2ee135b5a0d1e078785583dedb6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1283-1320 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:624-663 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:1282\u0060 calls \u0060closeProfile\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:621\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce8f9baec9e7b33cb0ade7418604fafefc7ceb707044f5d58ca8bc2a4505e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:193-227 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:213-246 \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/dev/openbili/webdemo/feed/FeedScreen.kt:193\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"083ceefcb618138437f815bbc2c1990161c29c7dd21c34ac2ac24b695e9afc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt:313-344 | app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt:412-443 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoActionDialogs.kt:313\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"22deedcff8faf6b8b3a1a166cbb85065fecfbee625aec2d7c5428329162d0aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt:694-724 | app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt:750-780 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoHeaderContent.kt:694\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa9e7dc3b2e32ec6d2b13e8125ee16a7e204ee89fc556d26b5d42595f7c3fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:1302-1330 | app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:1397-1425 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootExit.kt:1397\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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f44ebbec9abe56c3cc668cd91b9f671256aaf7f03bea1b47ae5ff986c2db19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:243-270 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:221-248 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2a41c74f9432a79bca90693f5ae94fdaa9dd6ccbf72a51865e35caef1d9e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201328 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1400-1418 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:683-710 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4733d912d8a89b1fdfd21e1119f371bde7780d13b7e0bd792bb162ab99ab8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt:809-835 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1279-1305 \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/dev/openbili/webdemo/video/VideoPageContent.kt:809\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fd13223d21ee42fb01e0c1b5ed201988bee5c58501c9aa58188485408f6b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:352-376 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:383-408 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/DanmakuMaskParser.kt:352\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e508ddf8869b81a6fee33300a34e27bd43ca1cbadc91c873baa179b443036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt:307-329 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:351-376 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt:307\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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04280aa3a9d99a32912d9281e1e7f08d3bdf30e67391c4319fde497b97871db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1143-1167 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1782-1805 \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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1143\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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a9109e4e57bfbef4de7bb4e2835e82ece9da04deea877d0d9fc7f67021759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201325 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:762-779 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:568-592 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e5beb8fdf16ae0efbbb07b1a7957fc0eac75a61c9dcd242dc34b18d3a8494a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1011-1034 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1145-1168 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1011\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"645a56876400e539cd139dc218d6112bd85ace62c9a3f11693d83fd88919fb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:414-434 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:438-460 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/DanmakuMaskParser.kt:414\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/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"423bb47f617efc8d3cdc058fda7f3ea91b7f23ff57faeb2562f4466e18b4b790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1054-1076 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1078-1099 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoScreen.kt:1054\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ffbed6a951d97aecd33577029fbd6bc45177b73e2c38fb6f8c85a96f315e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:684-705 | app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:712-733 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/feed/FeedScreen.kt:684\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f64495d07b63270517341ba71454362760ad1dd782c2294152f0a7c42990a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1011-1032 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1165-1186 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"196a580808105fb88431c0f23874583e819f6b4321e7445291ff548d2673e28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt:79-100 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt:113-134 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootTransitionTargets.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9fa5d16bdb2eeb697eff793d32e61635d04de7972e1f5612f603d277520fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1206-1227 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:216-237 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1206\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80056ee438733c5cf4a55f86e0352146e4fb20bf7190eec8287804a558e57c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1261-1282 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:161-182 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80835f6bed3d03587a827c39dabfadd76905c1818259acf61bb46ccc029d47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:865-885 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1034-1054 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d125edef7c7f2bf0a4778f5e9c8a224ecaa5b20da1bb2557d39a2e6ea5a30fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1451-1471 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1481-1501 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c63f218ac881a46c0fb5d7bb28744432d818551f45bb0236f4537ed950e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:666-685 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:702-721 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:738-757 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949fc0bb2f843f1ccb59cab1ef79bf27156da089cc18cc58a4c1fc58fc31ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:566-585 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt:61-80 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:453-472 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4652bae168f22b92cb54b1e9831e7118570de872c8f61f711fe2c676ab2e2315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:608-625 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:633-650 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:707-725 \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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:608\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8760dd1c7f1af0b18e5df0ac4fda469b3fd80fe37546a580be026330d08930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:539-556 | app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:700-718 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootExit.kt:539\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"af60bf8644d2b1f3f81dd7b4d161b71d13453b26aaacef89a1f76c807a2bac95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:622-640 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:696-714 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba831a0e492303b4a4707abaaadfef7e7b3e7dd1ef335d7342e267ec36a11ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1325-1342 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1364-1382 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1325\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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f81d74071765d5503cab9d71f1b0b8e9341ad659ddc6dcfc8d14a4621d9048c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/RootVideoEntryBackdrop.kt:53-70 | app/src/main/java/dev/openbili/webdemo/ui/RootVideoEntryBackdrop.kt:104-122 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/RootVideoEntryBackdrop.kt:104\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/dev/openbili/webdemo/ui/RootVideoEntryBackdrop.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"709b79d502406bfd17a6897b7182ceef49799a25efa9e1e9886c1e1423d70cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt:227-244 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:268-284 \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/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"806bde1bf00c1010309b57bee5734daa2ca939e539e6a785597c9843fc53227c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1243-1256 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:594-611 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc8399bd05f6abca6ecdce71566cd3960a18ca9219636eda0f5063b9a43a7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt:805-822 | app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt:917-933 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/BangumiPageContent.kt:805\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/video/BangumiPageContent.kt"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"9254690290e5c5541cf844d1c45a0cc50881a0791ab85856e384504b1bca25c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1615-1631 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1644-1660 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1679-1695 \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/dev/openbili/webdemo/video/VideoScreen.kt:1615\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec70babd430ad2d252394faed97e0f6273e432228eca2acb3a961b23ad75a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:176-192 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:215-231 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliCommentApi.kt:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a2b22b62002880112c7b49bb4b099b98b02dfad1041aa53c16afde8c63e642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt:811-827 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:2006-2022 \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/dev/openbili/webdemo/article/ArticleScreen.kt:811\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d6fdc4fc8d10a2631da69f214a8d67057352aec8ac6f6be85c638e5d3cfffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt:481-496 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:325-341 \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/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt:481\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/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b0ecf887eb0709ff92e89eb0ba5400b0fc0d694aa97cbbf21512b2f05e4818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:397-413 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:697-710 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/feed/PopularFeedScreen.kt:397\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4480be38ed81dfac9b050536c3e76d064f10b5c9a38d8ba433ccb2fcc0755dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt:262-277 | app/src/main/java/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt:349-365 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt:349\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e1e1343d55f0f277ee9549b1fa0bd4573016d46867b67bf0535a47556f064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:282-297 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:455-471 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.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. 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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a40cdf4bcfedda9f804a0770615ed5ad35a41739555c1e7919c8443f5a69be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:322-338 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:499-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c153071662bfaefe04fd752e3f330896ec8f64980b7be8be79e167430dbe85ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1449-1465 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:338-354 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1449\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc68aba7d33c31b8f61950f95f4efb2343b1118a10a5774f5b97c5521f034eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:789-805 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1013-1027 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:789\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:787\u0060 calls \u0060settleVerticalPage\u0060, \u0060onControlLevelChanged\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1012\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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c84b225d22f48099aefbe47a78dfe8ea7e8cbbce1359aab2a27c1e3114829e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1437-1452 | app/src/main/java/dev/openbili/webdemo/ui/AppRootStates.kt:502-517 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUiValuesFile.kt:178-193 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:829-843 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:851-866 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1437\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d4ad5e1f0d4edf72cd4b491dfec223d42db2f1c6e65cfeb7abfbfaf0e1ebda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:540-554 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1731-1746 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:540\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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ee824a8acfeeefea5903d05a9a9645602ee0b54c0bcf97842d500952fe1416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:1351-1366 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:666-681 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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. 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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d236085396908184c31dbeff6e92605cdf49952a4b7ec22a36cb346b7a8301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:242-257 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:408-423 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.kt:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fad6e5e09394761657a421c1b63838ad00bac7904909daa9194fdaa992e3cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:566-581 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:708-723 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:566\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:707\u0060 calls \u0060onCategoryFocused\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:565\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db8abaa316584863fb16880f09ea749d7079b0db31be7144dc75cad142c0f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1365-1379 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:314-329 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2be44138a51346661ffe216e758f81fe39429e93a829d326b1ae912f729f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/HomeMusicTrackList.kt:633-648 | app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt:134-149 \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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"499f2dd1934a217d79910a69c2afd4944f757ab914e09ee017de2496ed7ef31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:153-167 | app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:260-273 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfd763bfce5eacfbf5346fd444ec7b8de51aec6feb6d94a0b0ad349c54106b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:538-552 | app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:618-632 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf04216f6dd83714864d5459c94b31654d2cbe273e07f8b4d1d6461debe41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:644-658 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:728-742 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9e2e748d21377c72a9c2735dd7b71ea42d2806f0c9bb30078a94ce7da4bdb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:453-467 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1115-1127 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ff951b9d42c85c01d03eb7ae5c8e7389fa873d4be32d2580af31885d4bec80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:1559-1573 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:1647-1661 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cebb3a5f94dd65e274582787ad7182b5554aa6f8587f6ff7b2f0bc35d931d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1394-1408 | app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt:1521-1535 \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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1394\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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6032e832d9bce37e21e0f4a3b56de2c12025c9fc7b1a77599703ee178406971d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt:851-865 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1394-1406 \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/dev/openbili/webdemo/video/VideoPageContent.kt:851\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"84851d10bbb9af064e8abf015628e657ce21a280a94f679ef7ed1c255ded9f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:317-329 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:510-522 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1016-1029 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1170-1183 \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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1016\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a98404bbe8d10134b002d3d5fefc0840458fb1197cee35e089dac66a28e0694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1009-1022 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1143-1156 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:827-840 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1009\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d65b94cba4d0c362efc0ade3ea6581a561dd878200fda33724c04921a4dbcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt:351-362 | app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.kt:1104-1117 \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/dev/openbili/webdemo/api/BiliModels.kt:351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliModels.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9dbc31d43567d785d7c6ce0ae96f54e4cbaff5c132c812c3e793fefabe8c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:116-129 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:150-163 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"158829ede04be8c62ef246ee46f84aef085426b1b025d0c4acce0492638dc14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt:725-738 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1951-1964 \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/dev/openbili/webdemo/article/ArticleScreen.kt:725\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b0e205c4bb34aed23f4c7ab4684a47895b8bf983ac009248f192aca3433c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:271-283 | app/src/main/java/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt:234-247 \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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:271\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff0d52a02a1abb9c78f32626475c36b5eae5e1102cebe566e03f3bbcc1efcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:230-243 | app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt:268-281 \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/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa12fa2414be75bcd060a2199fe46bfebb27f95a261feff14a70971001d9e879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:873-886 | app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt:904-917 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/my/MyScreenSettings.kt:873\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenSettings.kt"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee0d0d82cbd9af40643567cd4421eb15a24be1797edddf1e34e3a2f494f860b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:164-175 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:429-442 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:164\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a00fa3fb16cfce5f0acdb58e5dc23c435cd652f7b430986e1f851ffd95017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:830-843 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1075-1088 \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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:830\u0060 it does not close everything it opens, so those exact 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 \u0060modifier\u0060 to \u0060modifier =\u0060 in one and \u0060modifier = if (clipToPane) modifier.clipToBounds() else\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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bccf540f03caecedbf51ed528b30e05ae2f423984433de6fe475ab0a5ff16e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:326-339 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:365-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/dev/openbili/webdemo/ui/AppRootEnterBangumi.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. 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7ff748210b334f593734d76c087e2331408001e09d54dd4de11e78d829cfa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:439-452 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1092-1105 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c03d9431c58d6d694b13fc62cf2846f57b2bcbbc2fd19288698d8654c9372f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:468-481 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1129-1141 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:468\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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"06da485fefc24f61d3bef2a9851a8e5e331fdeb4e180b22149b2d521f8b53aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:983-996 | app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1138-1150 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:983\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:997\u0060 calls \u0060setPortraitSourceHidden\u0060, \u0060Video\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt:1151\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/dev/openbili/webdemo/ui/AppRootEnterBangumi.kt"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a45ced9a177c02026ca22a7cb5775dc14dabee2a8f6379cd7661d3dbde3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:1132-1145 | app/src/main/java/dev/openbili/webdemo/ui/AppRootExit.kt:1517-1529 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootExit.kt"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c310d2a22f20fe274f94dd91daf65a03c5d9be6260de4d6bf2833c170ff8cfaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveLayer.kt:122-135 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1546-1558 \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/dev/openbili/webdemo/ui/AppRootLiveLayer.kt:122\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:1559\u0060 calls \u0060isNotBlank\u0060, \u0060luminance\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveLayer.kt:135\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/dev/openbili/webdemo/ui/AppRootLiveLayer.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"39af8081e947b7f1d48bf267c00b960e5562da4a47169e83e4f079e39d28b9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt:405-418 | app/src/main/java/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt:461-474 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootOverlayTransitions.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb521c3505811678be8eacc59fc0320d442af0af8b9b2c58e70bfcb2154ef441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayerLayer.kt:98-111 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1445-1458 \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/dev/openbili/webdemo/ui/AppRootPlayerLayer.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"644e6f1b010615cb61eaf92fbbcbc58b6e1ddcbea3200aab213e739dff068925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt:333-346 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt:595-608 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfileLayer.kt:333\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"947706aa2678a36ff6309d9a4c26e57e7af2a2ed4095dceb244fa4eb509ec8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1387-1400 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1449-1462 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1387\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8e66a5e486f9095df6dae91843dd8695986f5ec95891180e8865a4de0b4c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1540-1553 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:536-548 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1540\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d31f2ca5976fa60d8379c40370eecac7e505b93bf34fc8338c55661034d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:260-271 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:132-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f2cb82c67b55f6a420df0c4425c468ec1e9918e25aa561ace18235babc574a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt:1287-1300 | app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt:1449-1462 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb48305d3322970e868287e085c3894d2a9d64fe381778c40fca9c044bce0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedImageLoadPolicy.kt:150-162 | app/src/main/java/dev/openbili/webdemo/feed/FeedImageLoadPolicy.kt:188-200 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/feed/FeedImageLoadPolicy.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab74144d9afcd3f20b56c86d2b9f5c358e4b42c0fe8eb6fb3b6506233d48499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:175-186 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:193-205 \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/dev/openbili/webdemo/feed/FeedScreen.kt:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93ad4014b714c05cec6766d647fdf7362c9d81ea8271e7dbbf539cfce24ee4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:329-341 | app/src/main/java/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt:309-322 \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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7abfc7c26159b16fc2c09b96cbffd0c8c33d5af57a0d72d8dd1e13219c95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:423-435 | app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt:419-431 \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/dev/openbili/webdemo/live/LiveRoomScreen.kt:423\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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40011fe96b1d7355c3e4f25fc2383f6f874d0c4b7ea88fbd99c5f27fd1156a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:478-490 | app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:589-601 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/LiveRoomScreen.kt:478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b057d80360ea8c9caa13cee5fb4fb72c59066539d08cfa8e012128a79901211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:552-564 | app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt:808-819 \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/dev/openbili/webdemo/my/MyScreenHistory.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. 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/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"72172bde798740b99bbb9d75f81a9a98986fc74cec1fd79e9c315c2aecc78240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:377-389 | app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:463-475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt:377\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/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd811280478f9736758087561ccae0c293502e3e506b0244945ef71a58fbfcdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:228-240 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:391-403 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.kt:228\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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"afac0c2493129d684a2db5006dcbaa1686fd109d8b8c73f076c06cebb83397cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:299-311 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:476-488 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.kt:299\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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb2a246fc95b5ef7c825be02dedbce52a531716f7a54cfb50cbf627ee8a6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:214-226 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:265-277 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e18b34766c592ac2c0eae76661333df457c393ad9ca876ac969b8a58e9cc384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:832-844 | app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:905-917 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootVideoState.kt:832\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a89613362ab8ea134dcdcee5dea318d346427c071975c34722a1ec1d732b79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:978-990 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1110-1122 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:978\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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23cc1831d41e956cfb3553d4ad3f4b125998fcbcffc987f8baeb535a4d651db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:392-404 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:919-931 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:916\u0060 calls \u0060mutableStateOf\u0060, \u0060rememberCoroutineScope\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:391\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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87930ec4b1be8421e7c638046258a6b2fb581e68cb0bec257abc3854853c59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:291-302 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:2228-2239 | app/src/main/java/dev/openbili/webdemo/ui/AppRootModels.kt:612-623 \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/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8da595ab834fa1e678f522c99d3c35c4b55df24436067ae31523ebe86bcfd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:201-212 | app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:370-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/dev/openbili/webdemo/api/BiliInteractionApi.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:214\u0060 calls \u0060optJSONObject\u0060, \u0060length\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:383\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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531a679589c2be8dc939a3ed62e8b7446db17db4d7569f6201796bb75d42d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt:287-298 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1549-1558 \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/dev/openbili/webdemo/article/ArticleScreen.kt:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad51c00c1d81895598b0f3a495aaf898f0beaa86671817f31ee6da7e9a2cfa8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:162-173 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:174-187 \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/dev/openbili/webdemo/feed/FeedScreen.kt:162\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2038550ae737f352305b5583619fe8e217ca9d743a2d34fa01a0a3948500dc9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:134-145 | app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt:851-862 \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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"12af2d60a62683af980bfeff9fd05c7806341aeb044ea82564366b771882669d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt:446-457 | app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt:374-385 \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/dev/openbili/webdemo/my/MyScreenFavorites.kt:446\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/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608f645e38c5da88db5e7e6e86dbc0032a2950b3a7681a96a76e5dbe0492d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt:482-493 | app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt:1025-1036 \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/dev/openbili/webdemo/my/MyScreenFollowing.kt:482\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/dev/openbili/webdemo/my/MyScreenFollowing.kt:481\u0060 calls \u0060markLoaded\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt:1024\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/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb921d20b2ba4ca5732050ac7283c0d6025f84f1b8750364dbf41da4e0e1ba89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1177-1186 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1272-1283 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95b57530bff2b7bd009075270d7db41433442c55665c84448a28212a1595abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1860-1871 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1955-1966 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/my/MyViewModel.kt:1860\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"971095ca52388471c6229d698eded9bde10a881a1a8a85a02aaf9a6ef6b61ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:425-436 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1698-1708 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a301b7e45414b9b3df2d5799a3336db3c688d235cea78426b11c90f89a879d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt:446-456 | app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt:374-384 | app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:595-605 \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/dev/openbili/webdemo/my/MyScreenFavorites.kt:446\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/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"110be2119190620b4d71b280bcd4371729c5327aed0291d7c360c2ddb1e0adfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:915-925 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1047-1057 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:724-734 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05feb24627c7351cdbffa5f7e067ef5e41a57abeed18acf9e489a5564717d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:264-274 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:305-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:264\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/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ee9cf755723631528a556cde1aaffd4a91e4acd16afeccb060792da5d4976d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:670-680 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1782-1792 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f5a4bdc4e8dee91c127fb5bb16b700d3a2446afd1907442a6969cab906720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1439-1449 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1598-1608 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileScreen.kt:1439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c24c58de11a5a0efb19198abf4c89774bd1cf16c3f363440120a70fda08f2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:630-640 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:485-495 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:641\u0060 calls \u0060LaunchedEffect\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:496\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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3679904093239eda0da6c769e0907aae546637604b56741129dafea8c69ad8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt:738-748 | app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt:555-565 \u2014 before extracting anything, compare \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 452 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/dev/openbili/webdemo/ui/AppRoot.kt:738\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c98ea0c3b1e7c77a5a45aeabac965b83053205fb8bbd4ea47eef9b8df5061c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1303-1313 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:251-261 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1303\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eb26fe469b610e0c84f984f413611e0133de5075bf9ba045a7b16c3112e967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt:1237-1247 | app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt:1265-1275 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/CommentCard.kt:1237\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b57db900bd75a40954cd41b34a0253e1c26e4b06911ce25bc8ecbf2bfddb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1267-1276 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1357-1367 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1267\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/video/VideoScreenWidgets.kt"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eb960876f7c3109563350e45e61ec7771226f739ec8ebbd7b05404e669316b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/BangumiLocalHistoryStore.kt:94-103 | app/src/main/java/dev/openbili/webdemo/live/LiveHistoryStore.kt:59-68 \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/dev/openbili/webdemo/BangumiLocalHistoryStore.kt:94\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/BangumiLocalHistoryStore.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d618ca589ba6716a3552388e0b2036c154edaae1569cc30079ff3c4115e9dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt:900-910 | app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt:211-220 \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/dev/openbili/webdemo/live/LiveHomeScreen.kt:900\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f7ae447d7bec1974586dc9031520ed5a7a1f9df56442ffeaf8236dc9a2e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:184-192 | app/src/main/java/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt:169-178 \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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee08c05a35493b8e759f01a4f524e996849ed3fdd96fe94b9a7cbf78b5edc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:713-722 | app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:609-618 \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/dev/openbili/webdemo/my/CachedVideosPane.kt:713\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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:619\u0060 calls \u0060BorderStroke\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:723\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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"8500faa69ad0aa8125740465f6b84b7d8c75ac6aff62924f6abf0087782ca799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1677-1686 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1737-1746 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1677\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4af2f104ff6c99795b29503243bb07f849c5a9cc0b6fcb0e9b1eb0c7fac2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BottomCapsule.kt:330-339 | app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt:1726-1735 \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/dev/openbili/webdemo/ui/BottomCapsule.kt:330\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BottomCapsule.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0aa783a69b249db6db623231bea4c51bc420c26c8e711a998cadc7e8e5c591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/HomeMusicTrackList.kt:467-476 | app/src/main/java/dev/openbili/webdemo/ui/HomeMusicTrackList.kt:497-506 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt:467\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/ui/HomeMusicTrackList.kt"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b76375d26f0652a776aa9963ebf5a1dedfa6fde60565e9165279b33c537a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt:63-72 | app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackSelectionPanel.kt:117-126 \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/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt:63\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/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"289b1d9ff62d6f574cad97866d35162637fa6ac3d5a24f90a714a35d0e27d4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt:295-303 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:236-244 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:2232-2240 | app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt:274-282 | app/src/main/java/dev/openbili/webdemo/ui/AppRootModels.kt:616-624 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedViewModel.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2216f836a25c81aad32335fd4be478eda1178ba7d093c62c04d319cb74a0ece1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:711-719 | app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:607-615 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:833-841 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1078-1086 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:711\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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"3908d0a4d6282d74e62b5f17b04f43da4f27cfb9ab379882b045fbbc05850e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt:145-153 | app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt:230-238 | app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt:257-265 \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/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicViewModel.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b19cb2a814a9f8362e9cfb9a9b44618d305d8d4fff3300b5c1c2d69bd8e17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt:1433-1440 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1733-1741 \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/dev/openbili/webdemo/PlayerViewModel.kt:1433\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/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca203741e29673a33677d6c5b996237dcba004b5e271ab989b10dd6b819f33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:267-275 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:290-298 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliFavoriteApi.kt:267\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:289\u0060 calls \u0060toString\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:266\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/dev/openbili/webdemo/api/BiliFavoriteApi.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"460e8dd8f6b0e2a1a556de5e45863efdc415deabdd14ce7522acdc94a31ebcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt:451-461 | app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt:481-489 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliHistoryApi.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8e9dd9e180369c3989ba6edf6072386b675920ae47280b67d3f02ae3659703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1741-1748 | app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1771-1779 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt:1741\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/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"399204ce10cd3d4ff6c63a864b9723ab4910e12ea455d1c89a95e4a9da74aba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:331-339 | app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:274-282 \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/dev/openbili/webdemo/my/CachedVideosPane.kt:331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e50a81ed8198bde7b8066d079fc8378376431ede5e600108c7c4cff5d45568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt:462-470 | app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:644-650 \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/dev/openbili/webdemo/my/MyScreenFavorites.kt:462\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/my/MyScreenFavorites.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0667ed5b41d242061f2e61270be729df053e3f549ee18f49bad0b2f16d65001c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:618-626 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:650-658 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/my/MyViewModel.kt:618\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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339d4933a779a32246f3b8e84ea59c71e76d83ebd24a505cdbfed8b089d4144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:272-280 | app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:445-453 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootProfile.kt:272\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/ui/AppRootProfile.kt:271\u0060 calls \u0060isBlank\u0060, \u0060markReady\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootProfile.kt:441\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/dev/openbili/webdemo/ui/AppRootProfile.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf3a9b23ef7742a814a29aa0259ad3b2d6213653bff961bff029b0113b8820f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootUi.kt:253-261 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUi.kt:267-275 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootUi.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6064753068d97d9f39941245e9023ae9c174dbea8e1985ec11f621f08e0a8342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:568-575 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:616-623 | app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:648-655 \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/dev/openbili/webdemo/my/MyViewModel.kt:568\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 \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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b402591ea4f2184e75f4146684297e7795335a3b430dda6d4fa861950e5be6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:289-296 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:311-318 \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/dev/openbili/webdemo/api/BiliCommentApi.kt:289\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/dev/openbili/webdemo/api/BiliCommentApi.kt:286\u0060 calls \u0060toString\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:309\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a644b527ec5d22035484125f4a9635117eb9a71936968210bc7f2aa7e1f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:165-171 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:726-733 \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/dev/openbili/webdemo/api/BiliFavoriteApi.kt:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"34847d9238221bba6e9b08cee92cfa31d06de910380eda3f3714cb08d9b41919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:505-512 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:712-719 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:505\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b4785e314c28bc597113548ceaa4f1879db35987f335882b1960cadd1fa663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:688-695 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:712-719 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:688\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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e85d4c93ecda9dfcffa1432dc620145650c96c19a8d42d3602287838922637b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:341-348 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:405-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/dev/openbili/webdemo/api/DanmakuMaskParser.kt:341\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2910370eedacb81da051421a48a527400daddadec252f3e37d3e89c5aee111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:280-287 | app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:369-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:280\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2ac7608f925f333577dd40272808a2fa1074283ed0c846a15bf6955a9f3dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:513-520 | app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:528-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:513\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/dev/openbili/webdemo/my/MyScreenHistory.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6b1886d8b951c7afc720f88c13c653cd0e0521af9cbd2d5a5a7056862c617e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:398-405 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1428-1435 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7da740114ba2bdb473e8f3f31e935273d9c9ad5924f972b568c72fd2145a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:502-509 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1679-1688 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:502\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"af20cbe56f9cf8fe5763a4f01eb30818c10dd7b2202b92a6d49171e260a4f1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:493-500 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1432-1438 \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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:493\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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb76cdaded97e37692a4f64fc376edab50e83367fa2599dc80351285818b85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:818-826 | app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt:1063-1071 \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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"29da249a077a6b9f1b7200ba03eda22416e970f074896d6927ed7fdff05a454b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1173-1181 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1298-1305 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileScreen.kt:1173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a06b02cd0fb0f3c0c1f0561f93979d4cfd9bc93e0df19195c1f06ed4fb4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt:581-588 | app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt:634-641 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootLiveTransitions.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15db90b6827160e5599407c2a7168bc11ace6a77ec518d43b3bad4436e5b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:273-282 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:147-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5e69a6261d64c1d175173331619d954bbd81ba1bb33f7a6c9e00a54de5ea42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:313-320 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:177-184 \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/dev/openbili/webdemo/ui/VideoCardPalette.kt:313\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c66714fa056f9912ea3ec75524de2432973ac6ef7431dfb1a9b5a659e37d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt:658-665 | app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt:854-861 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/BangumiPageContent.kt:658\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/BangumiPageContent.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccc01052f2102713b5646732abf77a03457e888a73f6975e007f3f8f1cffba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackControls.kt:96-106 | app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackPanel.kt:65-72 \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/dev/openbili/webdemo/video/ControllerPlaybackControls.kt:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/dev/openbili/webdemo/video/ControllerPlaybackControls.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa0cac3a4ebdf45731e38eef45d443a588888ee4685719ae4fa8ec7adaf6815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:344-351 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:379-386 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:408-415 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dc0dac7264c94dc0d822ad27ce0915b4667d4ebf560e74777a44ade33639ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt:792-798 | app/src/main/java/dev/openbili/webdemo/my/MyScreenFavorites.kt:462-470 | app/src/main/java/dev/openbili/webdemo/my/MyScreenHistory.kt:644-650 \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/dev/openbili/webdemo/article/ArticleScreen.kt:792\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142051fb9abc897aa37b71dd6b2baf11c395beebd322dfd21936cc54f84d604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:399-405 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:490-496 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1429-1435 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:399\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d1d752261b9c3b8f1e6080b006d37fcf60604d2a99e0b7beadadcdf349922c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:292-298 | app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:310-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8196b8c045ca30d0287af12fefbb74e5b33717aff72c32f5ea641eef431183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:934-940 | app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:1120-1126 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"2675739b9030ee7ab530b79871694111049225b0545c9860050a52145966066a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:252-258 | app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:271-277 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliInteractionApi.kt:252\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/api/BiliInteractionApi.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4125276b6535a046a5fe996078befa5ff7fdd37ddb52eca8b15ca71dd1c3b0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:67-73 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:385-390 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliSearchApi.kt:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8f38841c1657eff8c33bc6623533356d60abbbb5930b49dcf722cfbcacfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:352-358 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:12-18 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt:352\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0ac037e5e80e5ff9ffd408b8219d0e70f938414029af434776bab3aeac6e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:532-538 | app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:697-703 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/BiliLiveApi.kt:532\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/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc2b756a55b7ca001fcacfccded3dd0157b859f32595a08e4d4b0380a3cef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:331-337 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1725-1734 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:331\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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6747b63c188bf41065680b70d376019bb645828e5e1135d712cdfddec8f4c4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1131-1137 | app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt:1276-1282 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileScreen.kt:1131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dbf9ce84b0b1b7efee0bf9c269c01d1a227446d47f28e773afcafbde1eb762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootArticleLayer.kt:49-56 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUi.kt:109-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticleLayer.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ca509c66149973d142f580e7256ffbe0fdd7d19f4f61323411d4d01e555868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt:432-438 | app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt:110-117 \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/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"52574b6927e23e9d850839ebb1972d837682dabda74e9d1c156b17976e3dc377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt:85-91 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:127-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt:92\u0060 calls \u0060startEnterLive\u0060, \u0060startEnterLiveRef\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:134\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/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09f1c3bb3494166e3ed4622d74204219293b4940b93cc968febc9692f9e8536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt:61-66 | app/src/main/java/dev/openbili/webdemo/video/ControllerPlaybackPanel.kt:40-46 \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/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.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. 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/dev/openbili/webdemo/video/ControllerDanmakuSettingsPanel.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4174f8be6a13fb243ca80894e4a1aa8bf77dd41761d91ec49e458c31b7fba66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:289-294 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:311-316 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:695-700 \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/dev/openbili/webdemo/api/BiliCommentApi.kt:289\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:286\u0060 calls \u0060toString\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:309\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cccc77acba780754ae5726323b3996aa1cbb8363731f3ccbd6345ca15f4957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:186-191 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:256-261 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f78b80340fce33fb4a7f850f6ae4c75555c8aa16fa3470b83652901cd0040a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyScreenMessages.kt:963-968 | app/src/main/java/dev/openbili/webdemo/video/CommentComposer.kt:318-323 \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/dev/openbili/webdemo/my/MyScreenMessages.kt:963\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/dev/openbili/webdemo/my/MyScreenMessages.kt"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"2122379b4465d8eff342b1b86873b7f596ee7cb63ece947acd4c11f36b4b5ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt:488-502 | app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt:696-708 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/search/SearchScreen.kt:488\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df7cc3799c167e09ec66945696a737704706c0814533151ebe98ed150ea9882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt:430-435 | app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt:270-275 \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/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab128a52a2cc610b8aa223a403f526b559840a31b7a0c928589a064c821bc119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1291-1296 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt:196-201 \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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"31898ea2c9b540b26a1011145fc1305f5ed00cd53f3ec77c1afb34e9d782f6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:347-355 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:202-210 \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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eac2e1373a4a5adbd34aafd1a6f33d52823358f6c0d3c7ea211d8b7236f8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:915-919 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1047-1051 | app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt:1485-1489 | app/src/main/java/dev/openbili/webdemo/ui/BangumiIndexScreen.kt:724-728 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5614fa3f1479e6b1f54acc69e84b1459afe98d2982e535efbb3e2967c991a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:288-292 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:341-346 | app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt:405-410 \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/dev/openbili/webdemo/api/DanmakuMaskParser.kt:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/DanmakuMaskParser.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb0d8a61c5c7b8b383f241139163a35a2b796448df78d466be5d4c5c174383e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliBangumiApi.kt:589-594 | app/src/main/java/dev/openbili/webdemo/api/BiliHistoryApi.kt:219-223 \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/dev/openbili/webdemo/api/BiliBangumiApi.kt:589\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/api/BiliBangumiApi.kt"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6512ae1170b147be313ea9d7eb65de8400173b287ade3d7e7e8fea9f516961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:100-104 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:198-202 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2676581ee1b77c3ca71c34f1126d49d4e8a348de4a491cf65bf3cc6f0da7a17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:248-252 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:320-324 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliSearchApi.kt:248\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a97f977ec6c98b969883f80f3406532caed5ac91842612ca63c3e4c2aee0682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt:703-709 | app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:599-605 \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/dev/openbili/webdemo/my/CachedVideosPane.kt:703\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cdaacf949399ecd8558fa1631c9b85e9064ff746ec87c076ce9a0074e43cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt:93-97 | app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:134-138 \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/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt:92\u0060 calls \u0060startEnterLive\u0060, \u0060startEnterLiveRef\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/ui/AppRootUiOverlays.kt:133\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/dev/openbili/webdemo/ui/AppRootProfileOverlay.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c1dcdadd024e37d0dab0bc0d303b007ad70fc71825dd39d66aee9ba3f7afeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:406-413 | app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:437-444 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/StaticBackgroundImage.kt:406\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb5f8b21fd9ea99d1e590f1cceb430a59745494bd3c5c8a03bdfbd01fb173ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/PlaybackEndOverlay.kt:192-200 | app/src/main/java/dev/openbili/webdemo/video/PlaybackEndOverlay.kt:377-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/dev/openbili/webdemo/video/PlaybackEndOverlay.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. 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/dev/openbili/webdemo/video/PlaybackEndOverlay.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc9775323cbc4de59afc7f609e66b89edb460b8c5bc89c634e6694f90c8a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt:442-448 | app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt:512-518 \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/dev/openbili/webdemo/feed/FeedScreen.kt:442\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b1f12f439d2798114439e2150edbadd5f411a2e8dfab4ba7c4a9e56cad1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt:1042-1052 | app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt:1053-1065 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/video/PlayerControls.kt:1042\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/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"d298d7c43124d05993f2180bf5b0ad57a0d3755ae997a722cd558cb4cc145aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt:789-800 | app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt:986-997 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1f6d98bc01ca340a2c9ede2f3829e0b8bc116682fcbf14fde6ac2c6f44cf1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1486-1497 | app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt:1536-1547 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"150ed45aab4a60d335bd3fa5ab3573ae18ec98d3f36f7036c21ee9b1f3748716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliVideoApi.kt:244-255 | app/src/main/java/dev/openbili/webdemo/api/BiliVideoApi.kt:267-278 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/api/BiliVideoApi.kt:244\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd8cd817b436f6e58d0c97030d7ac1a940e7062f5ec464f8c559589c7d7bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:491-501 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:625-635 | app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:675-685 \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/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt:491\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliPrivateMessageApi.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79ce357b74602becc49ddcf980c245632aa16469bc118fa0761c7efd690a077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt:1121-1130 | app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt:1212-1221 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/HomeHubScreen.kt:1121\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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6010966b59d44df208947a213e47fb6c61e2c0fe65d9cdd783cdd006e6d7d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1004-1013 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1027-1036 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:1004\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa001c158a35103b58f4d63a77a5197c12a8b59c098bf49c6fb44576871b4d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:418-426 | app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:440-448 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt:418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c4f9b35efc1715b0f3140092587f00bf3d8da2861a08c90097bcccda336d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:721-725 | app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:776-784 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/ui/AppRootVideoState.kt:721\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"63294a53e1a8f7e75d888eb12ab454a396ed7b51511466a27b85d3636f53dccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:732-740 | app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:749-757 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/live/BiliLiveApi.kt:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3295f334f74ffc56041de30f26eb171bd0bbc99843e2e88045bb736b3d3324d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:44-51 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:88-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. 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/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d537b45fe333f26497cd2a188dc9ff512e9cfbb7a6d260e2b7f1186dae01fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:269-276 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:289-296 | app/src/main/java/dev/openbili/webdemo/api/BiliCommentApi.kt:310-317 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:293-300 | app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:311-318 | app/src/main/java/dev/openbili/webdemo/api/BiliInteractionApi.kt:41-48 | app/src/main/java/dev/openbili/webdemo/api/BiliSpaceApi.kt:695-702 \u2014 there are 7 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 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/dev/openbili/webdemo/api/BiliCommentApi.kt:269\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/dev/openbili/webdemo/api/BiliCommentApi.kt:266\u0060 calls \u0060toString\u0060 and \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:310\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/dev/openbili/webdemo/api/BiliCommentApi.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4afc6add646a79ecf8b314a61845340cfb9d09a9a6dc56d61c7edca4256fec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:185-191 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:68-73 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:386-390 \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/dev/openbili/webdemo/api/BiliSearchApi.kt:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/dev/openbili/webdemo/api/BiliFavoriteApi.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc48fc80514faad51988375405870449843890940cc20fef2fe5fd52e8f7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliSubtitleApi.kt:436-441 | app/src/main/java/dev/openbili/webdemo/api/DanmakuProtoParser.kt:80-85 \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/dev/openbili/webdemo/api/BiliSubtitleApi.kt:436\u0060 it begins part-way through the construct above it, so those exact 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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a5814d2cf033e365f16862d2b744eddc607e3c635118e07f76ada96e4f1813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:183-187 | app/src/main/java/dev/openbili/webdemo/feed/FeedViewModel.kt:241-245 \u2014 both copies are in the same file, so extract the block 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/dev/openbili/webdemo/feed/FeedViewModel.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. 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/dev/openbili/webdemo/feed/FeedViewModel.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1a3528fa7ff310a96d030f58c46d65aaa43e5c263a9e6c19388c12e33de1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliFeedApi.kt:185-189 | app/src/main/java/dev/openbili/webdemo/api/BiliFeedApi.kt:237-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/api/BiliFeedApi.kt:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliFeedApi.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dbce762f9e8446ae059a5b0709eac60d1b58f5351795aca1593bfb52eb12d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/api/BiliFavoriteApi.kt:192-196 | app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt:391-395 \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/dev/openbili/webdemo/api/BiliFavoriteApi.kt:192\u0060 it does not close everything it opens, so those exact 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/dev/openbili/webdemo/api/BiliFavoriteApi.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318300a93d15e363af9ecf45e028a52cff4194f6ca5a589608b648659fe7c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt:1735-1739 | app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt:1163-1167 \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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"145bc1f88ba4ea6a55940683b0438e6eb2dca33e1a09516321d645a6c5d8756e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:137-141 | app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt:162-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/BiliLiveApi.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50784dcc2839403207ed3a7f2585c4c64663abcb531d8d7d79b47574281c1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt:116-121 | app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt:336-341 \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/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c3b47a99a6b5dffbd867691df846a9a6670d332357292a6f8695b3c48a5813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt:340-344 | app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt:193-197 \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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf50dd3b25ca91bdcdb13b45e5e1d7abfcdbfb99715eb6b98f2ab2893103347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt:520-524 | app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt:531-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt:520\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/VideoActionDialogs.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aba34e11c537f7afe5fbe334097816a6ac3461dcf44b621fa882eb769d30e16"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32a9e15e3673c935bf5eb884f4fed3667191f18856dfd1b25f198946f6d21d80"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e79c58640ddbb2666351b604a0fb6268f552ee5fd1135915f45dcc5061b0a64c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt: app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 162 in VideoScreenKt.VideoScreen at line 220. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/VideoScreen.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/dev/openbili/webdemo/video/VideoScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"91efd17c77ee6a6e3dc7071d214e70755250d00720b89e84c6cccaf67cb1659c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt: app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in VideoPageContentKt.VideoContent at line 139. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.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/dev/openbili/webdemo/video/VideoPageContent.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f33b8685571f04eabe4f4c87967c5cdee4c7d27bd1e54b2d0b4b843d0005545"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in AppRootKt.AppRoot at line 228. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRoot.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/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd807ff4b0b1427d02d55c34f0ff15fd851004a6f05b2bc59a43f2705a193e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt: app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in CommentCardKt.CommentRow at line 320. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/CommentCard.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/dev/openbili/webdemo/video/CommentCard.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31939eba447abc66fe93e22263fd0836b0f3d72ca37eff88f05d077f646639a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt: app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in LiveRoomScreenKt.LivePlayerCard at line 801. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.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/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"343ae6aec3c3785d8066f6ce460948e17e740e396b04e54c79e8d58cf25a9401"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/my/MyScreen.kt: app/src/main/java/dev/openbili/webdemo/my/MyScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in MyScreenKt.MyScreen at line 79. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/my/MyScreen.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/dev/openbili/webdemo/my/MyScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0209a0fa719ed065bea118e9171ce949992191ede3c291b326b773cfcf6ed194"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt: app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in BangumiRecommendationScreenKt.BangumiRecommendationScreen at line 302. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.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/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bfe23640aebaa775562f8a40af9b3938d86a8fb24e2fbc32796889b9acd5d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt: app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in ProfileDynamicScreenKt.ProfileDynamicGrid at line 283. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.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/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91ad5f12418cd6200f1bd393b8e892498b116e95545e051fa4cb7eb14e583e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt: app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 157 in HomeHubScreenKt.HomeHubScreen at line 264. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.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/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5d166a5ae73b0f41c98b2e0b03fe58d3532d76322a3f7acb6b21cd7b4a1759"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt: app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in ProfileScreenKt.ProfileScreen at line 233. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.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/dev/openbili/webdemo/profile/ProfileScreen.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a0e5ef07bd488ba19fcc41a58aed96218c46daac6d34c682f6d6debc027b99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt: app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in HomeMusicPlayerScreenKt.HomeMusicPlayerScreen at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.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/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd029570e8c78eb50721ff11a1088649bb1da511cddf42b6f578fc26be69ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt: app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in MyViewModel.select at line 416. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/my/MyViewModel.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/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"272e5c8b5767826c9eeb9ae12b8924b401eec1c4e9fbe0b1108a3dd412029ebc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.kt: app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DanmakuOverlayView.update at line 343. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/DanmakuOverlayView.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/dev/openbili/webdemo/video/DanmakuOverlayView.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f85bf561418e7c7fa4ff5991e416a21b36c02170364dae942518bf4f8e5483"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in AppRootTailKt.appRootTailContent at line 189. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"95951310de68846714ffd19e45c1e67fa04fa70466eaeebab325f87bc670b7f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt: app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in VideoHeaderContentKt.VideoInfoTile at line 210. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/VideoHeaderContent.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/dev/openbili/webdemo/video/VideoHeaderContent.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebae4a1ee9ba47b324b788bb6d0fb8ad39100d1c5a16fd5e7d689887017b7f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt: app/src/main/java/dev/openbili/webdemo/video/PlayerControls.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in PlayerControlsKt.DanmakuComposer at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/PlayerControls.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/dev/openbili/webdemo/video/PlayerControls.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70a757d5f3740b542ed4a433a7928fbe5fe843c75e5d54bb61899b0b5134770"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt: app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in ArticleScreenKt.ArticleScreen at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/article/ArticleScreen.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/dev/openbili/webdemo/article/ArticleScreen.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f1436d83ddcf8e192a47cf6e8c3ee1003d7280f90a1b0a0bcbfb804b3b2b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt: app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in SearchScreenKt.SearchResultsScreen at line 520. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2486dea4b48eaf3839980cf5146086594b5d1c04146ad77af8e3608a144a9dd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.kt: app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in PlayerGesturesKt.PlayerGestureLayer at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/PlayerGestures.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/dev/openbili/webdemo/video/PlayerGestures.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb00e966463154afdcdb3451d2032dbe4755b22a1be74dae3f55f44d2c9d6ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in AppRootProfileLayerKt.AppRootProfileLayer at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRootProfileLayer.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/dev/openbili/webdemo/ui/AppRootProfileLayer.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce974f3658b8b876ceab0d219a5a1fe0c99b4e052dd26669544bbb359734f507"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt: app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PlayerViewModel.preparePlayer at line 486. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/PlayerViewModel.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6199ab2ed771f0dec676b69c35b7ced072bcaed98fd2f831f41d617681532cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt: app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in FeedScreenKt.FeedCard at line 925. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.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/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f9213e4a0b8ca5ef7a3493b3be5182bcacb07c6b17b50d62827ca6cec6858"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/CommentComposer.kt: app/src/main/java/dev/openbili/webdemo/video/CommentComposer.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in CommentComposerKt.CommentComposer at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/CommentComposer.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/dev/openbili/webdemo/video/CommentComposer.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2164bbd673dcc1f5770789b2610c80da4e4fb3fae1bdad5dcf09e9d3ec96047f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRootFeedLayer.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRootFeedLayer.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in AppRootFeedContext.FeedLayer at line 319. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRootFeedLayer.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/dev/openbili/webdemo/ui/AppRootFeedLayer.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e19cea77a9c3b05a938177730887c0769ca46af8a2493b47127b7baa342fc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt: app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in BangumiExploreScreenKt.BangumiExploreScreen at line 152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.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/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8b37eae7cb300a39a59815636cd4e9a33d11e4f143b540189e23a08f7130e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoLayer.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoLayer.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in AppRootVideoContext.VideoLayer at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoLayer.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/dev/openbili/webdemo/ui/AppRootVideoLayer.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeaf8d6c695af7a96b8498f84cf65eafcada8a50b3332c07593f1b399aa6bf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/PlaybackHeader.kt: app/src/main/java/dev/openbili/webdemo/video/PlaybackHeader.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in PlaybackHeaderKt.PlaybackHeader at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/PlaybackHeader.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/dev/openbili/webdemo/video/PlaybackHeader.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4522c5060a39845b744da005926a8994fd47923aa103f53148adcae449cac9cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayer.kt: app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayer.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AppRootPlayerKt.AppRootPlayerEffects at line 253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayer.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/dev/openbili/webdemo/ui/AppRootPlayer.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efe8720a90b098cfce2f1566656a6f9235239b667a97b62ccb29e4f36ddc4f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt: app/src/main/java/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in BangumiExploreViewModel.loadFollowing at line 398. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.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/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd040de47590cfcf2b0a8cf3adde65e24508a9f313d8daf1ae02dd83bea7429"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/PressableVideoCard.kt: app/src/main/java/dev/openbili/webdemo/ui/PressableVideoCard.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PressableVideoCardKt.PressableVideoCard at line 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/PressableVideoCard.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/dev/openbili/webdemo/ui/PressableVideoCard.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"274ade65f765cd48828bcae90749f3551f1ba223272c0ff47bd0c979c700ccbe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt: app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PopularFeedScreenKt.PopularFeedScreen at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.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/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bda1ef7755aacfa5d541abde9bc30a2762d39275f06e6a414aa90ea0bff9c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.kt: app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SearchViewModel.loadPage at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/search/SearchViewModel.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/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e17c3900cdc0e6f5e541b8ca97c95a756122405e79e9361bd09984d44c250f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt: app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AppTransitionsKt.CardTransitionOverlay at line 390. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/ui/AppTransitions.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/dev/openbili/webdemo/ui/AppTransitions.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b2d12d08eb48f3df0be01da8a11c8198375438f4772c1a4963fef5df629bda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt: baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BaselineProfileGenerator.captureBaselineProfile at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.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":"baselineprofile/src/main/java/dev/openbili/webdemo/baselineprofile/BaselineProfileGenerator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd4846c60e539228762c535e3bb5c9950f8a125a5f89a7fa256a9d7cc3c186f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.kt: app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in OfflineMediaManager.prepareAndQueue at line 601. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66cd8d8b3b7332e50eca0c104d2a3091dc062be67d2879ebe44bd732ddba413"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/video/CommentVideoLinks.kt: app/src/main/java/dev/openbili/webdemo/video/CommentVideoLinks.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in CommentVideoLinksKt.parseCommentVideoLinks at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/video/CommentVideoLinks.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/dev/openbili/webdemo/video/CommentVideoLinks.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db3756d53fc98f7e3beaf18c962af200b0d215abdcbb1d87b578d9d0e47fd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt: app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CachedVideosPaneKt.OfflineFeedCard at line 498. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.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/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab2b844fc135c1b5d5ef85e67d94371d907859d72993678e7a5e2db0d25435"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt: app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in HomeDynamicScreenKt.HomeDynamicScreen at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.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/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"77020de0788cfce977f16db87cdb76e7af72f7415544de16031134ff666813c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt: app/src/main/java/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in OfflineCacheChooserDialogKt.OfflineCacheChooserDialog at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.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/dev/openbili/webdemo/offline/OfflineCacheChooserDialog.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c276eec54ed9b3946b9a8f1e8258466e260f49eeba822a3371bb56c3c80f5a03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt: app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WatchLaterViewModel.update at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 20:01:46 \u002B08:00\u0027 --until=\u00272026-10-06 20:01:46 \u002B08:00\u0027 --full-history --no-merges -- app/src/main/java/dev/openbili/webdemo/my/WatchLaterViewModel.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/dev/openbili/webdemo/my/WatchLaterViewModel.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5484392da997fb3aa7eb094aa2cf7b860947fb416f360b85aa1ab7524e57ddb0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (109071 LoC, 1176 module-visible types across 18 directories) overshoots its size bounds. 1 of 2 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"ruleId":"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":"a7e7a536f6a1de1a2c6611481ef42c3277d4557d794c2f7836da07d48e52cc6c"},"properties":{"commitSha":"70e716f05bfa2a6f5adda18bc8b0c829e0622e68"}},{"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":"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":"ecbc8d7b748be3d630eac70269ab827252496b6a2ff09b4682a873c428a7eb8e"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c9cdbc10397469ab0d352a0f95135bb42adb13292e145f83615f18a00a0bdd8"},"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":"D37","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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 103 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"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":"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: \u0060app/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170fb04fe78176a33c2b44461eeb0bf2839b74c80362ebf7185e17a3b446ff7"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f9fed18e89835499003434961acf480b8e8012b3bcbeb02e6e62db64ca75aa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!FeedPerformanceConfig.aggressiveFastPathEnabled || !gridState.isScrollInProgress\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt, app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3d62a0e931de5d1def36164e5538368b9cdbd230f72cc3952855a5cef3acbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!backgroundWorkAllowed || gridState.isScrollInProgress\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt, app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e3fae345fd96316532bf1d3ddf9315f57dca91870e57696b1f94dbfac2e3fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!bufferingForRecovery || !activePlayer.playWhenReady\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2193dc2b2b9cd7d7fe78008116619d850a13b65aff486ecc441795016bfe9679"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!colorfulCardsEnabled || avatarColors.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt, app/src/main/java/dev/openbili/webdemo/video/CommentCard.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c9c4d6c9a26e0d25a1172f6ee26ed1a49e14a9680054d2215249b37887600c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controlMode || !controlFocusable || controlFocusRequest \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt, app/src/main/java/dev/openbili/webdemo/ui/HomeMusicTrackList.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicLibraryPane.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"383ebed3d43149ec88b2cb752975b6c605f7eecbdb33fa33dece17fad9c34da0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!directory.exists() \u0026\u0026 !directory.mkdirs()\u0060 appears character-identically in 3 files \u2014 app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt, app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/music/HomeMusicPlayerViewModel.kt"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2c3a8bab2870b67782eb3936d2d0149d3d48ac68b5bd7d0da0c60b79a8964a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isPlaying || videoExitPrelude != null || transitionSession != null || (transitionPhase !is TransitionPhase.Feed \u0026\u0026 transitionPhase !is Tran\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb902eaf8132a319c61b5957f7cef894b678a78cd655e74b63657395cf070a21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(state.playbackLoading || buffering) \u0026\u0026 state.playbackError == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb24bec6a76e377d90c0a0ba53548a4a01802822d806c2d8fe744bccd499d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activePlayer.playbackState == Player.STATE_BUFFERING \u0026\u0026 activePlayer.playWhenReady\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b14cd7986621670232f0179a0717627a3beebfd09bb2768bbe34178f0d48278"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060android.os.Build.VERSION.SDK_INT \u003E= android.os.Build.VERSION_CODES.O \u0026\u0026 bitmap.config == Bitmap.Config.HARDWARE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt, app/src/main/java/dev/openbili/webdemo/video/CommentPalette.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a452acc6190b6e0b8e5f9bc93dcc81d9f63dedb0ad14dec816d568b74e835a34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060available.y \u003C 0f \u0026\u0026 pullDistance \u003E handoffSlop\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b7c63712f2249b762b09c142ad4e4bea4ffd6de954bcf09d071219103d0bb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060available.y \u003E 0f \u0026\u0026 !gridState.canScrollBackward\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6c0a99a33980bca963ac82ee19c13dc2d57a423525e5c0a3734ced135c78b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bangumiSubType \u003E 0 \u0026\u0026 bangumiEpisodeId \u003E 0L \u0026\u0026 bangumiSeasonId \u003E 0L\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayer.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootPlayback.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb081c41e8d5c786f3f13e971f02506adaa5773174b3e838594613cd654783b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bounds.outWidth \u003C= 0 || bounds.outHeight \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoState.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dba7e63660566e23f157c2921ef986e5f1f1baf9ce9f8beb9f71293ce7baba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060category == BangumiExploreCategory.ANIME || category == BangumiExploreCategory.GUOCHUANG\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliSearchApi.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d25127a40793063de3b49e215ef234e6d9a70a24438089be6433a338deac8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colorfulCardsEnabled \u0026\u0026 avatarColors.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt, app/src/main/java/dev/openbili/webdemo/search/SearchScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"507047dbda04f58cc8a8e20db015c7a3af4eb4df092fbbb431d77a17db0a2ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controlMode \u0026\u0026 controlLevel == BangumiControlLevel.EXPLORE_CONTENT\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa543c6cdb80cdf85e544020184066406d64c7482b852e5baea0f073376b10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.hasUsableSize() \u0026\u0026 current.approximatelyEquals(previous)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7f3aedbb5300e176f7262501009c41c234b17290eb505857f16b92f2bb7e6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == KeyEventType.KeyDown \u0026\u0026 event.nativeKeyEvent.repeatCount == 0\u0060 appears character-identically in 10 files \u2014 app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt, app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt, app/src/main/java/dev/openbili/webdemo/my/MyScreenFollowing.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7354ebf834437fabad05acb2c1e1506e9bb3f15f8136677b63551b4c9c1195"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type == androidx.compose.ui.input.key.KeyEventType.KeyDown \u0026\u0026 event.nativeKeyEvent.repeatCount == 0\u0060 appears character-identically in 4 files \u2014 app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiRecommendationScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72f009bc17d4b6b7039be80c1ed305fc0f7d2185a0b3b14992e3b81cd91a628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullscreenTransitionBusy || !fullscreenLayerVisible\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"efadf9f79cc12970e74896d549039916d54b310d18c39560768c84c757c725cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullscreenTransitionBusy || fullscreenLayerVisible\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"234fe24092c66777ff863c53498487d16c009501f7350dca73603976f01834bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gestureFeedbackVersion != version || gestureFeedback != displayed\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9aab5c902d02422255fdb475f1c35a942dbafe81a13b5818976862e98799ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gestureFeedbackVersion == version \u0026\u0026 gestureFeedback == displayed\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba9be25c94ef0aaa0763c109cde31727f485ed59b4e6ae817b24d650ea29c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info.bvid == episode.bvid \u0026\u0026 it.cid == episode.cid\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/video/ControllerVideoSelectionPanel.kt, app/src/main/java/dev/openbili/webdemo/video/VideoSelectionOverlay.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/ControllerVideoSelectionPanel.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a0ff4574a6395515a818e1037080b5a033c87949eb81cfff59bfb404c28048"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keyCode == KeyEvent.KEYCODE_DPAD_LEFT || keyCode == KeyEvent.KEYCODE_DPAD_RIGHT\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/dynamic/HomeDynamicScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6e75c516b7cc63b5e56e2d7e95f27d507b5db7d44f48f67cc8a7ef9139ed0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastVisible \u003E= totalItems - 6 \u0026\u0026 totalItems \u003E 0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb58d1808409ee0a2910b8d2cb237aed2c191d37efbb8b88574b88a9b5bd9d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060layoutInfo.totalItemsCount \u003E 0 \u0026\u0026 lastVisible \u003E= layoutInfo.totalItemsCount - 2\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/BangumiExploringRail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/BangumiExploreScreen.kt"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"307713ec1e673bd491fb4879e55ac240edfa90b842887bfc1ea257a924627803"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nearEnd \u0026\u0026 hasMore \u0026\u0026 !loading \u0026\u0026 imageLoadPolicy.mode != FeedImageLoadMode.PAUSED\u0060 appears character-identically in 3 files \u2014 app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9973e6614d5fa747bbc1fbfaaad11403cf47946ff4097d7ffff05eda4199c65a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overlay == ControllerPlaybackOverlay.INFO \u0026\u0026 panel == ControllerPlaybackPanel.NONE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0108fe965dd1f4be8df7d60770d88debf37d2f03a49616fdad4fce72a3fdc04c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overlay == ControllerPlaybackOverlay.INFO \u0026\u0026 panel == ControllerPlaybackPanel.NONE \u0026\u0026 isPlaying\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/video/ControllerFullscreenPlaybackScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"46469b5a0d77ad27250890d13d2fbf05c02489431577b6ab131652d1b1520d79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060playbackState == Player.STATE_BUFFERING || playbackState == Player.STATE_IDLE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt, app/src/main/java/dev/openbili/webdemo/live/LiveRoomScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomControlNavigation.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"51904cc30cbdd0b59c74e5a2496b3419777bbd138922e59dc8a1ac69d807fa2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestedFocusDirection == FocusDirection.Left || requestedFocusDirection == FocusDirection.Right\u0060 appears character-identically in 4 files \u2014 app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootLiveAreaIndex.kt, app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoPageContent.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveHomeScreen.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9e68dea6ffed6027d09056b6c277b80d03bef8ba6273d78739fc0f91c5057"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootPageSwitchRequested || rootPagerState.isScrollInProgress\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt, app/src/main/java/dev/openbili/webdemo/ui/AppRootTail.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRoot.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047554ff7ab5a1d4b373ed46927560f45dd7a7c2550fcadeb70215dbcff06f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section == MySection.MESSAGES \u0026\u0026 privateMessagesLoaded\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt, app/src/main/java/dev/openbili/webdemo/my/MyViewModelModels.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/MyViewModel.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"005a2d380eeac15b8735094a200bb6ea3935304be58c7103b8f8f7b99dd23da1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected == filter \u0026\u0026 initialFocusRequester != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde7812c6ffa8985ce2c9cebcca41878e6c6fd68c04eac6939cdcb4f37d0a48d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected == filter \u0026\u0026 onControlExitUp != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077f902bcd10bc33a1112359a2780ad64a0f1c0a497ca14c456bfdeacf8070c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.useHomeBackgroundForMusic \u0026\u0026 settings.homeBackgroundUri.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeHubScreen.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"832eacfd4045306b28894387d177a446813dd12357d25fc63c8392abc1b3d49d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceBounds.hasUsableSize() \u0026\u0026 targetBounds.hasUsableSize()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt, app/src/main/java/dev/openbili/webdemo/profile/ProfileCollectionScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/my/CachedVideosPane.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42a1b6412727dc8d006a28e3c5b9b89bead500b6c2f7ee7b83bf5c73a37f7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceBounds.width \u003E 1f \u0026\u0026 sourceBounds.height \u003E 1f \u0026\u0026 targetBounds.width \u003E 1f \u0026\u0026 targetBounds.height \u003E 1f\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt, app/src/main/java/dev/openbili/webdemo/video/VideoScreenWidgets.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/profile/ProfileDynamicScreen.kt"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c54e1ace4357bd3938551eaa364b919bd8f2a48d68dd0f8308afed6764b5cb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.currentItem != null \u0026\u0026 !state.playbackLoading\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt, app/src/main/java/dev/openbili/webdemo/ui/HomeMusicRemoteControls.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/HomeMusicPlayerScreen.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22e0d20cfc260bc7b19c4a5391f5b93dbbc61883dfc5cb5bc7d38f7124ee174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transitionSession != null || articleTransitionSession != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRootArticle.kt, app/src/main/java/dev/openbili/webdemo/ui/ArticleVideoNavigation.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootArticle.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31758c4575c328c82bc2eb6f60f456506b0d1dcca17c9e649674bc785dbbdf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transitionSession != null || transitionPhase !is TransitionPhase.Video\u0060 appears character-identically in 2 files \u2014 app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoPage.kt, app/src/main/java/dev/openbili/webdemo/ui/ArticleVideoNavigation.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/AppRootVideoPage.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c8fff185955e7d9c1052009a668f112b34846e7b909bc371526527d8d9c58a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060BiliArticleApi.parseArticleJson\u0060 is public, takes a document from its caller (line 117) and hands it to \u0060BiliArticleApi.parseArticleParagraphs\u0060, which calls itself at line 302 with a piece of \u0060paragraphs\u0060 (and at line 316) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060BiliArticleApi.parseArticleParagraphs\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060BiliArticleApi.parseArticleParagraphs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliArticleApi.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b955120f8f36ef62a737831c2d9aed53beaced6f8715060195c464131556b635"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/AuthViewModel.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4031e2cde94b84283f792b76c82b0838b8c6cc09eba730d4e5a7d0b50ed4cfdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/video/CollectionPageCounts.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7638332f645b804af50c74356fafd32abb3c7f842e8ea38eb7b416080e1a309e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/LoginSheet.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"47082b9f49dad16b23d0d9852acc0bdaaf72427fbcaf540035b57ceba1050424"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f51083c40bf8e63e93a96acb4a3e970157711001e1de69937a98eb85af6d104"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/StaticBackgroundImage.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c2b7461812c31e0fe453f7f271334672cbddfc2738006f7af1e60a776b4ab3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0952469b13926fbaacbfccb67bbf84e487b5a96e30c096cdd9629946b6cb9ba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/api/BiliVideoApi.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc1d4c2e3b047c72a84ca580e1ea841172f5e94c06d6eddc4cd292b88239f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060cdnHost\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/dev/openbili/webdemo/CdnRouting.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"73837386125b24851195d7f6a7185fc419bb6c8e8c97d60a878fcf1a61de7d47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSpaceIpLocation\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/dev/openbili/webdemo/api/BiliSpaceApi.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"253ee57bc76804348d4bfcb819e03006c616d130bf0e10fce8a774436a0d49eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonError\u0060 swallows every exception into \u0060\u0022\u5B57\u5E55\u63A5\u53E3\u8FD4\u56DE\u5F02\u5E38\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/dev/openbili/webdemo/api/BiliSubtitleApi.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94b61fe973f0eee2fcfa25766a539924e3360cd7b7fd72cb6e4e706cd647587"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060restoreFocus\u0060 swallows every exception into \u0060false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/article/ArticleReaderControls.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0075fc951b9b44bfd26d0d77b9c09dda8b1f9228623425d163240395c1f2af45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveFollowingSeasonTypes\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/bangumi/BangumiExploreViewModel.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83cbab1ba4795dc831e2c28612bcc801bc480835c484a90cf10bac06f03ce49"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FeedCard\u0060 swallows every exception into \u0060false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/FeedScreen.kt"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"245f19de4aa4e5de64b014da931c20f284d5abfd72a4f865abd2c6f57fe97fd4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060PopularVideoCard\u0060 swallows every exception into \u0060false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/feed/PopularFeedScreen.kt"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e46ebf2d2c493e4d5018c6b14c71359df8b8cbfc52c87cb33bfc1a3081630c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadFollowingGroups\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/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b330cd4269e878c7a0988491f6ee1a984c41925ed4bf6fcf7773a18ef84de7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060enqueueMissingAvatars\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/live/LiveRoomViewModel.kt"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba06b6ed32cc435edfdc63a797f41349b41c4bb6792ab6176b42c25bda59917"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadDanmaku\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49440ccb9c766ad523546c2a5340d157adb045e68b8becfd4b1c0cc7f81b243"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060totalBytes\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ab7f6c56f036a44c95edca0289788881e462285228ffb8e415f5e8a55b560"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060availableBytes\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"73783cb858074ef6d15b7cc32299585dcd9e251fe604b90b7e6cd4e942cbb814"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060directoryBytes\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/dev/openbili/webdemo/offline/OfflineMediaManager.kt"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a047a756f425a2bbe794fd80a15ab11911fefb631511be79c432428ea1d8cc8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060open\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/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"63777ab685cf30d3f7e1c651ef90e6c51dacedc25e3789ccf9c5de2ca3dd5d62"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060setQuery\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/dev/openbili/webdemo/search/SearchViewModel.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b712c81a66163bdfedcfce83117914c2a87c749c28b9e5029946ed8cee01af8d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060appRootTailContent\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/dev/openbili/webdemo/ui/AppRootTail.kt"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb6c43fd52cd9a43d38e7bfee4eeef0a2ccab1df7b15d62d8347d7d5ae39e0b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractVideoCoverDominantColors\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/dev/openbili/webdemo/ui/VideoCardPalette.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc9e72ba6f721f74d62442ab7b1dcfe9d3168f575622ea88eb3bb9749d9ffb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractAvatarDominantColors\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/dev/openbili/webdemo/video/CommentPalette.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc6722f326e7cee0e97ee4f3ed0e45d0ec8bd5a23518f2ae171fd47487aa6a2"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060path.startsWith(\u0022/payment\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060path.startsWith(\u0022/payment\u0022)\u0060 also satisfies \u0060path.startsWith(\u0022/pay\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/dev/openbili/webdemo/UrlPolicy.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2cf32d821c73fe3c3853cefe1f79ee00ac4a7d8adb3fd76b03cc367e33055c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"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":8,"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."]}]}