{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cyclomatic 98): SettingsScreenKt.SettingsScreen has cyclomatic complexity 98 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023699abd14c868bf626c64fde9952ecdcff02eabf266cae0a0b5394a3e0cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"LabsToggleScreenKt.LabsToggleScreen (cyclomatic 95): LabsToggleScreenKt.LabsToggleScreen has cyclomatic complexity 95 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"117459ef5f21a468f1f575801ec3baf0a38a33b58794056b904fe5617b31f266"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsScreenKt.AppsScreen (cyclomatic 83): AppsScreenKt.AppsScreen has cyclomatic complexity 83 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7853a03d37d9d3ae9ab3c30f5c9660851c85d3a0894978956485f1df1ec4f608"}},{"ruleId":"D1","level":"warning","message":{"text":"AdbStartRun.startServer (cyclomatic 70): AdbStartRun.startServer has cyclomatic complexity 70 (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":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"521bc844d5777d7e4bac81da6537283f4b7fe80a641ed4429827db1b8ee927fd"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellScreenKt.ShellScreen (cyclomatic 67): ShellScreenKt.ShellScreen has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03c0d80a72b4cacd7caea401371cbc634132543d86c15fc33cac57e45329e81"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivitiesScreenKt.ActivitiesScreen (cyclomatic 64): ActivitiesScreenKt.ActivitiesScreen has cyclomatic complexity 64 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81e4f3dfdcdafcfd8c9749b85ce4e06228bdfb4d8da06addb99309490eaa75d"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageScreenKt.ManageScreen (cyclomatic 62): ManageScreenKt.ManageScreen has cyclomatic complexity 62 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a440fc8bf12077f2406b007437b9f2fe0e93495bb0059a72d0c99b080c17017"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDetailScreenKt.AppDetailScreen (cyclomatic 61): AppDetailScreenKt.AppDetailScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8333e46fe91a1c224e144c048ee0ebcb117d6c7e81345b594957f39f02f2e3a9"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cyclomatic 43): HomeScreenKt.HomeScreen has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c65b8e42eb6d9883075252f5ee6e245f509fbcf41af1754d4b9a103dc64162b"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesScreenKt.FilesScreen (cyclomatic 40): FilesScreenKt.FilesScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbddd77c0a4c07660c1d141ffb702508fa05dccffbbdc9bec640dfbea287da8d"}},{"ruleId":"D1","level":"warning","message":{"text":"check-translations.main (cyclomatic 33): check-translations.main has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/check-translations.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"835162ae88de43484245cbf55a88002b80ec867af69cf1d708fa347e35699c77"}},{"ruleId":"D1","level":"warning","message":{"text":"WifiPasswordsScreenKt.WifiPasswordsScreen (cyclomatic 32): WifiPasswordsScreenKt.WifiPasswordsScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3041ee3e8b560c74647b4eb740c344e505158632bb69ea6f052e67cc0687101"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchIcon.draw (cyclomatic 29): SwitchIcon.draw has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/SwitchIcon.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e0ced8025bf11548dd4e83ddb44fd949dd6fa11f4fae1c59d129d2ad978fef"}},{"ruleId":"D1","level":"warning","message":{"text":"ModulesScreenKt.ModulesScreen (cyclomatic 28): ModulesScreenKt.ModulesScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f830cb858fbd712ea466d8c93040feb5f67499c3de94e1744ff75bddbeea0b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuConfigManager.\u003Cinit\u003E (cyclomatic 26): ShizukuConfigManager.\u003Cinit\u003E 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":"server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ce094fa5e5cabf8290ea353ed99a64d9a04d30a116d21dcb644f0381936155"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDataArchive.import (cyclomatic 25): AppDataArchive.import has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86c10799e01660241dab3db190d0475f7b914bfc22f615afa316e3a02a54162"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchdogService.attemptRestart (cyclomatic 24): WatchdogService.attemptRestart 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":"manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d59d759d2661c605c8ad927e0c4edb37780b816192d0b5f449e18f4ee992f5a"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuAppKt.TelevisionTabs (cyclomatic 24): ShizukuAppKt.TelevisionTabs 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. This is NOT this file\u0027s highest cyclomatic complexity: ShizukuAppKt.ShizukuApp (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff7396bae5ecb1e4faaa093770384e544e566910d5bdee200bf01eeef8ab8bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ContributorWallCanvasKt.ContributorWall (cyclomatic 23): ContributorWallCanvasKt.ContributorWall 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":"manager/src/main/java/moe/shizuku/manager/ui/component/ContributorWallCanvas.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbb3498e1e828f856a1fad5a959c5c7da5d7a3924ab1465b14202a4017472fb"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuAppKt.MainTabs (cyclomatic 22): ShizukuAppKt.MainTabs 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. This is NOT this file\u0027s highest cyclomatic complexity: ShizukuAppKt.ShizukuApp (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"9332e5c18128318d1800bab3bf50a01c1815f800e37ce5738088bd42d1228afc"}},{"ruleId":"D1","level":"warning","message":{"text":"StealthScreenKt.StealthScreen (cyclomatic 22): StealthScreenKt.StealthScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"035d5afb115512d089f12820763f3d5c78aafaffa079ae889033659bbbb42df9"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-translations.main (cyclomatic 22): repair-translations.main 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":"ci/repair-translations.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8289acd6a2aa4c25556e7fee795d7e8929fdab4725df5a396a71a354ebbf46"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceDarkScreenKt.ForceDarkScreen (cyclomatic 21): ForceDarkScreenKt.ForceDarkScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"916353ad0b8b55e700d3912395d2f6a49b7310c5e50c438c978aef91a0b25b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"RotationScreenKt.RotationScreen (cyclomatic 21): RotationScreenKt.RotationScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf67c8784d9041eb4fd0dce24fc7fe69dd6af1afda44e77d669cb1f6f0e9780"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallerScreenKt.InstallerScreen (cyclomatic 20): InstallerScreenKt.InstallerScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"287754abf824984cd2779a7a666929fceb571fa6c02b367e29a8f7197ce454a0"}},{"ruleId":"D1","level":"warning","message":{"text":"LogScreenKt.CaptureTab (cyclomatic 20): LogScreenKt.CaptureTab 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9433525e33b84980f3ae94c21e5951fb4ae5035a33d76282e4cb3bf47e4dce5e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdbRoot.setRoot (cyclomatic 18): AdbRoot.setRoot 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":"manager/src/main/java/moe/shizuku/manager/adb/AdbRoot.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa634623e0fee9afe81c81d8a1d4197b1bc4de235568aa4eb6d409e2cd51f5"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuReceiverStarter.adbStart (cyclomatic 18): ShizukuReceiverStarter.adbStart 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":"manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad2993fa0773d9af4c3319182e04f2e393f27fb3216884e599f427fba38c9f"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessibilityScreenKt.AccessibilityScreen (cyclomatic 18): AccessibilityScreenKt.AccessibilityScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"260ac229e90a5e4b68018b3db536decb5bdaef3ef4b1dde16a67f6365f1bf457"}},{"ruleId":"D1","level":"warning","message":{"text":"CatalogScreenKt.CatalogScreen (cyclomatic 17): CatalogScreenKt.CatalogScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b876a5ff1de2257ce5b17158e2eb37837509facfba2f0e7b4cbe58d9f65d6d6"}},{"ruleId":"D1","level":"warning","message":{"text":"LogScreenKt.AppLogTab (cyclomatic 17): LogScreenKt.AppLogTab 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d28190cae90376cdc49b2388e5cac93e686d76016341f2b768d42828ad6fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuService.dispatchPermissionConfirmationResult (cyclomatic 17): ShizukuService.dispatchPermissionConfirmationResult 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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"162c8c56cd3495688400f4e149ac5e33cb2b7cb3d190a974e14674db59152a89"}},{"ruleId":"D1","level":"warning","message":{"text":"update-contributors.build (cyclomatic 17): update-contributors.build 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":"ci/update-contributors.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aef3efad45955b1b323030d11db796ee26be199806728c8a1dec9b5a0f7cfc3"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceInfoScreenKt.DeviceInfoScreen (cyclomatic 16): DeviceInfoScreenKt.DeviceInfoScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4641391732f9b99651b0b6e85d99dee6a69f61c588d703a382a54b9c847546df"}},{"ruleId":"D1","level":"warning","message":{"text":"DisplayScreenKt.DisplayScreen (cyclomatic 16): DisplayScreenKt.DisplayScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5485268d44acc0ceb2a7983332dd7d27ab22cc091073f52d10b38e335de477a"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeDiagnosticsKt.buildDiagnostics (cyclomatic 16): HomeDiagnosticsKt.buildDiagnostics 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f57fe67fef29569868f8a413b0d4fed3df5a5f5e9d740b16d1375ec19face7"}},{"ruleId":"D1","level":"warning","message":{"text":"ModulesScreenKt.ModuleCard (cyclomatic 16): ModulesScreenKt.ModuleCard 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"838d02742ac6576a8de455c619f7e0b5a156e652a357aa3e4a029ffda4173a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"PowerScreenKt.PowerScreen (cyclomatic 16): PowerScreenKt.PowerScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f4ed2d52807e05c054db6466b62fdac90c32903211cbd3961d4fb211e24b70"}},{"ruleId":"D1","level":"warning","message":{"text":"ApkChangedObserversKt.eventToString (cyclomatic 16): ApkChangedObserversKt.eventToString 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":"server/src/main/java/rikka/shizuku/server/ApkChangedObservers.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"012a5a1d8b381bef0e538a4034ea73123001a7117ae7c9549941b88a5a8076ee"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-translations.find_bad_keys (cyclomatic 16): repair-translations.find_bad_keys 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":"ci/repair-translations.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56b19d6a0911326e23043aaf0d295cc03282ee5c935ad1b4d10320a357c574"}},{"ruleId":"D1","level":"warning","message":{"text":"update-contributors.area_of (cyclomatic 16): update-contributors.area_of 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":"ci/update-contributors.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c07056ba60755abc21e7c605b338b88c0bfd18d3ff3d1ed5eab374b56fb239"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsScreenKt.SettingsScreen (cognitive 168): SettingsScreenKt.SettingsScreen has cognitive complexity 168 (threshold 15). Drivers by points: if/else 93 (135 pts), boolean chains 21, match/switch 5 (12 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b14ebc5effcb69daf68978482b91b1ecf48e1549005199b7e75a9e8d5647511"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellScreenKt.ShellScreen (cognitive 121): ShellScreenKt.ShellScreen has cognitive complexity 121 (threshold 15). Drivers by points: if/else 76 (106 pts), boolean chains 8, error handling 1 (4 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebee2f4e58ce3228bc566754c085608b2b4f268bd446043b436d6f94ec65a2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LabsToggleScreenKt.LabsToggleScreen (cognitive 118): LabsToggleScreenKt.LabsToggleScreen has cognitive complexity 118 (threshold 15). Drivers by points: if/else 75 (87 pts), boolean chains 18, match/switch 8 (13 pts) (nesting depth added 17). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"639ce98db6e0f70be8199f09a0ae1b84613813f8e654b01b3991f314d6bffc80"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbStartRun.startServer (cognitive 105): AdbStartRun.startServer has cognitive complexity 105 (threshold 15). Drivers by points: if/else 46 (73 pts), boolean chains 13, error handling 6 (10 pts), match/switch 4 (6 pts), loops 2 (3 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce5ff6a0e2dfd6ebbad8e9c4ae5c6708eac515c8ad2029e61f13a8115906a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDetailScreenKt.AppDetailScreen (cognitive 98): AppDetailScreenKt.AppDetailScreen has cognitive complexity 98 (threshold 15). Drivers by points: if/else 63 (81 pts), boolean chains 13, match/switch 3 (4 pts) (nesting depth added 19). 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cff9052f5d4a69ccd11e15a54ca776e71d31372cb83f5ec506b47a6bc9b852"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivitiesScreenKt.ActivitiesScreen (cognitive 93): ActivitiesScreenKt.ActivitiesScreen has cognitive complexity 93 (threshold 15). Drivers by points: if/else 60 (73 pts), boolean chains 10, match/switch 6 (10 pts) (nesting depth added 17). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c3fe600b4d9be024f9ee90b1ba569294dccfe832ac6a88c22158f2a1f68186"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsScreenKt.AppsScreen (cognitive 92): AppsScreenKt.AppsScreen has cognitive complexity 92 (threshold 15). Drivers by points: if/else 57 (66 pts), boolean chains 16, match/switch 6 (7 pts), loops 2 (3 pts) (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e326e724a9d1845d7caac27f54141da473ef7830f3dc8099f090e2126d2db1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreenKt.HomeScreen (cognitive 62): HomeScreenKt.HomeScreen has cognitive complexity 62 (threshold 15). Drivers by points: if/else 42 (52 pts), boolean chains 10 (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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d82d6fa0fcbf06a9a0ec8938046a1927794025bf20c3aa388353528a602042"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageScreenKt.ManageScreen (cognitive 62): ManageScreenKt.ManageScreen has cognitive complexity 62 (threshold 15). Drivers by points: if/else 43 (47 pts), boolean chains 7, match/switch 6 (7 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6967225de14d73f31dd98d2d7dd8c4328a200db2d3e940b863e4d699245e9712"}},{"ruleId":"D2","level":"warning","message":{"text":"check-translations.main (cognitive 58): check-translations.main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (41 pts), error handling 3 (6 pts), loops 4 (6 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/check-translations.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"df833e9689aa59dbafd6fb53c5d90573ac5ae0f930e3ab0b43b8da94f8ebca39"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuConfigManager.\u003Cinit\u003E (cognitive 54): ShizukuConfigManager.\u003Cinit\u003E has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 5 (7 pts), ternaries 1 (4 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0096ab66e909a9b933ddf54e6925404abd363b2532bbba1b8813904b810a904c"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesScreenKt.FilesScreen (cognitive 51): FilesScreenKt.FilesScreen has cognitive complexity 51 (threshold 15). Drivers by points: if/else 29 (40 pts), match/switch 5 (7 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee57b10f120d159544d23574ba89b21ef36bbba7fe31212ab5a7cf94f6720ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"WifiPasswordsScreenKt.WifiPasswordsScreen (cognitive 46): WifiPasswordsScreenKt.WifiPasswordsScreen has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (39 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ccc32db6e2e3bdaacd5e2ce0358c3cfce587d12848102a56990e340e016cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"ModulesScreenKt.ModulesScreen (cognitive 42): ModulesScreenKt.ModulesScreen has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33 (37 pts), boolean chains 4, 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"710e505f4567cdbe1dc359f9bbdba5e738896c1d03de05389816aa0d52dbe61b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContributorWallCanvasKt.ContributorWall (cognitive 37): ContributorWallCanvasKt.ContributorWall has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 6, loops 2 (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":"manager/src/main/java/moe/shizuku/manager/ui/component/ContributorWallCanvas.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a122218d8f8da04625a1eb4798c0127ed5dda4fc1e9bc5c7dc519708e8f448"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchIcon.draw (cognitive 35): SwitchIcon.draw has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (32 pts), match/switch 1 (2 pts), loops 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":"manager/src/main/java/moe/shizuku/manager/manage/SwitchIcon.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc83da69519b68c4d0f07db0cb8e917a48766e4362e4492f3163464525189b8"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-translations.find_bad_keys (cognitive 33): repair-translations.find_bad_keys has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 3 (6 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/repair-translations.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4227d16df3a308913e5b7480159b37858caf49e374dbf3cb0e3295b4b784ac"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbStarter.openTcpPort (cognitive 31): AdbStarter.openTcpPort has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74db713d2c63a0bdd8366a113dcd906b616cc67e628bc5c63384e01fdd13530"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceDarkScreenKt.ForceDarkScreen (cognitive 30): ForceDarkScreenKt.ForceDarkScreen has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 3, match/switch 1 (3 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29a169796aa272e94768208b58c354feadf1ff0424e8c7b8b23fa6a819ac1d"}},{"ruleId":"D2","level":"warning","message":{"text":"RotationScreenKt.RotationScreen (cognitive 29): RotationScreenKt.RotationScreen has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 4, match/switch 1 (3 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742fafd01c24cdde89a8c933ba94bde338a4c63ecb95ab481004c8e406d87d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuService.dispatchPermissionConfirmationResult (cognitive 29): ShizukuService.dispatchPermissionConfirmationResult has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0051e1d42a333fb792d72e46d5b74ef571c8f5e68f221af2cb697d4b8b1b44"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-translations.main (cognitive 29): repair-translations.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 6 (8 pts), boolean chains 3, 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":"ci/repair-translations.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"311652f046ba6146cfde214906eff981962599605f98331d44845aeb09974c24"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuAppKt.MainTabs (cognitive 28): ShizukuAppKt.MainTabs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 3, match/switch 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":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d3d9fb9640a836147533e9517fbe000a2299b5decff372f8a7d23d71d6a4f9"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallerScreenKt.InstallerScreen (cognitive 28): InstallerScreenKt.InstallerScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 2 (4 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd313b043212c898a5188d4ac30829ca19ce8333e2b0c9e39a111e84fb62a8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDataArchive.import (cognitive 27): AppDataArchive.import has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3, match/switch 2 (3 pts), error handling 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":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"211093e1cc5a9d5555cbfb1b6b1ca70cc7807d5130a440024ae2e41ec44bb066"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeDiagnosticsKt.buildDiagnostics (cognitive 27): HomeDiagnosticsKt.buildDiagnostics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be6deb122024470b8a36b777dabc8609832949ae2ceaa2d7f0d3a37540e76b7"}},{"ruleId":"D2","level":"warning","message":{"text":"update-contributors.build (cognitive 27): update-contributors.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 6 (8 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/update-contributors.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5e02a47c29010a0524f96034687118d2fd40652944291db85f0d047000ac60"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessibilityScreenKt.AccessibilityScreen (cognitive 25): AccessibilityScreenKt.AccessibilityScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44578b6688e5e75b36b8a3c2bfd6bda73bd346bb07f4ef430235289a9bc30eb"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLocaleEntity.get (cognitive 25): MultiLocaleEntity.get has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/MultiLocaleEntity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfde8235ef3d8997b67cffbf38a852f58401c66d8d1d0bfca65fbcd31c5f114b"}},{"ruleId":"D2","level":"warning","message":{"text":"HidingWatchService.watch (cognitive 24): HidingWatchService.watch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/service/HidingWatchService.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6181960e1a7a97abc48547d77c753eba0ffbc158038ce79bb8196f5e293bbbae"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbStartRun.connectAndStart (cognitive 24): AdbStartRun.connectAndStart has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"51af218fe21165cb7c2dcc0821d07201ef7860fbfac34bc575f4dcad5d4797b1"}},{"ruleId":"D2","level":"warning","message":{"text":"LogScreenKt.CaptureTab (cognitive 24): LogScreenKt.CaptureTab has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d206282c5d64a8c50b51a3872aae9b596bb53beb715bdc20caca34312144470"}},{"ruleId":"D2","level":"warning","message":{"text":"StealthScreenKt.StealthScreen (cognitive 24): StealthScreenKt.StealthScreen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 4 (5 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"081a47260482eb403e0b0529f118c2113dc6ac617be29028c40e47c4ee5329dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuService.getApplications (cognitive 24): ShizukuService.getApplications has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), boolean chains 2 (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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0fb12da1a4fcf8a1e8b37f0e72ecb3114c4071a217f3177629fc9e58e6e074"}},{"ruleId":"D2","level":"warning","message":{"text":"ModulePackage.extract (cognitive 23): ModulePackage.extract has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/module/ModulePackage.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5039f835365018e9b7e68fdab0dc9b76a03e18671cb31c5d9e61e7d2bccf7b32"}},{"ruleId":"D2","level":"warning","message":{"text":"CatalogScreenKt.CatalogScreen (cognitive 23): CatalogScreenKt.CatalogScreen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed3d72cc3a433f6efe69b9c7cea2769b56ca83283a650068f2ec8529366baab"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbRoot.setRoot (cognitive 22): AdbRoot.setRoot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbRoot.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9c676972007b79986a72efba5c51812771ca4723b0a40f51f0b4142e4ec574"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuAppKt.TelevisionTabs (cognitive 22): ShizukuAppKt.TelevisionTabs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 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":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f792257ed9bb3db57b913bb73d621817878a253b8a9cfbef4efd48db20c494f"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayScreenKt.DisplayScreen (cognitive 22): DisplayScreenKt.DisplayScreen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (21 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb585b493496594aec658983872baf5e72aac55f60d7763dd11eca88a993b4c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuService.updateFlagsForUid (cognitive 22): ShizukuService.updateFlagsForUid has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"709006c4bc099f26257ec7eebed8a44752f9c70953e08eb5d7222428af4ae31e"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbStarter.startAdb (cognitive 21): AdbStarter.startAdb has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5 (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":"manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"710d1329454f458ec2e4d6e72762b76b808a3e97aee5656cbe3a016ab1ecf7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ModulesScreenKt.ModuleCard (cognitive 21): ModulesScreenKt.ModuleCard has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"239babd6617237df0f2e7313aa1a1b84747b75a32bf47a66161908ef4734d175"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsScreenKt.PermissionsScreen (cognitive 21): PermissionsScreenKt.PermissionsScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/PermissionsScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7685d908eb61e3c39f56fb9c485cf65aa02a0faf1a305b0cab634d1727495f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeKt.ShizukuTheme (cognitive 21): ThemeKt.ShizukuTheme has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4, 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":"manager/src/main/java/moe/shizuku/manager/ui/theme/Theme.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd041340b96f31383f5d1b82d50a68c293529821e8f706064f6d9f966d8bb9a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuStateMachine.transition (cognitive 21): ShizukuStateMachine.transition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/ShizukuStateMachine.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d51476fd534f2dc764fd9e2309f4f468becba6d09d299cbb0d09a48b9e6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizationManager.getPackages (cognitive 20): AuthorizationManager.getPackages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/authorization/AuthorizationManager.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0985931601e14561c3ef054d5f77c3c51adc301d8052d6228671357ca077cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceDark.apply (cognitive 20): ForceDark.apply has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 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":"manager/src/main/java/moe/shizuku/manager/manage/ForceDark.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecb0933ddd3db5b17477147099297b14dea704fef786b33d446688f14b9266b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuReceiverStarter.adbStart (cognitive 20): ShizukuReceiverStarter.adbStart has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9 (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":"manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d92cf5258c835677fb897170dff51111dd32da47791821dae910585cf5a815f"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchdogService.attemptRestart (cognitive 20): WatchdogService.attemptRestart has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, match/switch 2, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c355978179d5faad4f2cad291e9bee5dec1d04444351af220bcd3d60704eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceInfoScreenKt.DeviceInfoScreen (cognitive 20): DeviceInfoScreenKt.DeviceInfoScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (18 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bd59deb3e3a437c54484f3b1d027516ad81a42245893c8b0e6df85c51882a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LogScreenKt.AppLogTab (cognitive 20): LogScreenKt.AppLogTab has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5, 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8663608f84311982e7c1577ca71583196a04f24a85fb3746bb6023f1276b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerScreenKt.PowerScreen (cognitive 20): PowerScreenKt.PowerScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e467814b253350df6e70ba8373a819432d4536215827d531f32cbb378cb3e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Android17Compat.checkPermission (cognitive 20): Android17Compat.checkPermission has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (5 pts), boolean chains 2, error handling 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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa283ce08bde80ba1099d22427df62575cda718f0893e60eb62c67ef9a3cefc"}},{"ruleId":"D2","level":"warning","message":{"text":"Hiding.reconcile (cognitive 19): Hiding.reconcile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"16819dc493a005bd6ef06b87c7af78f052c745b1a565852789678141c4c63edc"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageTools.loadDetail (cognitive 19): PackageTools.loadDetail has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/PackageTools.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3343f5cc4530c2a7c78c1d163e0f2da2ce82336f840048b1d37514e8296e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentedListKt.SegmentedListItem (cognitive 19): SegmentedListKt.SegmentedListItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2, 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":"manager/src/main/java/moe/shizuku/manager/ui/component/SegmentedList.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca04c0b1ddf4d54eccb1b05d5198bddc977667d9db2818534408f8e8495e5ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupScreenKt.PermissionsPage (cognitive 19): SetupScreenKt.PermissionsPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/SetupScreen.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d791c3728acf74219dbee6a85670dfe817027b654592f07709c4ec5d103417"}},{"ruleId":"D2","level":"warning","message":{"text":"LabSwitch.apply (cognitive 18): LabSwitch.apply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (3 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/LabSwitch.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df058451a3d703290c5e0a1af289f1050338610d88096bd003cb5405c31a83f"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceStarter.sendBinder (cognitive 18): ServiceStarter.sendBinder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starter/src/main/java/moe/shizuku/starter/ServiceStarter.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c7327583eb642331e4048887a32edf46a35632b332ae76832586996be0dedb"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDataArchive.exportNow (cognitive 17): AppDataArchive.exportNow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de3b54116440528f7d42503774faced481fa59ad591e6ae2ee9c5f558e8a9d9"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageTools.setFirewallMobileOnly (cognitive 16): PackageTools.setFirewallMobileOnly has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 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":"manager/src/main/java/moe/shizuku/manager/manage/PackageTools.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc44271a7e2845c010452f81738c7ee81ad9e8def681b1c15dd7aa16d65b0d5"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallerScreenKt.PackageDetailsCard (cognitive 16): InstallerScreenKt.PackageDetailsCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"081f9d579fee33b4995eaa6e52ac32581a58c9a35dee8711139544c8bd91b3d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkChangedObserversKt.eventToString (cognitive 16): ApkChangedObserversKt.eventToString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ApkChangedObservers.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0713d559644404fbed472b8c1abc043243e9c566ae7db846089c01f3bf4c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeScreenKt.HomeScreen: MethodTooLong \u2014 HomeScreen runs 497 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 397 over it, 4.97\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24b5d9d5dae3203115f07c30246fc7be54826fc5d59696f695604461a064e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivitiesScreenKt.ActivitiesScreen: MethodTooLong \u2014 ActivitiesScreen runs 384 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f526cad65f4d1195ada7f5bb6df85fa6510f66a0a44c6fe924c99030bc02aa3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManageScreenKt.ManageScreen: MethodTooLong \u2014 ManageScreen runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea0950361ac53133771e21ac8efba85612fb5b7b963a582a5d7b4a7b1a4ad2b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesScreenKt.FilesScreen: MethodTooLong \u2014 FilesScreen runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9741c287618f4e726d4b409948fa8e74ae632755eaca128066336927a68266d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceInfoScreenKt.DeviceInfoScreen: MethodTooLong \u2014 DeviceInfoScreen runs 308 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 208 over it, 3.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f821157bd3a06346b7bf2c7a065d21b897cf3fbe316b92aa9fd90391a65262"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/SettingsScreen.kt: FileTooLong \u2014 1343 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 843 over it, 2.69\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d9b92a75d27e836d7dd9e6e896ae3e3d3bd44a14d802af41da5b39ceaa76aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdbStartRun.startServer: MethodTooLong \u2014 startServer runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c8e63fd1c5e0f62a3afafb9782cf3b3e8cd14487fbba9217fc6a730892ad4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CatalogScreenKt.CatalogScreen: MethodTooLong \u2014 CatalogScreen runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b157bbd2696fb4f832ae4fac7ebe981813f94b1087c2e6c05e84d0d51624fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RotationScreenKt.RotationScreen: MethodTooLong \u2014 RotationScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a227b65fd54938326ae48e52d0c21b55807c68bc9812258cf8ade9e11fc07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShizukuSettings: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ShizukuSettings.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2710dbd8eaa2892f474f7ea06d610f2315845e49956eaec2afe618f439301"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PermissionsScreenKt.PermissionsScreen: MethodTooLong \u2014 PermissionsScreen runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/PermissionsScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31e575c8dc04e16d5f03249a4e970c45908022dcd588cbe5461d9a3fdd5d2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForceDarkScreenKt.ForceDarkScreen: MethodTooLong \u2014 ForceDarkScreen runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1428fe54cc830af362fe5405567d32476b3fbdf56de60ce0744ff4881c95ca3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/HomeScreen.kt: FileTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 473 over it, 1.95\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b142ea712f73454705cc46496446d5003983f768ce2d1e309b2a725ee945bab9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Hiding: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9083563ec49ffc75d8aab3faf23b5d448ae8877c571d4bef0e11e8976e7065"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StealthScreenKt.StealthScreen: MethodTooLong \u2014 StealthScreen runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0717743d63d98257cb9b587d33ac8b23a47ee4a4e3a81f6cb5e25eec9be03e9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DisplayScreenKt.DisplayScreen: MethodTooLong \u2014 DisplayScreen runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8303548a6177e627a293aad65c7041341245cff41df49ece058dd1095f0e1e2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ShellScreen.kt: FileTooLong \u2014 900 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: BARE_SU (180-1199). The bar is 500 significant lines; this is 400 over it, 1.80\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fea4368594f0e35d6eba96075a60952c69f24086195b02c784e8ed62105b4ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShizukuAppKt.MainTabs: MethodTooLong \u2014 MainTabs runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebc6337966eabbfe84bc3fc49a1af663507a27af19faa7b7ddf6178b4b8cac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ModulesScreen.kt: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 330 over it, 1.66\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110eae2409f36f849c60587797d0b729612586d95c8389d15fc7f7819cf3ba2b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModuleRepoScreenKt.ModuleRepoScreen: MethodTooLong \u2014 ModuleRepoScreen runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0251885e91d4e0bb1c4cc00d0041f775f0c56ce1db70d5c1e15cf10caf595e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModulesScreenKt.ModuleCard: MethodTooLong \u2014 ModuleCard runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"a243f06732ea632d1d549f3264098ff50757748454b7a91901ccf8cbadcf0bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/LabsToggleScreen.kt: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: val (239-1089). The bar is 500 significant lines; this is 280 over it, 1.56\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"442be6b014419cfefab0041ee20766a2915f59736cba6cd33cecc130b5538bd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AppDetailScreen.kt: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: DataJob (101-938). The bar is 500 significant lines; this is 249 over it, 1.50\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e23f2b5471dc925843476bb40b84a498a24f61a1334ae961146f5a4c55f8692"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PackageTools: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/PackageTools.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6240623dcaee73b76887b1d53afea07d51b709d89869df05bf8eb0d09ac584ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchIcon.draw: MethodTooLong \u2014 draw runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"manager/src/main/java/moe/shizuku/manager/manage/SwitchIcon.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"74761c2bd3ccc60cb3144c63a3629b38f3b66e84ccf9dd3f2a3d7ceaea858a9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ManageScreen.kt: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc7f23cf692d5bcb952b3bb1927627af2388bed665c8adf12dead360dbb5f18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShizukuService: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 130 over it, 1.33\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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfdd3a339be987a324816e1f4c378db7995692f16d6b596247cec5fc46d2ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShizukuService: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c7b6cd9ba2e0b14f52f14d25efb30c106d743ea0209380b5d928740f1b3018"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataJob: ClassTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 120 over it, 1.30\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"325caf029c628c1e32013d2171794c91b80c2a379858bcce125fcdfeb289261b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/FilesScreen.kt: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 143 over it, 1.29\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fabaf6a431908342a0085d7870a54e303f901eff4a88cd47d23a0047cf55d41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/InstallerScreen.kt: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 140 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c829be72aca8a72dfc7800db9fb15622b2780531754679d480b7def8cb702d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/ShizukuApp.kt: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\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":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7023f54e565fe3e3584f527b34a52c1f8e744087d65ae719e9c6b1b7672078d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntentFormKt.IntentForm: MethodTooLong \u2014 IntentForm 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":"manager/src/main/java/moe/shizuku/manager/ui/component/IntentForm.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b59285ef722774a1d90edf121ddc4c0efd24b2587a143adfd8eb4758bcd4c1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/LogScreen.kt: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113eabe03bb2d020b155553b81c3da1e5b5e7e60de9e9738feee319d90f1e280"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogScreenKt.CaptureTab: MethodTooLong \u2014 CaptureTab runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"110f31108fd57fa7f65c55f1fa9f1b850641c55934dd77ab706bd7e615d06941"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/ShizukuService.java: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ShizukuService (71-970). The bar is 500 significant lines; this is 94 over it, 1.19\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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e072b156c35f614ea9baa6ccae95e70e026d878ae52651c0a197048b38780f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupScreenKt.SetupScreen: MethodTooLong \u2014 SetupScreen runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SetupScreen.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8e9f93be37394bba833c15198566c4663c4e5c7a664dfe58e194dc1f246091"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/AppsScreen.kt: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 over it, 1.13\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04518e2333da123e3342a5fa6ae94a04dc023ddbae49ae3e3ecf8065e97cffd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PowerScreenKt.PowerScreen: MethodTooLong \u2014 PowerScreen 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e2f804eb8fbef75e8ef5f2869c77140393a15f415925346679aee6b96266fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/WifiPasswordsScreen.kt: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: WifiRow (90-710). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b264ee61ac30f956062b3dbf8b976ad653ad88f87022487eb0624cd0e401a52"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdbStartRun: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 23 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09e4163e660e1b581faefde23eec415a7023dcdc931ab7a3ef691c7afa23fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogScreenKt.AppLogTab: MethodTooLong \u2014 AppLogTab 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1afe8dc03ced8540476dba698b29574323c058ae37244609426bb3f674fbd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/ActivitiesScreen.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd387b81a4834f72d90df7efbf8ca988d2897dd1287e1c2e418b45e828cb2152"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceInfo: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/DeviceInfo.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff331abada5a08f6074479350ebc0c3d54a6d1c7368941a11ad7ecaa761f401c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manage/PackageTools.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: APP_OPS (187-981). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/PackageTools.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54ef299ea9304f041f72936a011f708a6038635357f15ef9734b49c3d7b5a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:79-334 | manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:98-720 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:139-866 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:84-401 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:247-1089 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:169-708 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:103-425 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30489e58b72a9c006aca205e34998e96fb21c384cb7f5c64faa758e33f9205a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:98-720 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:84-401 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:247-1089 | manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt:656-711 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:169-708 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:103-425 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f3b0ae5fa845ff8e913ad46ff8655ce2112218cc5203f9a3914a78d600d766"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:121-938 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:139-866 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:138-780 | manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:216-1835 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa18be2e8d776a182cf4a61e7266813bf590738940da256ca2b86b38ae337dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:200-226 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:230-256 \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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"beab71132ac14a3ee38118a9c0bc0e2b060746c1cb6f122aa7aea654254ba7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1140-1169 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:876-910 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b07680d959d88f310234b85b337b1c6367e79bedba959bdd6270a474d7630b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/src/main/java/rikka/shizuku/server/api/IContentProviderUtils.java:16-29 | starter/src/main/java/moe/shizuku/starter/util/IContentProviderCompat.java:16-33 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/api/IContentProviderUtils.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"468dfea15b1d52e789edf5c21dbf24bc055cad1f30a1d5a150230af3d453cbd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:286-308 | server/src/main/java/rikka/shizuku/server/util/UsersCompat.java:186-210 \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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedea8a90860875103a1336581c2bacad877e15125301a58e00787cfdddde6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt:48-74 | manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt:86-108 \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":"manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a449862f40f0be9065c5a688de1fba7a93e07ff1d7a9188ab8dcfd5c3eba36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:89-108 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:110-129 \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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebc0ba33b97ba4fbc93978b3c116ee597438a8f3ace7b2cd6dc0a6e80390f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:589-621 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:501-538 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4844f84415e66a87f22feb8da58096f484bb9fb7305c4fcd85b21e508b99d80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt:798-819 | manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt:1309-1332 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac65ca27a5d7f7c44128bbd369c081aac4795c4a65026a77823171f90e942859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): manager/src/main/java/moe/shizuku/manager/receiver/WatchdogAlarmReceiver.kt:95-120 | manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt:609-633 \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":"manager/src/main/java/moe/shizuku/manager/receiver/WatchdogAlarmReceiver.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0af721021ae32f908e4d9c7268f76672942f0676e5fc85bca3248ab52639ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): manager/src/main/java/moe/shizuku/manager/shell/ShellBookmarks.kt:33-45 | manager/src/main/java/moe/shizuku/manager/shell/ShellHistory.kt:31-41 \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":"manager/src/main/java/moe/shizuku/manager/shell/ShellBookmarks.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8766692f37bd69ab7abd2dd66464c26b219d22007d3b7299264e3d49eb593f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt:314-335 | manager/src/main/java/moe/shizuku/manager/start/AdbPortPersistence.kt:87-100 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe2345dafb2e3b75584844952c282ecfd4e9c7f0b87c7b7c3dae44c9efc6931"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:51-68 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:70-87 | server/src/main/java/rikka/shizuku/server/util/UsersCompat.java:57-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1e8e64e832adb232c793ceef0869981e1786518f855fa3972b561d0a1388b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt:397-409 | manager/src/main/java/moe/shizuku/manager/files/FileOperations.kt:294-307 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ce6e1010f5eaec3edcb25b352af206458bb4e01db31cfcaa898896a3b6b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): manager/src/main/java/moe/shizuku/manager/adb/AdbPairingService.kt:157-176 | manager/src/main/java/moe/shizuku/manager/home/AdbPairDialogFragment.kt:179-202 \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":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingService.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"169309659e1d831b639e6f06abf2e2a47e31d60260510f86f6dcbb376f745ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): manager/src/main/java/moe/shizuku/manager/manage/Activities.kt:173-193 | manager/src/main/java/moe/shizuku/manager/manage/Activities.kt:212-227 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/Activities.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77097b716841a637dc8a429d30b2359b330b2886a22ec3608ed2a1bc9b46a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt:385-395 | manager/src/main/java/moe/shizuku/manager/files/FileOperations.kt:310-322 \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":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d1098bdf2ad9f49eb9a8c1159ac735508b0dd3b5c60dc8a14a3ac3c677542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:1063-1078 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:1089-1102 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a3a124b7dd0ac3f421ee0575dc6df4260f9ce2c519b4d52d778e8c4e91c203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt:416-428 | manager/src/main/java/moe/shizuku/manager/files/FileOperations.kt:333-347 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe5e021f5d745d480aeefce1229be6104c06451e3181e15629a87f5194de7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/component/SegmentedList.kt:41-67 | manager/src/main/java/moe/shizuku/manager/ui/component/SegmentedList.kt:81-101 \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":"manager/src/main/java/moe/shizuku/manager/ui/component/SegmentedList.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd76c8a070e4a7c75367dc354f45530c35225ca0a600f8c8aeb7dde9f7c377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): manager/src/main/java/moe/shizuku/manager/shell/ShellBookmarks.kt:47-59 | manager/src/main/java/moe/shizuku/manager/shell/ShellHistory.kt:65-76 \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":"manager/src/main/java/moe/shizuku/manager/shell/ShellBookmarks.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96138286249935815af87c4f608705e58d357064ac2083da255378eb5324319"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): server/src/main/java/rikka/shizuku/server/util/InstalledPackagesCompat.java:121-131 | server/src/main/java/rikka/shizuku/server/util/InstalledPackagesCompat.java:134-139 \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":"server/src/main/java/rikka/shizuku/server/util/InstalledPackagesCompat.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff2332a0c7250946f4309e15a572cc0738c80c75007953821864eb0d849a0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt:946-955 | manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt:961-968 \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":"manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b60fe8f3827d414703a2cc33520c82dd98799cea16f1480f80d7952a90a2648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:259-265 | server/src/main/java/rikka/shizuku/server/util/UsersCompat.java:157-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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37a702346a83ac15bc705f3575a5ce7b31d59a5dc355758d5a9b72fac4c127d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): manager/src/main/java/moe/shizuku/manager/start/StartStatus.kt:54-62 | manager/src/main/java/moe/shizuku/manager/start/StartStatus.kt:69-75 \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":"manager/src/main/java/moe/shizuku/manager/start/StartStatus.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a4ad019f89b3fa8f61f163ff0ed09a5174511cebf7f7ed250cf81e676fdc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:1009-1016 | manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt:755-762 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7516184d7e01ae9480c1c039840c3f510e603f908655833be72c4f6bc4a11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt:411-414 | manager/src/main/java/moe/shizuku/manager/files/FileOperations.kt:286-288 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ef894ab251770cfd203a2166a77b1bac2ca165120122ca4f800dd9ee7a81b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): manager/src/main/java/moe/shizuku/manager/accessibility/AccessibilityKeepAliveService.kt:172-179 | manager/src/main/java/moe/shizuku/manager/service/HidingWatchService.kt:370-377 \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":"manager/src/main/java/moe/shizuku/manager/accessibility/AccessibilityKeepAliveService.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c29c1c0f7cad219dc92ea62e016b46e7d7f6b1412ab377385233f7362874b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): manager/src/main/java/moe/shizuku/manager/ui/theme/Theme.kt:210-217 | manager/src/main/java/moe/shizuku/manager/utils/AppLocale.kt:152-159 \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":"manager/src/main/java/moe/shizuku/manager/ui/theme/Theme.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d05924486303db49a39ccf3e18eb78d3f0cc84bf841dd681ff834cafb17e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:180-202 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:350-373 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:349\u0060 calls \u0060WindowInsets\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:179\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af4244d26d9bec4b9e1ee869813c345a8a2b61e3cc1cbd64508dfd98cbc04e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:203-224 | manager/src/main/java/moe/shizuku/manager/ui/screen/HidingScreen.kt:145-166 | manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt:243-264 | manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt:248-269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:203\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cd471ab11b145d4c5d592ed782b0a8b8aec2fd5ad23c2b3f8f6985901e0c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201322 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:155-168 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:427-448 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:185-199 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 127 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:155\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:449\u0060 calls \u0060slotKey\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:200\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed237864ac554b4d78e9232953e173aac874bcf6ae5d4455d6e38b3716081a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:516-537 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:838-859 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:838\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5c77e3051f8d6314e5ba3a68530915f1935cc31c9d12b120638d0dca38a9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 4): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:164-181 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:201-218 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:619-638 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:245-259 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.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. 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46a9d37328323a2e6cf1e346b125159c20cc542bede0809dd042427b8e2b8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:280-299 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:805-824 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:299-316 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 127 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ae8b801ddf85d34e8fb48e981d47a61aae9948a235959dbc4bf8ab4e1858da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:404-421 | manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:483-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:404\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:402\u0060 calls \u0060toFloatOrNull\u0060, \u0060roundToInt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:482\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a13de0366879e40380a0009f319381ba8aee56c70b6a1ed9899ec5f5e30c0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:382-401 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:406-425 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 201 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1996da47bdec5b767e12a102082d16b9f7e060e950dfc5aee01e8d9093c2db3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:382-400 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1052-1070 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:406-424 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 127 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe58d47f6330787f1cf7d1a51663e8b33a4f1f6a37dfb64092e69edbc003f0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:152-170 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:327-345 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:152\u0060 it does not close everything it opens, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:323\u0060 calls \u0060rememberLazyListState\u0060, \u0060Box\u0060, \u0060fillMaxSize\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:149\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1fed0742bcebb1cd5d2f161a3b1455be31254cdafbef74d4ee409961182887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleWebUiScreen.kt:138-156 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:678-696 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleWebUiScreen.kt:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleWebUiScreen.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a783ac548af875f581dd1998fe928ab91482e622575575253f00c01c5381e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:98-115 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:116-131 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 201 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:98\u0060 it does not close everything it opens, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:96\u0060 calls \u0060mutableStateOf\u0060, \u0060usesSystemTheme\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:115\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a196b41a05d82d4e55edf567b11e68f1a4d91985a9d32d63577b942d71926acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 7): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:260-276 | manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:452-468 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:572-586 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:296-312 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:821-837 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:479-492 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:313-329 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:260\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d69ce8e6164b119a2a357838d1b087ea1529d53516968fc1b960b0d68e0535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:210-226 | manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt:516-532 | manager/src/main/java/moe/shizuku/manager/ui/screen/HidingScreen.kt:152-168 | manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt:250-266 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsScreen.kt:189-205 | manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt:255-271 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:379-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 all 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39faf700d620ba45811a630f0a162109d5945199e63a4039fdca301d07b85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/IntentsScreen.kt:68-84 | manager/src/main/java/moe/shizuku/manager/ui/screen/PermissionsScreen.kt:175-191 | manager/src/main/java/moe/shizuku/manager/ui/screen/TerminalScreen.kt:57-73 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/IntentsScreen.kt:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/IntentsScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0cef9d552aaee76017f3475d165173a6dca492303043b96cbe24d9d3b80525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:202-217 | manager/src/main/java/moe/shizuku/manager/ui/screen/HidingScreen.kt:144-159 | manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt:242-257 | manager/src/main/java/moe/shizuku/manager/ui/screen/IntentsScreen.kt:67-82 | manager/src/main/java/moe/shizuku/manager/ui/screen/PermissionsScreen.kt:174-189 | manager/src/main/java/moe/shizuku/manager/ui/screen/PowerScreen.kt:247-262 | manager/src/main/java/moe/shizuku/manager/ui/screen/TerminalScreen.kt:56-71 \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 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt:202\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DisplayScreen.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc2a3315348da29bfd12ff80339e86e505f809a88157d4e3a2a3b5762707256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:512-527 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:751-766 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:512\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0df5269c9e0e46ae9c527d4b7e23b11ec32146bdf09f0b1b57aee90e2d5835c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:503-534 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:437-468 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eeb32950363224288ef7241728d9a879839ccfd315ef21db0cac2efe8bdd65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:724-737 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1048-1062 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:724\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d6f7762b5eddd8d289939a1a440813d932b342c2cf85ea0ac122c099ebb15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt:386-399 | manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:478-492 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt:386\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da3ef75e4456c1142f1b4b47c08df0e6d486f52ec991304cd0591a6b08a713e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:843-857 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:969-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:843\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0fd3f8cf6648e87ca82f128183180cccf28c9cbccc1c77dc46451c5e478d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:264-277 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:386-399 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:227-240 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8faf173185da3f0c5ae9a7b1f92c466ba63679ba79e1af5e7d9ff037a4e37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:278-290 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:321-328 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7c3c33815300218451a6c6e993697fc6dad3d2e008c2be052da9e7fa2265d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:773-785 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:743-755 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:773\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8309d7786fb1619ab20277b6c45c0d57077d0c270c32a39a0fbef2805279f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:112-121 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:233-245 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0397e98db004e0c3320f097c505c1654c47beae68d852816df77026b77eeb58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:606-618 | manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:683-695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"109d3ed4ac75d17df935908b75c002ddfcf1fdbdda46977b1ec52854aba90770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:279-290 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:315-326 | manager/src/main/java/moe/shizuku/manager/ui/screen/HidingScreen.kt:156-168 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsScreen.kt:193-205 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:332-343 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:383-395 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:279\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9959f084d72be8e4c6079a847079abdada47a1f81238aed29d63abea7d7adb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:871-882 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:738-749 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:759-770 | manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1519-1530 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:871\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f9d01355b5773247c9237dbf63ed8dbe3a2c1a9c51e67562925b6692d9a72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:593-601 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:316-327 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:333-344 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 201 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:593\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"010c2994c2ed5b290f2e27a5bad886d5127f4651f338e1d4393ee2843b6e7228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1499-1510 | manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt:371-382 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:662-673 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1499\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe2476b2867d8a73b39abdbf80891fb8f932cd7b534fa22676261e1127faf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/component/ExpressiveCard.kt:85-96 | manager/src/main/java/moe/shizuku/manager/ui/component/FeaturePlateIcon.kt:28-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/component/ExpressiveCard.kt:85\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":"manager/src/main/java/moe/shizuku/manager/ui/component/ExpressiveCard.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a914b7c4c7ab5252add7e5af00bb9594734b721783d7b952ed5fa76cd6e41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:280-291 | manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt:775-784 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf7acc8e23b539480483a796fe2ade5d6e7631a00e1f0cc2d60a375b383372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:590-601 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:502-511 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a87dc47276667b460d00c37ce8d54e3ebceca5cb773e43a9a99be5c93d77303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1152-1163 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:894-904 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060BulkToggleState.Running\u0060 in one and \u0060BulkState.Running\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e471964b8b9c5eddfa4c90b72ec118d3b85ea689dbbbaebf26b3eea6a664e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt:64-74 | manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt:98-108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt:64\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":"manager/src/main/java/moe/shizuku/manager/ui/component/ScrollToTopButton.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf0e3dcaeef4aad6e3e443d1ecfface68a6dd94dc3b3768556de7e4f32a68e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:248-258 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:560-570 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt:248\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AccessibilityScreen.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e66654008e1a6215c934fb6a5afbd512360fbaee6495fc03e1e956cd5e7198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:271-281 | manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt:667-676 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:271\u0060 it does not close everything it opens, so those exact 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3712de3409f5357deda809f7ad1910e78b5a405877da7cbb573295c840f5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:871-881 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:807-817 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:871\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aa8e5206f64be87c511ea503480ef1217a845bc9d413ae294cf7bf849d9015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:368-378 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:392-402 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 201 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea404b8c6e7a8a619fb978da6087ee3c895ee8cc72a2d62afd4edd4b92b9e450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1086-1096 | manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1119-1133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1086\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1096\u0060 calls \u0060SettingsIcon\u0060, \u0060Text\u0060, \u0060stringResource\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1133\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca584e503ef47ff54a91b998194efe60032aec0ba1fd34850d841263ed578cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1442-1452 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:570-580 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1442\u0060 it begins part-way through the construct above it, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1454\u0060 calls \u0060Text\u0060, \u0060stringResource\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:582\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f837458f4b22df645eb62473c7d56b50cad41c7d44ca2a812d74943bef7bcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1476-1486 | manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt:597-607 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt:1476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"309dfd420d5622e1da278d500c3ee068948473ef962168d7e833870465923790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:510-529 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:750-768 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:444-463 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa1b138c84a13db10b01b7d571a069e64d3a3522203fe085c900cf35b8d74ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:308-317 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:151-160 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:326-335 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:308\u0060 it does not close everything it opens, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:323\u0060 calls \u0060rememberLazyListState\u0060, \u0060Box\u0060, \u0060fillMaxSize\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:306\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86cf60fbf07374e1ca59947004fcc8eb911d1fd3c2744c56cb8da59beb585a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:805-814 | manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:835-844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:805\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608b19048481f7cf95f53549363f3991b0814085fa5dc704654c88a97463330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:257-266 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:276-285 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 201 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"725cbc99d98dad186f106e53f10becd12d930dc24c193e9d04fb0b2b9498ad95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:367-376 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:1031-1040 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 127 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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"12371f1bfb57fe91547f7827bf05796b9515e84f615ba50e011808654de17741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:272-280 | manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt:154-166 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:426-444 | manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt:668-676 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:184-195 \u2014 before extracting anything, compare \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 127 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. 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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5eb1bf491d1320413eded32a754fe9acf6dc849e76fe4e9ac807c11f25a82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:426-434 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:272-280 | manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt:184-192 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42e91b2376de361198403c05dc63d8b9ed6f27639268d651d9f591ad8a59c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:1094-1102 | manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt:1322-1332 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:1094\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ad8bfbd77480d82d14227e4a0af44932aef06e1925c8ae7d9bae19dc42cfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleActionScreen.kt:115-122 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleWebUiScreen.kt:76-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleActionScreen.kt:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleActionScreen.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17296a01d2ad4aef3065cbe5270c14791ae60491cd9ad98244ff5189505115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:338-345 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:182-189 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:352-359 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:338\u0060 it does not close everything it opens, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:181\u0060 calls \u0060TelevisionRefreshButton\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:337\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e2d9a85f625447496d508f6a4b8ecb41a34eeb8d0eea6737bc1114ed898860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:284-291 | manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:300-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:306\u0060 calls \u0060contains\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:291\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cf299bc171e5927352a6b34a46dbfd949101df721cdc8cec0c1c983328416a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:478-485 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:422-429 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9448eaacb09a10c656c8be11097df00a23e45ca0fbf5ab6e5dd03eaf2794ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt:314-319 | manager/src/main/java/moe/shizuku/manager/start/AdbPortPersistence.kt:87-92 \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 \u0060manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt:314\u0060 it does not close everything it opens, so those exact 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":"manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb156fb71d9b725e3349eb1c6c1c2683ba7cd5c9ecffac6f03cb3c22ac0f801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:591-600 | manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt:775-780 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:591\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4aef0b699571722755725a727d9ccd9b0d2e8dc15daec801f3bb779409e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt:213-218 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:104-109 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f533d9473d43227d9c204739c0d58c13908ba4840604ea13c9350aaeaaac8f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:287-291 | manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt:417-421 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:287\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"112451c9384003aecc5e82935f26f8041431740848ff2009c1178eff0ee127a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:284-288 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:265-269 \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 \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:284\u0060 it does not close everything it opens, so those exact 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, \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt:283\u0060 calls \u0060trim\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:264\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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"134a166e9a21bf87223ee9cc661aafbe0d5647e3ccb5c7a89160d490947cf83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/service/LabTileService.kt:97-103 | manager/src/main/java/moe/shizuku/manager/widget/LabWidgetProvider.kt:111-117 \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":"manager/src/main/java/moe/shizuku/manager/service/LabTileService.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e78e6d43ed7138917447f31fc438949f059ed37748c7a981e04c47060308b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/component/IntentForm.kt:490-496 | manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:710-716 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/component/IntentForm.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e7a32ded9ff3ec189cfa5c15e1dbe6d353d2315a61dbafd1ec1ad36c287ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/component/IntentForm.kt:499-512 | manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt:790-803 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060Boolean\u0060 in one and \u0060Boolean = false\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":"manager/src/main/java/moe/shizuku/manager/ui/component/IntentForm.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c81819c01c7cc72c4bba859cb6312bd4bcca6cc41d7666860211e09346a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt:1057-1064 | manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt:1020-1027 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee394333547de5a08ffb4343cce8374b3998a112c8655624023a67a7ae4dd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt:666-678 | manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt:739-751 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f7d744af55205ba2ac03269a0be27298e3bf883a75f36a70d654bdef8a59a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt:600-606 | manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt:1203-1209 \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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModuleRepoScreen.kt"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e74bc32bd17718056b3fdff4af64734aa0ae7e28f5387be4b5dbf4ae003bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt:758-769 | manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt:798-809 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt:758\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b669367def20d147065b02a44dd27a982ab2f55fb180983ddcce9872eaa8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:292-308 | server/src/main/java/rikka/shizuku/server/util/UsersCompat.java:194-210 \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 \u0060server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:292\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e088039fd40b4f83f3a4861180cee02db75c1794930af08df263b1d0c4e254b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/src/main/java/rikka/shizuku/server/api/IContentProviderUtils.java:22-29 | starter/src/main/java/moe/shizuku/starter/util/IContentProviderCompat.java:26-33 \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 \u0060server/src/main/java/rikka/shizuku/server/api/IContentProviderUtils.java:22\u0060 it begins part-way through the construct above it, so those exact 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":"server/src/main/java/rikka/shizuku/server/api/IContentProviderUtils.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08ac77b86eda9f49a4c776fb24841a40a27a470e67af18ff598b2c8300cfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:92-99 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:113-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa230bc85f93b128304b025561be02b1b1ea0d6ecacdbdf782b1a96a488839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:203-209 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:233-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:203\u0060 it begins part-way through the construct above it, so those exact 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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb48cc3afd50f7a70678b4eae5631d42cb87ec6c5cc8b30eb9804671f89a817f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:141-146 | server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:164-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/main/java/rikka/shizuku/server/util/Android17Compat.java:141\u0060 it begins part-way through the construct above it, so those exact 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":"server/src/main/java/rikka/shizuku/server/util/Android17Compat.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"391167cde14905d91fba50c59d856ec2403ad2290ff8f3a6e912057b7484d962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): server/src/main/java/rikka/shizuku/server/ShizukuService.java:589-593 | server/src/main/java/rikka/shizuku/server/ShizukuService.java:619-623 | server/src/main/java/rikka/shizuku/server/ShizukuService.java:670-674 \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 \u0060server/src/main/java/rikka/shizuku/server/ShizukuService.java: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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"07624dc1ad91fcbc5f58d39677a06f337cb7e69b4915322fe2bcb2350c66d823"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in SettingsScreenKt.SettingsScreen at line 209. 23 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e510bcfb11fe343b9578dd962a427b2c88e8124cde41d539ad51bbf5e6c68c8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt changed 100 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in HomeScreenKt.HomeScreen at line 147. 51 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e1b986a1d56163e72a800c4e5ec000100b2e44d9cf5c360bc56c2bf8aeca5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in AppsScreenKt.AppsScreen at line 132. 15 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"905d007032ccffdd3db0520b8c008a8059f58f914cc75bd839ca901f48e6335f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in LabsToggleScreenKt.LabsToggleScreen at line 243. 11 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8d2d2bf1b56a9657a7017900e8b2775a1a85cfb7235e683579f5ab864e94fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in ManageScreenKt.ManageScreen at line 166. 11 of those changes were fix/bug commits, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e5156747c47f60a322e6d19f439c7a7d95e06175c54d5b7870a6df4d41c983"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt: manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ShizukuAppKt.TelevisionTabs at line 859. 14 of those changes were fix/bug commits, and the other 48 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.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":"manager/src/main/java/moe/shizuku/manager/ui/ShizukuApp.kt"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"46589676ec3669c5a14d284a68050788ea71dd2f704b33fb01e497c92438ba8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in ShellScreenKt.ShellScreen at line 193. 6 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"709bac42ba8f05cd03f00e282873bd242080b6e6126d8f78add4a7d8c268b8fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in AppDetailScreenKt.AppDetailScreen at line 116. 6 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppDetailScreen.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f0157a27605fe89d5d8c33c7065e7301bbef7ab1df4dc21885119922e113f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.kt: manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.kt changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ShizukuReceiverStarter.adbStart at line 249. 23 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.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":"manager/src/main/java/moe/shizuku/manager/receiver/ShizukuReceiverStarter.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cebfa085780e780445cb23b33a949ae0752c404658e29730c9e64c1c1510fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in ActivitiesScreenKt.ActivitiesScreen at line 98. 2 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"430ca6056f578f59d16399a100aac3e1ca14d887c68abf216e96d5f925ff6a6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ModulesScreenKt.ModulesScreen at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ModulesScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"035c81ad2a123f2cc6610321d5e519c3aca5747b4497bad867d4f8c79c3eea6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt: manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in WatchdogService.attemptRestart at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/service/WatchdogService.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":"manager/src/main/java/moe/shizuku/manager/service/WatchdogService.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5bfa3b248af56bcb7739502fac6b40f9ded5b086d182a299d50dc4fe54ae1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in StealthScreenKt.StealthScreen at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/StealthScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f96db9dd1f09c8cfb9079723e283cd7a8f76c43e8cfd9953967cba969ef62d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt: manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in AdbStartRun.startServer at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.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":"manager/src/main/java/moe/shizuku/manager/start/AdbStartRun.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e65cf97a86fb15340c6f8bd0da9a9699d390f284d3bfbfcc8639010c7ee573"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/main/java/rikka/shizuku/server/ShizukuService.java: server/src/main/java/rikka/shizuku/server/ShizukuService.java changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ShizukuService.dispatchPermissionConfirmationResult at line 547. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- server/src/main/java/rikka/shizuku/server/ShizukuService.java\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":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe10f2025c6d9fc67ae282c7adeb4808ed5a4827e8a2f9810396fa7a08c7e2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ForceDarkScreenKt.ForceDarkScreen at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafef6f56787387c84dccce5f5370b12a339d6ee3d389ec64e868de873dbea7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in WifiPasswordsScreenKt.WifiPasswordsScreen at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/WifiPasswordsScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b16f369c0f9bb87379494dec7efcf0bc32071e0cffec5970887dcfa12230f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LogScreenKt.CaptureTab at line 342. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6155919ee87189364950ea0aee03a88461960d2bf7e9f2fe2428964f370b381"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ci/check-translations.py: ci/check-translations.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in check-translations.main at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- ci/check-translations.py\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":"ci/check-translations.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b5f6aaaf887e3a5e7dabac10f5a596115c42d6887ded3e9fb3ba8cb596420"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in FilesScreenKt.FilesScreen at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"131b730bb272962f6a243bb69edd5d2dbce40aa99b34667a3421314d5cfbfa25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CatalogScreenKt.CatalogScreen at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/CatalogScreen.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfa363f36a52022ae557603ab1ab21816055b5217903ca62e36b6cf78791735"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java: server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ShizukuConfigManager.\u003Cinit\u003E at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java\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":"server/src/main/java/rikka/shizuku/server/ShizukuConfigManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1dd77f6f5ba6b386e0d6e18727e695c7c139b6c2674a86c40b194b5eccb443"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in InstallerScreenKt.InstallerScreen at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1238eac4e35d67a0b4958fa24726a8537e91ff632991aa0cfe3b116fa0f5ca2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RotationScreenKt.RotationScreen at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/RotationScreen.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0303f96d72fbf2b03db3f1c76fb7f96c3f1052450c88db62b7c3522250a47bfe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HomeDiagnosticsKt.buildDiagnostics at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/HomeDiagnostics.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f217dcb5c7d6692ac82cf053357556cedafdc9596140f618c45514e00fc20d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt: manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DeviceInfoScreenKt.DeviceInfoScreen at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.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":"manager/src/main/java/moe/shizuku/manager/ui/screen/DeviceInfoScreen.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e3e5f6d1912289fa2bf43383e95b2f25736c4b956c01d47e928a854968bb10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/worker/AdbStartWorker.kt: manager/src/main/java/moe/shizuku/manager/worker/AdbStartWorker.kt changed 48 times in last 90 days and 33 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AdbStartWorker.enqueue at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): run intent starts expedited and replace stale attempts\u201D; \u201Cfix(start): use adb root when no root shell is available\u201D; \u201Cfix(watchdog): give a restart claim back when the restart cannot start\u201D; \u201Cfix(start): keep hunting for the wireless port until the connection is made\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/worker/AdbStartWorker.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":"manager/src/main/java/moe/shizuku/manager/worker/AdbStartWorker.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"874653000c15afce252b8b2ee91d4befeae337e3f79b240ef600fd2da897b653"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.kt: manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.kt changed 24 times in last 90 days and 15 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is AdbStarter.startAdb at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): honor wireless auto-disable after TCP start\u201D; \u201Cfix(adb): do not hunt a new port after tcpip was sent\u201D; \u201Cfix(start): keep hunting for the wireless port until the connection is made\u201D; \u201Cfix(start): begin the boot start at unlock and log the boot timeline\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.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":"manager/src/main/java/moe/shizuku/manager/adb/AdbStarter.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"403d9933e9cb7f4a5ffeaa6b5d60d202fd21be8ba83cbe428a911b1be07bf96f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/utils/ShizukuStateMachine.kt: manager/src/main/java/moe/shizuku/manager/utils/ShizukuStateMachine.kt changed 19 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is ShizukuStateMachine.transition at line 73), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): begin the boot start at unlock and log the boot timeline\u201D; \u201Cfix(start): stop a boot start from replacing the one already in flight\u201D; \u201Cfix(start): drop a queued start once the server is up\u201D; \u201Cfix(watchdog): do not start Shizuku after a reboot when start on boot is off\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/utils/ShizukuStateMachine.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":"manager/src/main/java/moe/shizuku/manager/utils/ShizukuStateMachine.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41bed3437e7d8af5d2c8145c4b0a0d7cda60f554de9146e22d72cb312e785ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.kt: manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.kt changed 13 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is AdbPairingAccessibilityService.pair at line 336), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): replace stale attempts and request hotspot access\u201D; \u201Cfix(adb): arm the launch mark only when enabling the service\u201D; \u201Cfix(adb): keep the settings launch pending until connection\u201D; \u201Cfix(adb): make automatic pairing work on Google TV\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.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":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d010b4efde2a490f6d57d126f595e5d139a5e794ac24d904e4dded9aeea86794"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/utils/EnvironmentUtils.kt: manager/src/main/java/moe/shizuku/manager/utils/EnvironmentUtils.kt changed 12 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is EnvironmentUtils.isRooted at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): handle redacted wireless debugging on Android 17\u201D; \u201Cfix(start): use adb root when no root shell is available\u201D; \u201Cfix(home): gate debugging switches for Android 17\u201D; \u201Cfix(start): let root coming back clear the wireless fallback\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/utils/EnvironmentUtils.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":"manager/src/main/java/moe/shizuku/manager/utils/EnvironmentUtils.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81f38b45f1261f48b2c01ca4be5b7c5a646bc9be3b95a5c3df6926a5a82edfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/start/ForcedWirelessDebugging.kt: manager/src/main/java/moe/shizuku/manager/start/ForcedWirelessDebugging.kt changed 12 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is ForcedWirelessDebugging.nudge at line 106), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): replace stale attempts and request hotspot access\u201D; \u201Cfix(start): promote before the hotspot and discover after it\u201D; \u201Cfix(start): ask for wireless debugging at the cadence that was measured to work\u201D; \u201Cfix(start): stop asking for wireless debugging that is already on\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/ForcedWirelessDebugging.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":"manager/src/main/java/moe/shizuku/manager/start/ForcedWirelessDebugging.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edd8c008da61d070debe7f7ccfa4bc04a86dac15276fbbb7981e4909e3445d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/ShizukuApplication.kt: manager/src/main/java/moe/shizuku/manager/ShizukuApplication.kt changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ShizukuApplication.init at line 51), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(adb): make automatic pairing work on Google TV\u201D; \u201Cfix(start): begin the boot start at unlock and log the boot timeline\u201D; \u201Cfix(watchdog): do not start Shizuku after a reboot when start on boot is off\u201D; \u201Cfix(settings): apply the chosen language\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/ShizukuApplication.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":"manager/src/main/java/moe/shizuku/manager/ShizukuApplication.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2d5bf25637b690461e7490291ae7b53867da6fbe09e30a23b2b0cf284eb9c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/start/StartPermissions.kt: manager/src/main/java/moe/shizuku/manager/start/StartPermissions.kt changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is StartPermissionsKt.writeGlobal at line 157), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): handle redacted wireless debugging on Android 17\u201D; \u201Cfix(start): replace stale attempts and request hotspot access\u201D; \u201Cfix(start): write secure settings through the server when no grant can arrive\u201D; \u201Cfix(start): give the app the hotspot\u0027s permission through the server\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/StartPermissions.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":"manager/src/main/java/moe/shizuku/manager/start/StartPermissions.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149c4731d5c3acd3e883d3babdf52b5f698a31859641397f704368e64dc0fb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/home/AccessibilityDialogHelper.kt: manager/src/main/java/moe/shizuku/manager/home/AccessibilityDialogHelper.kt changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AccessibilityDialogHelperKt.showNavigateDialog at line 138), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(adb): arm the launch mark only when enabling the service\u201D; \u201Cfix(adb): make automatic pairing work on Google TV\u201D; \u201Cfix(stealth): name the installed package in the permission advice\u201D; \u201Cfix(pairing): name the restricted-settings way out of the accessibility prompt\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/home/AccessibilityDialogHelper.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":"manager/src/main/java/moe/shizuku/manager/home/AccessibilityDialogHelper.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6662fac24e69c4ff9c98b54985a46a0ee311cdbdbedcdcb4968f93d93bf7e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/utils/ApkUtils.kt: manager/src/main/java/moe/shizuku/manager/utils/ApkUtils.kt changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ApkUtilsKt.silentSessionParams at line 209), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(stealth): report why the repackaged APK could not be saved\u201D; \u201Cfix(stealth): stop a hidden copy\u0027s name doubling on rename\u201D; \u201Cfix(stealth): rename everything in the manifest, not only the package\u201D; \u201Cfix(stealth): give the stub a version code no release can outrank\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/utils/ApkUtils.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":"manager/src/main/java/moe/shizuku/manager/utils/ApkUtils.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57bf01f081cbbc8e7378fe7fdc433fd8bc80889f3a4bfd5202223dd34f1b23c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/start/StartMethodFallback.kt: manager/src/main/java/moe/shizuku/manager/start/StartMethodFallback.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is StartMethodGuard.resolve at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): use adb root when no root shell is available\u201D; \u201Cfix(start): keep no-network start available\u201D; \u201Cfix(start): hide no-network start on Android 17\u201D; \u201Cfix(start): keep the root method when it falls back to wireless\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/StartMethodFallback.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":"manager/src/main/java/moe/shizuku/manager/start/StartMethodFallback.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f422fedc4009e6d781c7a2a04a9d74e1db665c34fa30953ee79f4875af466"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/receiver/ManualStartReceiver.kt: manager/src/main/java/moe/shizuku/manager/receiver/ManualStartReceiver.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is ManualStartReceiver.onAuthenticated at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): run intent starts expedited and replace stale attempts\u201D; \u201Cfix(start): stop a boot start from replacing the one already in flight\u201D; \u201Cfix(stealth): stop addressing the app by its build-time package name\u201D; \u201Cfix(start): let a start that arrives by broadcast wait for Wi-Fi\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/receiver/ManualStartReceiver.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":"manager/src/main/java/moe/shizuku/manager/receiver/ManualStartReceiver.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ae2bc13e842a4fed6888392f1b73a7aa81f4418b610d916b677d324fef51b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/start/StartTransport.kt: manager/src/main/java/moe/shizuku/manager/start/StartTransport.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is StartTransport.rememberedPortVerdict at line 128), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): keep hunting for the wireless port until the connection is made\u201D; \u201Cfix(start): only take the classic ADB port when it is listening\u201D; \u201Cfix(start): take the classic ADB port before looking for a wireless one\u201D; \u201Cfix(start): keep the wireless-debugging experiment alive long enough to work\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/StartTransport.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":"manager/src/main/java/moe/shizuku/manager/start/StartTransport.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32944c0023235b7f4207c455794d7dd9058847dec2a313d466c2cb34708e1f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/receiver/BinderRequestReceiver.kt: manager/src/main/java/moe/shizuku/manager/receiver/BinderRequestReceiver.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is BinderRequestReceiver.onReceive at line 15), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(start): begin the boot start at unlock and log the boot timeline\u201D; \u201Cfix(start): stop a boot start from replacing the one already in flight\u201D; \u201Cfix(start): ask the binder whether a server is running, and say when a start is refused\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/receiver/BinderRequestReceiver.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":"manager/src/main/java/moe/shizuku/manager/receiver/BinderRequestReceiver.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa0a625d1a7c4551de5e2541a2371bbbf36d3af44aab702ca26620b00c1fe6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: manager/src/main/java/moe/shizuku/manager/start/AdbWithoutDeveloperOptions.kt: manager/src/main/java/moe/shizuku/manager/start/AdbWithoutDeveloperOptions.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is AdbWithoutDeveloperOptionsKt.applyAdbWithoutDeveloperOptions at line 27), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(settings): gate the switches that are nothing but a settings write\u201D; \u201Cfix(prefs): stop reporting Developer options as hidden on Android 17\u201D; \u201Cfix(home): stop offering screens Developer options is hiding\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 12:02:34 \u002B00:00\u0027 --until=\u00272026-11-17 12:02:34 \u002B00:00\u0027 --full-history --no-merges -- manager/src/main/java/moe/shizuku/manager/start/AdbWithoutDeveloperOptions.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":"manager/src/main/java/moe/shizuku/manager/start/AdbWithoutDeveloperOptions.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941642e26d5fc548593ed0575ec7a6d8bc131d6c1c670946be4f57f225b9db7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 82 significant file(s) lose their only recent owner: manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/ShellScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/InstallerScreen.kt, manager/src/main/java/moe/shizuku/manager/manage/PackageTools.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/FilesScreen.kt (\u002B74 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4d5073a5e6d4def9c90dcb5db82c82e005964cfe08f8655241910b841d61d160"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: manager/src/main/java/moe/shizuku/manager/ui/component/TelevisionFocus.kt, manager/src/main/java/moe/shizuku/manager/ui/component/TelevisionInput.kt, manager/src/main/java/moe/shizuku/manager/ui/component/TelevisionRefresh.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"543561b21576bbcaeecb2d26ef6249f9caca6497696e3fe2411c3f330bf0e2c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO kill user service using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f4dbd90d7e2f126aacfefe0ae52befe13e3c70aba7df43d73b0e613fcaf7db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add runtime permission listener \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdd00f23dacbeb2477701eb35fc3736ccb635b69679be9c8c1fc01cede7b1fe"}},{"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 \u0060stub/build.gradle\u0060 makes this repository a deployable product (line 2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stub/build.gradle"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ba2ed63ec0b9b137ee0e494ae39a74aa51ac1428b553ac6084a2ac510dde6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060manager\u0060 (51333 LoC, 790 module-visible types across 26 directories) overshoots its size bounds. 1 of 7 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 7.1/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":"manager/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb79251bbc224d0a83c874441244e57840703562484b13bebbed1c9fdac6b7"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","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":"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":"85f0b557fd8ccf01369d9c5ede81d9418c4eb1e91d9b8ea8753370604f78f176"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a85e366dd3b8584f7108569be7403f5bfb8cb955155ad462ebdb81bd38d06a5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"490b6e83a48644468d2ef79ee47f396aa2dd53245114de86b6746500d0769eff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df8936af47175be3a558752a35b112d82b7af8c4d5e520d65a8b269cbd051064"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7d6d7c537366f08d29fcc86c915732cde7ecce4149f1c85b019b7b59e79c2c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a31c65fd357ae1282c12c0c7ad94422539cbebdde0f925ac93c483dd0ce83bda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f506103be82db4330c82f9757800c0d1b4c5badbe7f94751c0ef31ede1cec88"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a456c63a6c233e4a6c36bc7c3425a2e0f3b8c81e635332e92e1dc172f76d3314"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e01bef17582f3dcced732b5d44f6b2d8f79a098e284940621ba3bfe5e580397a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"321fb80fbc932551b9abdd1c429d5f8c80fd472c8ec2035d063db1bb379ef838"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a1c2da5a3e58a8a5d60670e2678ca9afd7b0693909613b74cf5cb8c665d68f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0afc8d6625e383842692ff73106b37b31656921787bed7858b659f55f6cbb7ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e95f95b1e6125abf7faaed6b1c241a15de5678635277db87c83e3e1cb64d17f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"065633ce5b5b7d3cf352c9ca8547ead1daa6020347bd9c43ea11ee18607704ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6a6f7a14296adfad5215b6e07bad7058b3fff29a5e6e12eb56e57f08c5c5a3c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78be558abbce7af27ab76a293751b4d1f9623213b335ef14bf8feee11563b455"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbadcd866033c13c3faa9f351698c178ce0bffe8eb57eaa8118ef701ef90bf62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c007f4c397ad6aeaa6258ce2814d7461ece588fa52af8df771b867b9bb7cbc2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed0a912fac3cf85a42babc16ecf48573e26a7b21e0aa18da32ec61ba6e061837"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c7e93ae53ac40c8ce5c3c29a46a1316aff2c7073e943e1f4570246b71b92ebf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f250d83eb63f0b9b122457a266a020b38ad22a43e9d37abc2c60807dc4574bb3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4c47f2e7d2339fc736dc81c764d2f072f04063e28a081576226c07390373b68"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a2959b9e078ceade327880dd90683379849f02e21b1ad3bf3c4a1e7edaae2473"},"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":"2c98165bb8000b742b6541854ba723f790b564254bbc88fab686f4671aac9154"},"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":"72d8292f6b5629f0c96ee9e4a374126781efa70a6e39d45bd8b823cdbbadd537"},"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":"8373335ecce93456163923d5ae077435254d2506e1539f93ee826df613bf9585"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 11 of 186 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 186 of the 256 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: manager/src/main/java/moe/shizuku/manager/adb/AdbKey.kt, manager/src/main/java/moe/shizuku/manager/adb/AdbPairingClient.kt, manager/src/main/java/moe/shizuku/manager/home/AdbPairDialogFragment.kt, server/src/main/java/rikka/shizuku/server/BinderSender.java, manager/src/main/java/moe/shizuku/manager/adb/AdbMessage.kt, manager/src/main/java/moe/shizuku/manager/utils/CustomTabsHelper.java, manager/src/main/java/moe/shizuku/manager/legacy/LegacyIsNotSupportedActivity.kt, manager/src/main/java/moe/shizuku/manager/utils/Logger.java (and 3 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbKey.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06714a8135223b518fdbee82f6a6cae478031075ae2dc5539f4e9233d4a00846"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e55de5004801baed0dff3df025d3f5e2674dc665055bd01bf916a360fa7e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/home/AdbPairDialogFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb056bf1b2828880859d59491620cc978c2059c851a89185d16f7a5bbf3e084c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/BinderSender.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ab467148f7267395ea9dbec8f4b8f131082c995e1650673747d845fc203d47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbMessage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"385350679c9ff26a183f40e60c765e8e95f962196da72f76aaba92b1e528efd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/CustomTabsHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d947b7e8bddee98880492bb8414d088db9f58fba73fd00ec3de04d1d08de15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/legacy/LegacyIsNotSupportedActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9f84ad133d4051881f3185faa9c5f7bd4f28799e376d56aad405915654133b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/Logger.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"574ec71443ef2b8585246c9a4916019f81d4bc57a0933c441f6418701f6fd98c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ShizukuManagerProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58414f9f4862d1a1170a03f29ef45a6eadc7fba3f1099272c14e17437d70dc96"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/Helps.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"076af7ca9fcad0231567abb4b27e1aecfa1eb9cdfd4f11e9d9ba07920ee01f8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/EmptySharedPreferencesImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c851216e8784dc266b7a69e38f05490904b9ad313f7168b3fd7bc002b330b895"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StealthTutorialViewModel.kt \u2194 ApkUtils.kt: \u0060manager/src/main/java/moe/shizuku/manager/stealth/StealthTutorialViewModel.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/utils/ApkUtils.kt\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00609048510c\u0060 fix(stealth): report why the repackaged APK could not be saved; \u0060589041a1\u0060 feat(stealth): let the hide flow name the copy that is built; \u0060a7d2617f\u0060 feat(stealth): make the stub answer the binder request it holds the n\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/stealth/StealthTutorialViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2e5c6fc5898722320b8f7f62c41a2c95d38035bbe256848617d3906b64e9d8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SettingsScreen.kt \u2194 Theme.kt: \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/theme/Theme.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00608083d233\u0060 feat(settings): add palette style selection; \u006080ed91ba\u0060 feat(settings): add amoled background, accent and contrast options; \u0060cbf400e6\u0060 feat(theme): take the system palette whole, so ColorBlendr themes apply \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/SettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bf98ff8680c4578b6656ab5124d3b3af11b8edf9a99e0815f94bd285bc31ac"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainActivity.kt \u2194 HomeScreen.kt: \u0060manager/src/main/java/moe/shizuku/manager/MainActivity.kt\u0060 and \u0060manager/src/main/java/moe/shizuku/manager/ui/screen/HomeScreen.kt\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00608d588084\u0060 feat(onboarding): add a guided first-run setup; \u0060a94d8776\u0060 fix(start): stop a boot start from replacing the one already in flight; \u0060c23f88d5\u0060 fix(start): stop a boot start from replacing the one already in flight \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb042f0dd13958b571c4b01571502318c28f1cdc0c73d74b717e01cf2e8ed13"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060server\u0060, \u0060shell\u0060, \u0060starter\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/translations-merge.yml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gradle/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gradle\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b563c59748580d9931728564a9b6d9e5c3023a62c9a924e4dc9142d45465cf53"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory \u0026\u0026 entry.name.endsWith(\u0022.apk\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 manager/src/main/java/moe/shizuku/manager/install/AppInstall.kt, manager/src/main/java/moe/shizuku/manager/install/PackageInspect.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/install/AppInstall.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6ccb6b6101193ed5e8c349c4cb1105f3ec1668120532f71cd00c6ab3ecdbd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rooted \u0026\u0026 !ShizukuStateMachine.isRunning()\u0060 appears character-identically in 2 files \u2014 manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt, manager/src/main/java/moe/shizuku/manager/start/AdbPortPersistence.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/manage/WifiControl.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d142809e6c01848fa8442873a812d3b0506074e98cd5619884314f2eabfad41b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.S \u0026\u0026 e is ForegroundServiceStartNotAllowedException\u0060 appears character-identically in 2 files \u2014 manager/src/main/java/moe/shizuku/manager/adb/AdbPairingService.kt, manager/src/main/java/moe/shizuku/manager/adb/AdbPairingTutorialActivity.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingService.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979cc1c6d870b5c42ce7da4f6901ecb5184ce67b3cb61c542376641184e5347"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060EnvironmentUtils.isTelevision() \u0026\u0026 EnvironmentUtils.isTlsSupported()\u0060 appears character-identically in 2 files \u2014 manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.kt, manager/src/main/java/moe/shizuku/manager/home/AccessibilityDialogHelper.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingAccessibilityService.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7746c869946cbadac0d536bbeb22195a7e491fb3a7fcc6ca0f80cf5eb47c10ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appLabel(pm, it).contains(trimmed, ignoreCase = true) || it.packageName.contains(trimmed, ignoreCase = true)\u0060 appears character-identically in 6 files \u2014 manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/ForceDarkScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/LogScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/ActivitiesScreen.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"943380691bdab854524fc4055a6aee64c1fb8626572ea30de07cf3c67038a0a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.applicationInfo != null \u0026\u0026 it.packageName !in systemPackages\u0060 appears character-identically in 3 files \u2014 manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/LabsToggleScreen.kt, manager/src/main/java/moe/shizuku/manager/ui/screen/ManageScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ui/screen/AppsScreen.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cff2e5787d5ff18c5d81c0e33e61e0fad8c51eb3df4c880bcb0aedd7cd8f206"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key not in base_texts or base_texts[key].strip()\u0060 appears character-identically in 2 files \u2014 ci/check-translations.py, ci/repair-translations.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/check-translations.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a5a36314b3f9d8df2bd47c1924c7982c4316047f9856996b18cc6efa5d3a63"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060count\u0060 is read from the bytes being parsed at line 784 (\u0060readInt\u0060), then used to size a \u0060new int[]\u0060 at line 785 \u2014 and nowhere in its scope is \u0060count\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060count\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/main/java/rikka/shizuku/server/ShizukuService.java"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df7a81f3be81a01b19cd30c1f1ce6f50014f66955a3f0c3aab3f93b3ab00eb"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060dataLength\u0060 is read from the bytes being parsed at line 143 (\u0060int\u0060), then used to size a \u0060ByteArray\u0060 at line 148 \u2014 and nowhere in its scope is \u0060dataLength\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060dataLength\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e973d2c933a5fdf2fc4446636720c208e8cbb7fb9a782518585f97f2c8647059"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/1 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: download: \u0060download\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/utils/UpdateHelper.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61a2257057c8d7dd0a9db5d9118dada22a840fa717d42d4a5f0389c019fd261"}},{"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":"manager/src/main/java/moe/shizuku/manager/utils/CustomTabsHelper.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5713645ed479ebd195c9e4156c9a9bed62a60fed06e39ea8efb72a01082d1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (tr: Throwable)\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":"manager/src/main/java/moe/shizuku/manager/utils/MoreApps.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b13c67a7c114318bf2d42d0fa514ad8f5511549b38aa7cdbf57ee0b19fa44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/legacy/LegacyIsNotSupportedActivity.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e04375db40338aeaaacd3a7b0402b7a640cc76bde28acbeb9e1fcedccbbeb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/home/AdbPairDialogFragment.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"331def55c978d4606af56e2f1f355e1009e95d333c9d49b8bdc717dae2fb328c"}},{"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":"manager/src/main/java/moe/shizuku/manager/authorization/RequestPermissionActivity.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"220bf02e34149a56a99ee8151d174619cfd934192c28189b7213425706d8f721"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/authorization/RequestPermissionActivity.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12b93fa34707525ed065cc72507d79091ad6d6ac307cc8c16ef10bf40a3d02e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"965890a3f5a2af1d551e25f5e1b17ad10506b2b15f82f9f51f74093d7f210cec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"08965ab52c9114e3f8fb35f16e67e9b54db63e3b4e70ce6ef226fbf1835b4556"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"453de57afad40e2592c0b89759df741fa706d6d23ca922201c68f3f1ce263cc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7715ceb46e7553247ba00638a6aaa5423a067b76b5f7e156cf72f5b127f297"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"498542ed8622b57ba523f3904338bedcadd472a2dc6e9bdcbfa7676fde8f52c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbClient.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"14213775d603be9ab3a4da94466145b362d1d0532eb34fb8a9330bf43a1f1c09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingClient.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d611534d4012cad20ddd1f5e2d61ec25657502cb02018be6e4ca16eb3f1d777"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingClient.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3124c85f316cfdb5dfd3713a26494721ba60109f937cc0c8a12ca2adeaddbb80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbPairingClient.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d168039f0a4a4ab9ed181a40235ce4a902006b6a96a868689068bd09d8969d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/adb/AdbRoot.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2503284a14000c987eb44f32762e661a8cbca7deac54c18e961d7a2fa56019d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\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":"common/src/main/java/moe/shizuku/common/util/OsUtils.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5641957b5287acc5e3f837e4b6d9d3a4f828880d5bdf803d5db1efca0b83f46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060availableSections\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":"manager/src/main/java/moe/shizuku/manager/files/AppDataArchive.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec542069ff726ebd61bb44b72a86341d318eba395e1d3f999d797a7cd0780a6f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sizeOf\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":"manager/src/main/java/moe/shizuku/manager/install/AppInstall.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e1198aca00d11baa29a6f2d41b4047e8a5fc490cf80d959dbcef8000327a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060targets\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":"manager/src/main/java/moe/shizuku/manager/manage/Activities.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"933f04fcd7ca63ce084d90c3c46e524ccd058233fc95e7331ef686c8a2275657"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060vpnCandidates\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":"manager/src/main/java/moe/shizuku/manager/manage/Hiding.kt"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"512cd390e6da9014aa901ce4aae26fe2785b2453f63119017803038c20ca96dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/shell/ShellBookmarks.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd9cf0a532b73f0a743b73c0a388cf423829c89155927755c3bf42b45d7826"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/shell/ShellHistory.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d091238a6a5ea4674ab70920ee9284f09920278540a3a7270a38d60fc98255f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getInstalledPackagesAsShell\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":"manager/src/main/java/moe/shizuku/manager/utils/ShizukuSystemApis.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6299cf10fe9bed9a7c603400648109724043445ed7c5c490ac1fcf5b62c5e1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getTcpPort\u0060 returns \u00605555\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"manager/src/main/java/moe/shizuku/manager/ShizukuSettings.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c1219c740b920091b6aa01edfce4364b4815ca7087c728184333e05669ca3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060known_accounts\u0060 returns \u0060{}\u0060 when \u0060(OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ci/update-contributors.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54cc29d4da7e0e1e5216f46df5b8dff89d50a4604132d4d260d5fce2b6e8773"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":29,"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."]}]}