{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"GamaUIKt.GamaUI (cyclomatic 282): GamaUIKt.GamaUI has cyclomatic complexity 282 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed61320db3c685364cbed989ee2d1e937259bf68775701338c1da487a364080"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsSearchPanelKt.SettingsSearchPanel (cyclomatic 105): SettingsSearchPanelKt.SettingsSearchPanel has cyclomatic complexity 105 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dcd6aee42a9f8a52f75e66f71a7fd8a0ae2663968bd68663253e2338745dce"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaParticlesKt.ParticlesOverlay (cyclomatic 72): GamaParticlesKt.ParticlesOverlay has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebfd0fba25a7907b41d93e61f02efc45004a76ec57735bf3ce59836c00ac939"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaCardsKt.RendererCard (cyclomatic 55): GamaCardsKt.RendererCard has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61332bbd201248e0b7dc1f14f98a26cea983e9887a06b2e27c9731974a27b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaMatrixRainKt.MatrixRainOverlay (cyclomatic 55): GamaMatrixRainKt.MatrixRainOverlay has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa13c5076cbcf8dbd6de6125763dd0b3b7704525dac8a237f448634d8b8097af"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaPanelScaffoldKt.PanelScaffold (cyclomatic 42): GamaPanelScaffoldKt.PanelScaffold has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d151d5a9da803f96f6666a4d9ab3defd0146c4653c20e753b9253980ae4f35"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaAnimationsKt.AnimatedElement (cyclomatic 41): GamaAnimationsKt.AnimatedElement has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaAnimations.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"151c279a42719d924c2a2f33e65e0ca8a8e7a81a5934c7b22deced41991274b1"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaButtonsKt.IllustratedButton (cyclomatic 40): GamaButtonsKt.IllustratedButton has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5287842bb840b3155df880a7196fc2c66a6fb61b69b59abe94fa2404a59866f"}},{"ruleId":"D1","level":"warning","message":{"text":"HapticsPanelKt.HapticsPanel (cyclomatic 31): HapticsPanelKt.HapticsPanel has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12838b94ed1dac18cd28104ae89ff537416511fac02dd480902360408bdccec"}},{"ruleId":"D1","level":"warning","message":{"text":"ShizukuHelper.applyRenderer (cyclomatic 30): ShizukuHelper.applyRenderer has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f38a07b3433908589df4990ce319e70b52ac1ec803f505c27ca4eb50994a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashLogPanelKt.CrashLogPanel (cyclomatic 27): CrashLogPanelKt.CrashLogPanel has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0723cc9f4a8443e11b96ab8ca79630071519096ff49933d5394af405805cda3f"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupHelper.import (cyclomatic 26): BackupHelper.import has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/BackupHelper.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d81f83480a769cf280af7db307fb508488be333058deec9278d616a2d324e7"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaCardsKt.SettingsNavigationCard (cyclomatic 24): GamaCardsKt.SettingsNavigationCard has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b969dc6721cf7c79ba4e90508e9636d71f682d6a75a8481ea9ffb71f66ca5a0b"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaCardsKt.ToggleCard (cyclomatic 24): GamaCardsKt.ToggleCard has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdc03f77eb14884d4ec1943f58cf3a459ceae8086383cbc9ae34439d40d24c2"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaButtonsKt.FlatButton (cyclomatic 23): GamaButtonsKt.FlatButton has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed486a82a87cf57c996d3b6ae5b3552828cf2cb1bf735488640dd80352730c0"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaButtonsKt.MainMenuPressShell (cyclomatic 23): GamaButtonsKt.MainMenuPressShell has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd2d627346c658199762ca0e9a54046c8a98ef96dbee83f16b2e2e9e27a81e8"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaParticlesKt.calculateCelestialPosition (cyclomatic 23): GamaParticlesKt.calculateCelestialPosition has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563590d9402be1fa170817dd3a47ee2726fca93aa7169642f5f12d667f6a3b3"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaTitleKt.TitleSection (cyclomatic 23): GamaTitleKt.TitleSection has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3098607554648d9746826f183b38d9b30b669c245a56bb9298cee9d95292681"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaSelectorsKt.CompactColorPickerCard (cyclomatic 21): GamaSelectorsKt.CompactColorPickerCard has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f537af6b15e97409fa438f608e6c8cf899a28571f86f4d76734796a61672c"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaIntegrationsKt.IntegrationsPanel (cyclomatic 20): GamaIntegrationsKt.IntegrationsPanel has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a05bd43121b565701a3fc421d1312569ee91a09f742817567149f91b953940"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaSelectorsKt.GlideOptionSelector (cyclomatic 20): GamaSelectorsKt.GlideOptionSelector has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"261b5d002453b0df928fb2945ef0b9d1c30d2babac0efb6e06c36c4b6f02fb7f"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaButtonsKt.BigRendererButton (cyclomatic 19): GamaButtonsKt.BigRendererButton has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c164f8e28b679c3a3c3e1700f7b0ece3a59ccfee3db1a376436e0f538599d7"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaPanelsKt.GradientPanel (cyclomatic 18): GamaPanelsKt.GradientPanel has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"da10a9e0485edf8b0510d9ba90d58d158e1978a6af39cb21b3a205dc4c892cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"PanelButtonsKt.floatingButtonGesture (cyclomatic 18): PanelButtonsKt.floatingButtonGesture has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c954e22124089bc52e17572f8ed5c0be97a8081019a22edf95c9b8a114d147"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionDialogsKt.SuccessDialog (cyclomatic 17): ActionDialogsKt.SuccessDialog has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85069fdddecc01b87693243bbae8fde39f1a66f2aeb1a7f1cd7f5df7cd0f0bd"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaIntegrationsKt.IntegrationInfoCard (cyclomatic 17): GamaIntegrationsKt.IntegrationInfoCard has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0c583b003abd430b87aa9fb37251c059bc2058c375d999f1b3c43444736094"}},{"ruleId":"D1","level":"warning","message":{"text":"InfoDialogsKt.EasterEggDialog (cyclomatic 17): InfoDialogsKt.EasterEggDialog has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2474e94996e78077532c9e99e2309fb56311df1f8e984475ce81d8d52f6a0bd6"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.onCreate (cyclomatic 17): MainActivity.onCreate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a57ca0255a0301264c06ff667cb9c8c756a45a1c3bda86c91afb367da40114"}},{"ruleId":"D1","level":"warning","message":{"text":"GamaDialogKt.BouncyDialog (cyclomatic 16): GamaDialogKt.BouncyDialog has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaDialog.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f20008677b79e929ca7af36666c4f23977fe3f3c9031c5b9b4b5713ea92c70"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaUIKt.GamaUI (cognitive 489): GamaUIKt.GamaUI has cognitive complexity 489 (threshold 15). Drivers by points: if/else 279 (377 pts), boolean chains 74, match/switch 19 (30 pts), error handling 6 (8 pts) (nesting depth added 111). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e62c86a787995510fbfdc843c9c1a0f5737c16fe5fbd88e2cf334b61cb9c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSearchPanelKt.SettingsSearchPanel (cognitive 161): SettingsSearchPanelKt.SettingsSearchPanel has cognitive complexity 161 (threshold 15). Drivers by points: if/else 88 (107 pts), boolean chains 46, match/switch 6 (8 pts) (nesting depth added 21). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc40c74ca1e531e9c80837a84ba05f999cd59e462dd75cf47f0d05930cfad3e"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaParticlesKt.ParticlesOverlay (cognitive 135): GamaParticlesKt.ParticlesOverlay has cognitive complexity 135 (threshold 15). Drivers by points: if/else 54 (84 pts), loops 8 (22 pts), match/switch 9 (21 pts), boolean chains 6, error handling 2 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"642b7a4d260fbbbafa373be206c30923f726afe9876222decf6d6b2aaf9e2f09"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaMatrixRainKt.MatrixRainOverlay (cognitive 112): GamaMatrixRainKt.MatrixRainOverlay has cognitive complexity 112 (threshold 15). Drivers by points: if/else 34 (71 pts), loops 10 (22 pts), match/switch 7 (11 pts), boolean chains 8 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d99ae7a9c3103eb36bda144c50afcac5fe3a801838882afcdd2cfeaff56f90"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaCardsKt.RendererCard (cognitive 88): GamaCardsKt.RendererCard has cognitive complexity 88 (threshold 15). Drivers by points: if/else 62 (71 pts), boolean chains 11, match/switch 5 (6 pts) (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5817f1b144454b277dd8b23bb318220bcf2d3a275af2c43365b8d860e177b"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaAnimationsKt.AnimatedElement (cognitive 83): GamaAnimationsKt.AnimatedElement has cognitive complexity 83 (threshold 15). Drivers by points: if/else 56 (75 pts), boolean chains 7, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaAnimations.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc71378e039b40f114f933aa9ff25aaf77bb751c4bb7d32daaf0a566185fb30"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaPanelScaffoldKt.PanelScaffold (cognitive 78): GamaPanelScaffoldKt.PanelScaffold has cognitive complexity 78 (threshold 15). Drivers by points: if/else 61 (71 pts), match/switch 3 (4 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af0e959aad1c76273fb8f46cf275deb63fb45fcb2f3903d15de6916077b52e"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupHelper.import (cognitive 47): BackupHelper.import has cognitive complexity 47 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/BackupHelper.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2069862ca8fc25b5153ffb213fa60d7a1b0a9c4bf300c7f0a749627b79761d43"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaButtonsKt.IllustratedButton (cognitive 46): GamaButtonsKt.IllustratedButton has cognitive complexity 46 (threshold 15). Drivers by points: if/else 30, boolean chains 12, match/switch 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c95a19da164a7ea12ff7188cbd6483400df1c7d21e3cee20f08c00e9b8f2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaIntegrationsKt.IntegrationsPanel (cognitive 44): GamaIntegrationsKt.IntegrationsPanel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 37 (44 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb3b1baf718a754cecb7201d37edbf9ae3e8b484ec3febfd1a62e48841b4eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaCardsKt.SettingsNavigationCard (cognitive 43): GamaCardsKt.SettingsNavigationCard has cognitive complexity 43 (threshold 15). Drivers by points: if/else 35 (39 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d49a92857e84f0891e6f666fee7dd59b514ba18a83d9be90fd4c0c842ee17a7"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaCardsKt.ToggleCard (cognitive 42): GamaCardsKt.ToggleCard has cognitive complexity 42 (threshold 15). Drivers by points: if/else 32 (38 pts), boolean chains 2, match/switch 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30385248fab69d59c8199ed9fc045ac00c3602f522a1a020f548774c352cf4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ShizukuHelper.applyRenderer (cognitive 42): ShizukuHelper.applyRenderer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 9, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a9b5eb457d954c6d284ecaee92b6738e9123daa0844fbf04e045cbf99ba80a"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaButtonsKt.MainMenuPressShell (cognitive 41): GamaButtonsKt.MainMenuPressShell has cognitive complexity 41 (threshold 15). Drivers by points: if/else 34 (38 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"556e8df2c1e8058e90a0c15d3da384b92896d5c121a05243290f022c5798dc5c"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaSelectorsKt.GlideOptionSelector (cognitive 41): GamaSelectorsKt.GlideOptionSelector has cognitive complexity 41 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 2, loops 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":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d60ec8f2a8aab665c3abdba628e33a390b1382aeb9c4ba827d65e709cda75"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashLogPanelKt.CrashLogPanel (cognitive 36): CrashLogPanelKt.CrashLogPanel has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 9, error handling 2 (3 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"09463c82ef62bbba18d33aaf3079d974a15648ea75f3569cfb94bede73733232"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaButtonsKt.FlatButton (cognitive 36): GamaButtonsKt.FlatButton has cognitive complexity 36 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 3, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0da7c7b5ab4150fa2bcb8e8a59ea68e7d58d3fb0ad474227f5f2180b7ddd769"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaParticlesKt.calculateCelestialPosition (cognitive 36): GamaParticlesKt.calculateCelestialPosition has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 6, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a2f3497a770494d1f368f608fd8cedaa62bf475b7d32f28d30c446285406b4"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelButtonsKt.floatingButtonGesture (cognitive 35): PanelButtonsKt.floatingButtonGesture has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 3 (6 pts), loops 3 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeb313f96098c17e5cecb761cab009dc367825c3c2ded4c0ec03a3949e7d704"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaDialogKt.BouncyDialog (cognitive 33): GamaDialogKt.BouncyDialog has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (26 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaDialog.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eec1e49c57cc4e78cd91a7abfec81ff5ccd24d7deca49550c8eb003ff6e4fba"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaSelectorsKt.CompactColorPickerCard (cognitive 33): GamaSelectorsKt.CompactColorPickerCard has cognitive complexity 33 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d3ad2c7032e30a178f88e47c433924612e9c5a0fe2e70299c7cbfc99890484"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionDialogsKt.SuccessDialog (cognitive 32): ActionDialogsKt.SuccessDialog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26 (29 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6654302e1aa3459f515986c3fc7346abda4afd5dbda4f0d68ed2fda2a975648c"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaTitleKt.TitleSection (cognitive 32): GamaTitleKt.TitleSection has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (26 pts), match/switch 3, boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"080bca234c739ec0d693018214d9b1d1440c7f9f23e9c16cd1c5c1ac2c87d659"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoDialogsKt.EasterEggDialog (cognitive 32): InfoDialogsKt.EasterEggDialog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 32. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a057607803f8a2a9fe5baa11e726c25c2ce778bc63d5d767172f3aad8c6d7e"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaIntegrationsKt.IntegrationInfoCard (cognitive 30): GamaIntegrationsKt.IntegrationInfoCard has cognitive complexity 30 (threshold 15). Drivers by points: if/else 24 (27 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":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b031d5648aa99bc206e1a35117b9d029e8ed2a37c3fa771546ff79c44154b6be"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaButtonsKt.DialogButton (cognitive 27): GamaButtonsKt.DialogButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (24 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"80162cfde91c79ddb23236af9c22c10b3a64b421909cebb8d31d46806b31301f"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaButtonsKt.BigRendererButton (cognitive 24): GamaButtonsKt.BigRendererButton has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, boolean chains 7, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1032db76be25df003380200eea828953df23ae8bb1b29e765db16273796e0b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaPanelsKt.MatrixMotionPanel (cognitive 23): GamaPanelsKt.MatrixMotionPanel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"70653e35275de9abbe78188ca4607e394cb2e874b2dc55440c385cb364b4a1e7"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoDialogsKt.ShizukuHelpDialog (cognitive 23): InfoDialogsKt.ShizukuHelpDialog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (20 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e75989fc433ef4660bf14fd6c03ed395b6e0290560862a3795f970875b0a895"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.onCreate (cognitive 22): MainActivity.onCreate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (17 pts), error handling 3, boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bb65dd309cdeeb0a47585927f26a0547c3a7d9a4637b5971934466d50f644d"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelButtonsKt.PanelBackButton (cognitive 21): PanelButtonsKt.PanelBackButton has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (20 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b711b19560db484860dec07eb0c2d306a37292318a8f6d9cecf530ce179331"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaCardsKt.MainContentCards (cognitive 20): GamaCardsKt.MainContentCards has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, match/switch 4, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"13336d3ddd31f296452478d4f849fcc947f9381e1734855986e2cce37684ebd3"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguagePanelKt.LanguagePanel (cognitive 20): LanguagePanelKt.LanguagePanel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/LanguagePanel.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee6c32d05aa38964f4418e669e9c751cb235c3846aca8dbe428422c31a486e"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaTitleKt.CleanTitle (cognitive 19): GamaTitleKt.CleanTitle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"831aa43394c4a75314f501f6af51d53f900818d7889c04db46c4171b223184b5"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguagePanelKt.LanguageRow (cognitive 19): LanguagePanelKt.LanguageRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/LanguagePanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac847ece7bbec57591090b38c7f16f81312c07e0d15890584973370349451e9"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaModifiersKt.directionalShadow (cognitive 18): GamaModifiersKt.directionalShadow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaModifiers.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec695b9c21f829defc11bf11eac6545f7b5bd4e790ff9abbbae11ea1e16d415"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaPanelsKt.GradientPanel (cognitive 18): GamaPanelsKt.GradientPanel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 5, match/switch 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7b320266032aae58833e3555b1440833d208af43b0158b1826440e95fdd9d"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelButtonsKt.PanelSearchButton (cognitive 18): PanelButtonsKt.PanelSearchButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), 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. This shape REPEATS in the file: one other method here (PanelButtonsKt.PanelGlobalButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c504762ea56fc1b4e0bd82de388f8f362597dd1830581ccfb38dac981b67714"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelButtonsKt.PanelGlobalButton (cognitive 18): PanelButtonsKt.PanelGlobalButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), 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. This shape REPEATS in the file: one other method here (PanelButtonsKt.PanelSearchButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"decdf83738cb6365b73340de672fbf9b5e0748dd8ea41341387c64d1f622e4e0"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSearchPanelKt.settingsSearchScore (cognitive 18): SettingsSearchPanelKt.settingsSearchScore has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"01974aec73f4c3aed977de7ca7e3545ce65ddf5cd93e2523015f6cd3bf71c16a"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaIntegrationsKt.IntegrationInfoDialog (cognitive 17): GamaIntegrationsKt.IntegrationInfoDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"55146606b59a8af236508c04f4342dc8ec1fe9324a306684ea288794ad26863b"}},{"ruleId":"D2","level":"warning","message":{"text":"GamaSelectorsKt.CompactColorBox (cognitive 17): GamaSelectorsKt.CompactColorBox has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (16 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79bc060879d3c7110bff3c772d2396aa883e9dc74b57cf93b31b9f79c255fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"HapticsPanelKt.HapticPreviewButton (cognitive 17): HapticsPanelKt.HapticPreviewButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16 (17 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc46b1901b05cd61fab8d412863063fc150028da0045179047f0ac737bcdb982"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelButtonsKt.repositionFloatingButtonOnLongHold (cognitive 17): PanelButtonsKt.repositionFloatingButtonOnLongHold has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a59f7c989f85d6c63a6278c67ce5cdce38cefb5f354c55afdc2c6f362bb5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"HapticsPanelKt.HapticsPanel (cognitive 16): HapticsPanelKt.HapticsPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 6, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16696e8eea408aadf30b49a7d33404cea50f028fd68b2a3b4f8f7dd238d8062"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticlesPanelsKt.ParticlesPanel (cognitive 16): ParticlesPanelsKt.ParticlesPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cee1df6fd5eaba93b210dc93c2048b0728b51acf03b61ff927c30035503dee"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSearchPanelKt.AnimatedSearchPanelTitle (cognitive 16): SettingsSearchPanelKt.AnimatedSearchPanelTitle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1495d5ed769891b71be4de4bee6036b98d2744f66517edf2df19d03150585656"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemPanelsKt.NotificationsPanel (cognitive 16): SystemPanelsKt.NotificationsPanel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SystemPanels.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d989062680aed8a4d09e059782b18e75e6296f45eb1b3ff593167a3abe53ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/GamaUI.kt: FileTooLong \u2014 3330 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2830 over it, 6.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":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c621b35b413f0453dc7fb16aed8c4922dd13228168d51fa5f759ace7035a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaParticlesKt.ParticlesOverlay: MethodTooLong \u2014 ParticlesOverlay runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b0fe6e6543427d8e4a8b58fbbafd584669c9ca4be3b46641e9a4964c40e00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HapticsPanelKt.HapticsPanel: MethodTooLong \u2014 HapticsPanel runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed760a14bac5b86f4c92cad13de3615f6bdf4893597947d79e542395a65692"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaCardsKt.RendererCard: MethodTooLong \u2014 RendererCard runs 327 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 227 over it, 3.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc19f699c27e8319b1d41c6e513ddb8f034f6d327ba2bb1f282fb5bdba111a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/SettingsSearchPanel.kt: FileTooLong \u2014 1480 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 980 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136e4bef5c892d46041af2ab76f358315309d70f3d935dc2fbf2cdffa48e021"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaTitleKt.TitleSection: MethodTooLong \u2014 TitleSection runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466fc993ca7a096c20b16b30f6b0d240072e1153b54d5ec727d221dd9e3477e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaPanelsKt.VisualEffectsPanel: MethodTooLong \u2014 VisualEffectsPanel runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d3e95901750b12dceb0abca495df5cd4333a9a3cf980c1fd5646c0cdba225"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaCardsKt.ToggleCard: MethodTooLong \u2014 ToggleCard runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b2085847a800ca25ed3243e7607c7aa23483027c6553cbf167de3601079905"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/GamaCards.kt: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 521 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"436cee2c2f62af1dd0bd112d4c1eb01731c26aa1e37d769ad9293d97f869821d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaAnimationsKt.AnimatedElement: MethodTooLong \u2014 AnimatedElement runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaAnimations.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c29200d193525f5a0e3615e958f00de8384e88922fb7a4093d289272894df7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InfoDialogsKt.ShizukuHelpDialog: MethodTooLong \u2014 ShizukuHelpDialog runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce781b9adedb0ea2e58251eb2fa675471a55ae90ce6b5edba65a51f15f9d75c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InfoDialogsKt.EasterEggDialog: MethodTooLong \u2014 EasterEggDialog runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba40abd627a8260aadde92c8ad232f119738e1a5ebd7cdd96aad6e09dcbfaba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaCardsKt.SettingsNavigationCard: MethodTooLong \u2014 SettingsNavigationCard runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f5c08caa4789f88f099a1628d079acadccd716fc267459d3bcd7a0916a0671"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaCardsKt.MainContentCards: MethodTooLong \u2014 MainContentCards 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":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddaa22e83046c71e0c89e95e720d5e96cf5a9c570cddc7fa1dc437cee9965c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaPanelScaffoldKt.PanelScaffold: MethodTooLong \u2014 PanelScaffold 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":"app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e524249a5b45c8443b34f912f8834f270eaa0ef4fb09670564adec3e82f9817"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemPanelsKt.NotificationsPanel: MethodTooLong \u2014 NotificationsPanel runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SystemPanels.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd596e92ee994b386dc704da0f89ffda94821debb395039a82e20a05878f4ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaSelectorsKt.CompactColorPickerCard: MethodTooLong \u2014 CompactColorPickerCard runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c8e1c4c4aacaf1cd4646d799ff6ec64d63d03ae82819ad71912646497b9335"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/PanelButtons.kt: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f98792f23603e15ef5003b0c23d36a92c9d3fac43d9f233689230d3fe4cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LanguagePanelKt.LanguagePanel: MethodTooLong \u2014 LanguagePanel runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/LanguagePanel.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae5e138d86657edb627073509b13edaadde8b491a33beb33e92a468c94006f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PanelButtonsKt.PanelGlobalButton: MethodTooLong \u2014 PanelGlobalButton runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"601256e68f355d88bc3b6c7e04cfe32063b8d0e9fd65865a508676f9880bcb01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaIntegrationsKt.IntegrationsPanel: MethodTooLong \u2014 IntegrationsPanel runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc03881da3f82b70a441e1d6141d225e3116b407c3a2b96a8ff96e6aab8a6670"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shizuku: 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":"app/src/main/java/rikka/shizuku/Shizuku.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265e5ccd9addb63893986b32acf40b9e745609fbfac26eae3b8d774788ea823"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/GamaButtons.kt: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"086378a2cca0cb2e0c97a53cf8074029116064484b80705ffe3c1e31c6022828"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/GamaParticles.kt: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660892cb7dc98f3c733e2529e7d3cc3b37b2a061901c598599edd8f4e3bb28f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemPanelsKt.SystemPanel: MethodTooLong \u2014 SystemPanel runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SystemPanels.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7178311eef0be18ee5593b187baf8a16b39d0278a6881ffa83283804f0ceabcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/GamaPanels.kt: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cfc2f949b9f98eb2f3bf6a7d53e76ef5e447b07a9837cb92cfb8ddc7fc1db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/ShizukuHelper.kt: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 147 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":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71394a86c79520872dcc12f9dad90dddecaadee44db98799ebfbe8b60575e443"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticlesPanelsKt.ParticlesMotionPanel: MethodTooLong \u2014 ParticlesMotionPanel runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b72eebfe55f187d6587f6ae290351831a02ee3e053f6c945658cc72f3a4016"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActionDialogsKt.SuccessDialog: MethodTooLong \u2014 SuccessDialog runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6399ab19f5af80419b55320fd9191eb1b8c2095a7ce89cba2dba180d3ad296"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaButtonsKt.IllustratedButton: MethodTooLong \u2014 IllustratedButton runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"45079250614fec271f1451ad53b1f75a2ac406eff9db25d9891fbe9878509704"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaPanelsKt.MatrixMotionPanel: MethodTooLong \u2014 MatrixMotionPanel runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"95887a138e113c280e8a7dabf06d7066a923434f679f9126a40d321ca4e128f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaIntegrationsKt.IntegrationInfoCard: MethodTooLong \u2014 IntegrationInfoCard runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1d5f1e64229aafd5496be9509c71687a585b45f6cb83f484ac544543e3f5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainActivity.onCreate: MethodTooLong \u2014 onCreate runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f827a865bf699548a9eec8021bd23eb9a9b11e6ee147aafc79af618a33f68c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WarningDialogsKt.AggressiveWarningDialog: MethodTooLong \u2014 AggressiveWarningDialog runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"913352c9267a498cbd334634dcdafadcb84f73886dc0a7e1059c857989240d4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticlesPanelsKt.ParticlesPerformancePanel: MethodTooLong \u2014 ParticlesPerformancePanel runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5255acae895e3b811ab82078386530cf2c7d0ba36ed0c10d4bed6d02d20ab7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/HapticsPanel.kt: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd82c97429ad371688adfd8448ce30e7c078d268025b938e9ac952bec69681"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaButtonsKt.BigRendererButton: MethodTooLong \u2014 BigRendererButton runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"39179392035e7e946d9e19845622206342e2b6730052ad38eab2ac4fed139d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShizukuHelper: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3af999d4cf18b04bc123d9bbc6a513cd01be2a3d2195245b9a85b868dd0338"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaSelectorsKt.GlideOptionSelector: MethodTooLong \u2014 GlideOptionSelector runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"96af708852b340bd15c3ef697777a76ce2680ff115f0bf4fdc31cea5f5c8c394"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaTitleKt.CleanTitle: MethodTooLong \u2014 CleanTitle runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ff91955ba4dc197369b3c39dec36ef0a1ac07320aa44eb70fa1592d8e7542b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PanelButtonsKt.PanelSearchButton: MethodTooLong \u2014 PanelSearchButton runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a22b99fab8bf6329e474aa5590c78969e76bb312687be9a62bdf5c1d90fe639"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HapticsPanelKt.HapticStrengthCard: MethodTooLong \u2014 HapticStrengthCard runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce446c3eeae396ccd2e28dff2dc2a5bfeaf0fc8a53e8ccddff97681ff39ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PanelButtonsKt.PanelBackButton: MethodTooLong \u2014 PanelBackButton runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e3657bd022e4cdc4ca403b2d392bf8c4d7e4c9a7eb491ea43c32882d593fb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GamaButtonsKt.FlatButton: MethodTooLong \u2014 FlatButton runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e7a2cef9c6e99311ca13770850b496cf6c85b4d5cb279cacb1671fb55595ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticlesPanelsKt.ParticlesPanel: MethodTooLong \u2014 ParticlesPanel runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b40dc0813dd3d490d16ca4a7a579381fbd4254529d96e40221e880afd85887"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LanguagePanelKt.LanguageRow: MethodTooLong \u2014 LanguageRow runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/LanguagePanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d1239569958b483343c78cfead54b06c64c80ca1d01601594ea080b729c68c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gama/CrashLogPanel.kt: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"071805777da71babef098c717029747c4d771cdbd47f83e9a0a599eb058334b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:118-283 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:295-365 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:377-487 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:501-598 | app/src/main/java/com/popovicialinc/gama/GamaDialogs.kt:116-232 | app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:325-433 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f1788f2d008f379a28205d6b24f780b5d666e17ef3d46ae5e2321aa2e99922"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:124-4615 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:132-259 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:493-640 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:652-789 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:801-982 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"86deaaf45f3a89eaa4c42357b0883f188b9726f8ae27db3b374ddbd2fcacc766"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:83-214 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:356-508 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:527-663 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:381-574 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d452eb198b5a3b92b28789375435f21420e31d5ef6a018075f556a8a673cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:117-187 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:365-435 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84dde43a92d926cb8ac93fe31038be9015ca519cfe3bb3597ba9a6c5981603e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:590-636 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:230-288 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf442b5cb747e6988c45205f3e3c33c8771ddc365a1a3ee9903ed283835f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:305-337 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:588-623 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3439ce9c0b9a3d3be057e97c7db3cfa4f777aaee9f1b508d327abf56666a3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:290-306 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:308-326 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9576be05d8fc29a620530f281793b20f62b766d032c42889a772af77d5a2c62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:170-183 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:228-236 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f591c128d8cbbf48e209608c286d05d3a0e7003fe40733fdaeff3f83b3f873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/rikka/shizuku/Shizuku.java:84-106 | app/src/main/java/rikka/shizuku/Shizuku.java:108-125 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/rikka/shizuku/Shizuku.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2495c448d270f740b2bad46ef44a26e7ee219744c3046baa62dbbcabb55feabb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:88-95 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:155-167 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:186-193 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:196-203 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:211-218 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"82782366b8757e4795f30bf38777d12490e6d3dff1a0ce360bb0f8c3df806d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/rikka/shizuku/Shizuku.java:362-377 | app/src/main/java/rikka/shizuku/Shizuku.java:417-431 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/rikka/shizuku/Shizuku.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"70926263071eee35c54473d4bce7c3314e7d31edfaf33a7d4194ef64921113ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/popovicialinc/gama/RendererState.kt:94-106 | app/src/main/java/com/popovicialinc/gama/RendererState.kt:126-140 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/RendererState.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"15316996d90d6f3ab9b6f9c34cd8ce79b59fe937edbbbb4af66288c41bb46e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:98-107 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:110-119 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ff6e2159cbe82f0ccd091f7ef12cbbc92b5cf56e3e4d924c9c684d14e6a4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (194\u2013199 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2118-2311 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2668-2866 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3188b781e7d91f0ceb3c27e9761f72fb3e7b95e228030b81677a35b06461867d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (140\u2013146 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1772-1917 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2324-2463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1772\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"8249acf6ee9d95242e337f6fb4eef7cba1fa904bf606849ad007f1c51a79ca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79\u201387 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1918-1996 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2478-2564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1918\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"160a57c3ae8af188284b136ad5a71d51420452f3d45192bba279eebb778ccded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2025-2087 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2580-2642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2025\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007b26158443f42b6543d8b90f24e4534394db427812922e52f4558a653a848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201360 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:538-597 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:688-745 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:837-894 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:538\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c562473fcbea966e141b9d7b39d9b60d64a7d845c5a48c0e7e667a11cc5160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201337 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaParticles.kt:243-279 | app/src/main/java/com/popovicialinc/gama/GamaParticles.kt:302-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaParticles.kt:243\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be2ed7f96657f563a11aac8545b8b3ecc3d6732534ee640b2970f41333f723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201329 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:432-445 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:454-482 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:486-506 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:432\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8704bead7011d922148dde8d44429311f04661d7d44306c0148ebc1eef419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:113-139 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:222-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a79bc7dcf7584475d1bff1f825dd54871a102fca8e6676a831a6d0605cfcb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:176-201 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:553-578 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:701-726 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:850-875 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:580\u0060 calls \u0060FloatingHoldIndicator\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:204\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3261e2cb0bd3c69cf9637add836b25a80bd25c4a95004addec753274842bc80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:787-807 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:837-859 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:787\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d285a53aa1a80c90ea7875104409c629ec8f93462bcbcfe43b4710677fcacd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:674-695 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:758-779 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:802-823 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:846-867 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:674\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce96956c52a8e798e876eadb5aff7615a3f2808210ee75abb5897465ed336572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201322 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:431-445 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:453-472 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:485-506 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:533-554 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:431\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3017c875402fe4789d0edfba1c5b52ea7512023e8d23bf1d7c07446b95f408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:527-546 | app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:647-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a8dda541fdf7958b74a857aed9928af7e77fd1eebb5c8b8552519a14984f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:226-245 | app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:271-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:226\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8adbc70ce62e51721b05bd3ccdb46e2bd233b7be29c19d57e04463f73d2bec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:206-224 | app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:247-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4473fd2d139e705342495bd0154a378ee7b2d0e6a48733cc4fbac0dbb39421c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:317-334 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:513-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:317\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787a88b09b6b6f961b15a9816e96cd606b5b69323decceda1abef1484298f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:397-415 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:448-466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:397\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c57bffa48cd5174bc6279cf4ca111dd27a35aaf810d6610058e40829984e4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:653-685 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:802-834 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e96cf1ff780ce00552f1809e8d7fd6e729e2bd40389782f0febe89137582b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 8): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:149-162 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:190-203 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:230-243 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:295-308 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:133-149 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:388-403 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:470-485 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:559-574 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"604cf64508824e955bb91c84a0a20c52e19cc44e902a3d2d6ca3219120772669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:156-172 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:300-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a5305479a9265d761a14d08a21ac7eaef5d8a8f3dee0e9e4676fe18fcd8ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:402-418 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:520-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:402\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f68abe06d0999299e8b9d3ca012327ba1606bc06cce7b72533f739c0cda4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2089-2105 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2644-2656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:2089\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"965769b7d2c91e69144d1774bd993e0da9f19c044c41253a8fb84314cb3510ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1891-1907 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1956-1972 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"950805054bd6bce9ed1057d47438c341d30cf91b57dffa67216cd01a4dc1ad21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:124-139 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:379-394 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:550-565 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:469-483 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/SystemPanels.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8217ffbbe77fa88a13f5f8bb515d8ca6c184610f98eb5f63ed8b0cd54ae15a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:496-511 | app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:626-641 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:868-883 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:496\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:624\u0060 calls \u0060clip\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:494\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0120d135ec111cc9dfd693c4fab5c77756ea17965558e95292a4a6b5b3310110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:240-255 | app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:285-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9267a862d59b562e1be0e5b1f2e3b4fce204d1c1d968971843a0c806fc8607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:211-224 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:588-603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:211\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e848c3e2fed0a1e2baf4d0c9c379c87224898ae22f745214a8c8e0dcce4ae33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 5): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:166-180 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:310-324 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:392-406 | app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:513-524 | app/src/main/java/com/popovicialinc/gama/GamaDialogs.kt:125-136 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da65e869c574327281e984fef6c40746ce2b3e687123a1d72130c56a26eb38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:214-224 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:827-839 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:895-909 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401bec6377899caf6675f1683ddb35204462da628a09da98f86d4bd3ab87126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:337-351 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:410-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e6cd2e3338455061c8900e92320831fdfeac2a4eb6f39281f7e0f663c6f996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:394-407 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:586-600 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:394\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8cd0d2eab0aba88df5386ee76880cda4a18a786d0d422722d05c57dc63e114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:535-549 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:604-618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:535\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb9fba5194d21aabd3ae43a8bd8dc38d72507744fb220be6ead48d7060a0562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:756-770 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:905-919 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:756\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf1a90ed8fa3a088c3816109047dd28d3c3c228366e93fd7006cfee93db3c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 5): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:680-687 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:764-771 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:808-815 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:852-859 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:465-478 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:680\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfda7b28817df05fca5b3a08b6818f0d2c34238f66f4b4cb6df0465bcbc1ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:330-343 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:403-416 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:527-540 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:596-609 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:330\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba466ef04e73b1de222515f49e91295165404c7dd82d6d9f47039799c14f90db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:169-178 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:795-808 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2082e51d693d1bcd25c6a430a8418a52542dcd263a76bcebbfb84bd13a079ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:325-338 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:405-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:325\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"437c3af80af4c97b46ff5343230fa94c710597723455d6a6f2da27460df47910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 6): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:162-169 | app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:852-859 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:721-733 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:523-530 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:672-680 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:821-829 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1aadd888ba8f10dc673c170d5c85dfbacb43459588443eccda7e1a0505010d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:142-154 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:183-195 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:223-235 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:288-300 | app/src/main/java/com/popovicialinc/gama/LanguagePanel.kt:236-246 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf8c4631360e9bcde75399fbe3fd77ebf7386bcecf05ec0e22f71b42e8df9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:4502-4514 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:176-188 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:553-565 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:701-713 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:850-862 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:4502\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":4502}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fcaa202032a130b497f5e78ca16e878277135b99552a0f9d8e87749b31cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:4531-4543 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:583-595 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:731-743 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:880-892 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:4531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16495cc789e07dd06eabc767f522c9cdd673cde947235caab7a64f11f425500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:137-149 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:660-668 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:809-817 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f6dd033e7f5b517410e24455d1f1ae0cc19215b2be1426076d5f9271d7dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1180-1192 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1212-1222 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1239-1248 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6369a097302a3df5d1090b40275ac2a3849facd8f89fb686a674fce35e19e977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:739-751 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:4456-4468 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:739\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb41eb6eb9f6860d1399a31e10dbfe939c6d0deac871902f633c5b34135f8c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:339-348 | app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:140-152 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:136\u0060 calls \u0060mutableStateOf\u0060, \u0060installed\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:337\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b716f539b1573f45e3dbe172c45d5b6d17019e17c56a8ccf793797eee5c1df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1311-1323 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1325-1337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d105b461605545a6b3516193b89442395266aab7edd066e0e3dc7b7b9994e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:497-509 | app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:697-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:497\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ee85b04f5fc1e1e563d1da7e474d48417dc4fa7476c78d6c1781b887caa3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:159-171 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:324-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:159\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:323\u0060 calls \u0060fillMaxWidth\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:158\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"202beff9f35ee545ea3bc6f59097c01af526b212225bf005ea43a9b3bbdfc479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:211-221 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:587-598 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:735-746 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:884-895 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:211\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3240195ff85c5ce48ada5912c2a2d2f4994ce2643814313452eafe768cc9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaCards.kt:760-770 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:773-784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaCards.kt:773\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71f3a260e30f22c79e22b3e8a631bea96603f499233a8b8b6af23c4eb9a1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaTheme.kt:336-347 | app/src/main/java/com/popovicialinc/gama/GamaTheme.kt:372-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaTheme.kt:336\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTheme.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de1e7d774ad3a2dff851e5aaa21c313dd2008392608477a36e5c67c65492ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/MainActivity.kt:140-151 | app/src/main/java/com/popovicialinc/gama/MainActivity.kt:199-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/MainActivity.kt:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f3f92ded8e183dcf4d181752f97f976b20d7fc969229d81268acd40e3e5016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:200-209 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:808-819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e54c20dcb6ef631056eedd5630adfa7c7aebc82e70870ac713d97a08f2d0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:125-136 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:373-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28be363eacb645d3b61191a535cbe10ebe8edb2e2ffe5a370534d5376aebef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 6): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:842-851 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:711-721 | app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt:512-519 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:514-522 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:664-671 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:813-820 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:842\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:507\u0060 calls \u0060tr\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:661\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"77decdd158892b78189064d34d89b0c7e408528630638f91cd9ae110e1c0856b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:148-158 | app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:441-449 | app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:516-524 | app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:537-545 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55512a54eeeec00a1db9409e1e178ebfaa502c033e764e42c266a553edaa73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:200-208 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:808-817 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:877-887 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0755358e5208879b6f7acf8f44993ee5bc20db1e227664c76c3ad42ee8aa9183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201311 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:292-302 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:411-415 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:292\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:290\u0060 calls \u0060heightIn\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:407\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f557ce8667377cf47d63f0beede10fde5336ca3220a514d0ebebbc21515e56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:314-322 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:217-227 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:314\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac5495939600ab6c75aaca4f3e59f4c7bc9b7eed9dde60893e7f41376924f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaCards.kt:424-434 | app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:237-246 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/GamaTitle.kt:236\u0060 calls \u0060coerceIn\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/GamaCards.kt:422\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c77d95d68f1ce93eed647482c56afd7915fc43ea3d0f651dde9aab193cd8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:522-531 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:534-543 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:546-555 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:557-564 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:522\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b9b1c5720fc83b3e7d92fa65904c852bf6cf1988c0918491491433f579066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:512-520 | app/src/main/java/com/popovicialinc/gama/GamaDialogs.kt:124-132 | app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt:349-357 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:512\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed2ea4cb86e5f053dd2c2e94575011a4fef54f9cc36bb6182c99c783586e1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:155-163 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:216-224 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:155\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b18e79a986bce9c1c8e0d2358849347bb7aec4e113cece89df32cf4d92537a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaButtons.kt:581-589 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:421-428 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaButtons.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f1f14a925b30c64366d0414b4be4f25b5d7e27f85548b957046a148cb35122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaModifiers.kt:406-413 | app/src/main/java/com/popovicialinc/gama/GamaModifiers.kt:445-453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaModifiers.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2c31a4a0100bc0e3adeda3c3b3a595ed5ba7174dc68663be61be58d595b70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:210-218 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:826-838 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:210\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"af78313d888e9369139b9a818731501c99424687d135bc2edf92da50138e40d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1610-1618 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1620-1628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1610\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a526cda6dd6815d0ec13950e32299ca1f1fcc8768dc4d67363739c7b191ed4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:261-269 | app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:308-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt:261\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"82709798036dd8242c73b60396f48fd1076a3025cdcf91c059fc3ec40403b82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:155-162 | app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:169-177 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:216-223 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:155\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5427360b8c8d883d88e2dba7f436b405a5c81c9ca57eaee652c1a332270d2c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:291-298 | app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:168-175 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:186-191 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt:290\u0060 calls \u0060heightIn\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:185\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/DeveloperResourcesPanel.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2166c3c6105c8644303e3e9f8343e2ed727a577b8a374d415442e19c9fd918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1610-1617 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1620-1627 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1630-1638 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1630\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe3afac9f9ac50db67d0714df279b3cbe5737cd85af9e52824f308430ecf526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:309-316 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:323-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:304\u0060 calls \u0060mutableStateOf\u0060, \u0060getString\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:322\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c0bfa47605af860608464cfd2216c83025a2d4d9777a49671fe61a40c3cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:421-428 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:592-599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:421\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30f91d607dac6a5bfd9a3ad45e72610d5df4f57169121fa4f0704aeeae849d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1768-1775 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:1813-1820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2d696c8b928ccec4441d59e15b740165b0cf427408b5ddf187ba40ffdd910d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:103-110 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:212-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff6d3bd55653eea04946fe5cbb4b13fdc2fa66e142928a4a33812bb2c0f04e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:778-785 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:822-833 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:778\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fadc2e1c76a8fb58f9626132de45d4595cc6488c1d16a9ca508c7776545f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:111-117 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:366-372 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:537-543 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3182729c897958d52ac6b239fb2901a7325cf77d931496e32b041171da24545b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:352-358 | app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:372-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt:352\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec40f22b2db270aaaf943c20e71db2fc1c4a098846fb7e57a7acb1afeda6638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaCards.kt:365-371 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:621-628 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaCards.kt:365\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"328e4c6c8d759ccb6ff24831767d85930484a9daf0eb3a37764ec73fe5768456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt:555-558 | app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt:559-565 | app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt:567-573 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt:555\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaMatrixRain.kt"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc69200fae176314b1823661511c45f2b6ae10a8f3bf43d8e9a1677a8f6a332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:791-797 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:835-841 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:876-885 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:791\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:789\u0060 calls \u0060coerceIn\u0060, \u0060performHaptic\u0060, \u0060onMatrixSpeedChange\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:876\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a59d4b81a3f2f3c014f909ddc74471a47d51a1be07993e281e7138fadd7574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1024-1030 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1031-1037 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:1024\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dbe8660556a7f167b434ff6258c3e5989ba851ef56adc2ca7b7cc5f197fc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:276-282 | app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:333-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6594c69007fd67f206f7e75dd26d03b20208dc16d5a0076d050a264a5e92bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:437-446 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:451-457 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/SystemPanels.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:437\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bb5dd269d6d13f633ae691f7ecca06ea029685e7339c0f180c2151b85442ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:503-511 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:121-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt:503\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ActionDialogs.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1570133dbbe1b6debe01e5d4b5e21318a0ee5cbd9c56095efaca3e4e5746e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:621-626 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:261-266 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:621\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b9410c9b0798fcc013ccd9a0759b64a03a5dcaaa107096e26426cbe2d9161c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:667-672 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:751-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:667\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1257e8fe86a1c422316916eff5b66149f9b15937c85a6728d838e764b5ab98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaParticles.kt:209-216 | app/src/main/java/com/popovicialinc/gama/GamaParticles.kt:351-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b11d25968aa265fe55b62b7177a073b5d7d3c1c4973a5cac5df62c0312c0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:778-783 | app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt:254-260 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/PanelButtons.kt:778\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a05445df929dd291c492aa781789589115fe7155a2330f9d9191bda25a771c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:576-581 | app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:619-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:576\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:618\u0060 calls \u0060edit\u0060, \u0060putLong\u0060, \u0060apply\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt:575\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95a7c09bed7f0932042ec7a2b4db60bc6938912f27c628b51a12f2004a1863b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:160-164 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:201-205 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:241-245 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:306-310 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:145-153 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:400-407 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:482-489 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:571-578 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:188-195 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:492-496 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:160\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f660fadccab93d24ed115b6e1530665bf10f1a7fd380dedcd8dd90a924109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:291-295 | app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:309-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"46513cd71df9968def66fccfefc89ecdd19eef5d4b59ebb51682176870a0ecc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:744-751 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:358-362 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7320dd90d2494c700b126112bfc9b153ff8fcd972c8f36397625569782110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:493-497 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:587-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:493\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f5ff83cb8a8cb26a9c1c9d810eb3c5a5e453b038d42536126cca514442b47f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaNotifications.kt:112-116 | app/src/main/java/com/popovicialinc/gama/RendererToggleTileService.kt:15-19 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaNotifications.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e5894b1953c8d95781c2bc646a172460f4405596d37d57d5f45c7e8c64c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:260-274 | app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:282-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt:260\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/WarningDialogs.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3d4f37f9636211bf0023d67d806d0a993aea22ffdaf5a37af9e48e4664c0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaCards.kt:189-201 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:1109-1121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaCards.kt:189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0503f7f9fabc749d8b9c2b8fc79f9bd9de0ba519278410d0c799f1e13b7c235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:421-431 | app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:434-444 | app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:571-581 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:421\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3197e234fc795971e3fef8e5ab5905826554d87cfc5c362cd869524294ba529d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:407-417 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:164-171 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:175-182 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt:407\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae318fa75c23d37af7c83b61ff85e912a4a4c782ee09cf4da4e8d94da2628a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaUI.kt:977-986 | app/src/main/java/com/popovicialinc/gama/GamaUI.kt:993-1002 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaUI.kt:977\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"636fa5f35febd9b74834bf231d1bf036104225dd8d7946fde4fb951f4e7914c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt:126-134 | app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt:137-145 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:113-120 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:123-130 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:133-140 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:143-150 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt:126\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c012ffcde9e3ae0edeb94d707a6c6bc2388846dc0cf3f2b1c6df657ee67f30bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:120-128 | app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt:126-134 | app/src/main/java/com/popovicialinc/gama/SettingsHubPanel.kt:137-145 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:113-120 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:123-130 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:133-140 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:143-150 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:120\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121563b7a03e14461206017aa880b725c7df4a3523cb26afe03f5fadb293f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:112-120 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:367-375 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:538-546 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:457-465 | app/src/main/java/com/popovicialinc/gama/SystemPanels.kt:515-523 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/SystemPanels.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.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":"app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cb1826954d571abc9f65f77ed92061cdeec513fb19eb43c534c88d7cf10b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:606-613 | app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt:246-253 \u2014 before extracting anything, compare \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt\u0060 and \u0060app/src/main/java/com/popovicialinc/gama/ParticlesPanels.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:606\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0ecf5fa414aa31c3c04928116f186da79425c30b9b30e8200dce75832ddb8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:269-276 | app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:280-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaPanels.kt:269\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"614445fc9ed29128b48ca0be1ec8b2116270c031edbff533e2a26608a4c333bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/MainActivity.kt:132-138 | app/src/main/java/com/popovicialinc/gama/MainActivity.kt:191-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/MainActivity.kt:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2534af014be6ce26fad7d87da6c0e067addab0a8867d94de77d0b8742760e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/popovicialinc/gama/GamaCards.kt:682-688 | app/src/main/java/com/popovicialinc/gama/GamaCards.kt:695-701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/popovicialinc/gama/GamaCards.kt:682\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa1bff85d7edf45238ea7cbec3e8857188494c7c2098bd08b73eb4676af8f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaUI.kt: app/src/main/java/com/popovicialinc/gama/GamaUI.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 282 in GamaUIKt.GamaUI at line 119. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaUI.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c66d25331ffebf7aab0511ad5778c85b97a6d7d8df57bec2ef28bae4c4e6fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt: app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in SettingsSearchPanelKt.SettingsSearchPanel at line 371. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f5987ac019c980c2f03f506fc3e1bb591c0346692f48c886611e36930be20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaCards.kt: app/src/main/java/com/popovicialinc/gama/GamaCards.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in GamaCardsKt.RendererCard at line 623. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaCards.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50eddbbb94e6a78dce703c6371add19918714e75d0a825acfa83cb0b97f70a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt: app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ShizukuHelper.applyRenderer at line 378. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab2920494cd3161a74dfc1f7389b05d8e4c66cf8e859ba34b8080d071b5990d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaParticles.kt: app/src/main/java/com/popovicialinc/gama/GamaParticles.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in GamaParticlesKt.ParticlesOverlay at line 434. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaParticles.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b231be90af15f092b9d955ac6361314e2feecae76e29d77cb3a2ba1be24e4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt: app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in GamaPanelScaffoldKt.PanelScaffold at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanelScaffold.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be737aba7a8b6419bf8ba1cfd67095aadcfeec156381b9d0c26deecb3de8768"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt: app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GamaIntegrationsKt.IntegrationsPanel at line 112. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaIntegrations.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91d496ee9f78f92223befe2e9617aea1ced321ca100e91811f3fead981bcdc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/BackupHelper.kt: app/src/main/java/com/popovicialinc/gama/BackupHelper.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BackupHelper.import at line 144. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/BackupHelper.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/BackupHelper.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb222de3ae6b343eb4162c0b0dc86bb2806021a8787d901d8dcb44acd407fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt: app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in InfoDialogsKt.EasterEggDialog at line 385. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/InfoDialogs.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"99706aebf883dfc7bedf5602608e6285282dc1d0d7f37c320abb96fbfcb1222a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt: app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CrashLogPanelKt.CrashLogPanel at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28fea34878d57ab96e0043108e5aede9726bf5a592045b2070e55015e3a425c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/PanelButtons.kt: app/src/main/java/com/popovicialinc/gama/PanelButtons.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PanelButtonsKt.floatingButtonGesture at line 309. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/PanelButtons.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/PanelButtons.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"837d401f41c9a77b6b98aa046eec4e6c0975b09fd8b7337e9467de58670a6a51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt: app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in GamaSelectorsKt.CompactColorPickerCard at line 296. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba2a8b0e01b265210820acd51b355e85d206fb2b7c75943ca40c120a94a9b60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt: app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in HapticsPanelKt.HapticsPanel at line 285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/HapticsPanel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"107cf9ec8f4dd67de9d241b0ec033c391711a39abe2d75ab1f0d73d4f846a675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/popovicialinc/gama/MainActivity.kt: app/src/main/java/com/popovicialinc/gama/MainActivity.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MainActivity.onCreate at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-21..2026-10-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-21 19:05:53 \u002B03:00\u0027 --until=\u00272026-10-19 19:05:53 \u002B03:00\u0027 --full-history --no-merges -- app/src/main/java/com/popovicialinc/gama/MainActivity.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e509a59317eecd1c64d873cdbcc7524ee1fd925ccbae559d403ecb3265b48f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"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":"7b9978a06677d90e194413d83c6be177f9830ab666815136be944d0c50e7032e"},"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":"a9b044d37dfcf12aa1d6837f3f19217865cbbc6e406bef8fc3c1253dd7ef0441"},"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":"f7f1347b3737c8fcac183e92d3fa902a3b50d924c2a428c040ca60ce20afa154"},"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":"52d8255915b5f563ba1baf959461609fd644f695b5fcd52da777b2cb18394ac9"},"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":"c9a27dd32ebb4b7dab352ad6cfa60b8b36a67496950ad5703445bd886c6656db"},"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":"4425c6cf7846c6e87a3dff68cce5d126b5280835203f6b56fd4cac2393285118"},"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":"8020d6835c2e8020ea1db9778b96400ba3cb50ade270f1f35a1f5b4ea6e968f5"},"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":"a8ecd890340eef4660b6fd5aa92f4f98bd0ad6922482462983f7fae1f10febe5"},"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":"411bd90ae4a45f5bc2ada5e50cb1db1f9fc38f89bc32e2efde2bc47d532215aa"},"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":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b77b5a3f98f3a005dcd47e09cef4052edc1024509c65b0ad78f4997a5fc07263"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0a31a2d3baa890d9e4771a40f6aefb26957d2f25f640ceacc222a98c556591f"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"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 2 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/android.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060app/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170fb04fe78176a33c2b44461eeb0bf2839b74c80362ebf7185e17a3b446ff7"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Shizuku.isPreV11() \u0026\u0026 Shizuku.getVersion() \u003E= 13\u0060 appears character-identically in 2 files \u2014 app/src/main/java/rikka/shizuku/Shizuku.java, app/src/main/java/rikka/shizuku/ShizukuBinderWrapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/rikka/shizuku/Shizuku.java"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ef9383f854c676346f0d2b1b7b71c619c218eba2790ddea9feb9dcd4b391a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shizukuRunning \u0026\u0026 shizukuPermissionGranted\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/popovicialinc/gama/GamaCards.kt, app/src/main/java/com/popovicialinc/gama/GamaUI.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaCards.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"916fcd4a202c8640ea6d830cc3659467832f41f64dddf7856b2dba563a2e6ec4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060useDynamicColor \u0026\u0026 dynamicColorAvailable\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/popovicialinc/gama/GamaPanels.kt, app/src/main/java/com/popovicialinc/gama/SettingsSearchPanel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaPanels.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3c2389cbeb8c9a7b3426455dbff513cc46ede1200d4405e16830556cf64c04"}},{"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":"app/src/main/java/rikka/shizuku/ShizukuProvider.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c04a7c260a3dc617ab4b103db41a850824eb329f36af6288855e08e88df92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68391fdf775622926cb8a421ffd24e05abcd42a5162b277e31e88a8a95e8ca2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c243767b49be2ee926dbf29f16be777d4c6301be51f5237fa8e485baa03d175a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaHaptics.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c126d4f933172bb0f6172ea95e807cf312d9b588ead2a71f336b97f2b51dfce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaLocalization.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e7c33f529aabb23cc3ef7a83bcdf8e3dda1655244fb354d5141b03005e55cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaLocalization.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc177839b01c1d5f415f76b8e7c58a9ff258d3c7b8cac81b1a67c708baf34d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaNotifications.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd818fb9cbfeac197eed944219d5bbfcd4ea8934bddfb4ba9203d00f4a924560"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6407269489975f07a23c81b4fea00c0e049c0176679ff4b9b550034a6ba85b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604a7b067d1534db8ea8b22192bdc51b6b4cdc23552d8966e6cc3d67b26d638"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab93b3e23b3a7a0b459056daa510b79dd56ed83131e54d92bd0489834130542"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaSelectors.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6ca6647039a7677ad4384797a03a0513df98b79234a90e5a7fe447f017002"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52141e5c8094980f6bf867ec2f949f98e8ba4c4b9bf8c63e2da2d16f2590cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaTitle.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4325bef7756b9089bea780cd4078d17204f9458d4baac398d23c26b5b9dcb85a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ab7ab8920fa285180539e44f53b30821181bda76f57cd9b4b575d73fa9d61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaUI.kt"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff958143a3f65bd85d076a3eff6d1f420b9473bfa2ce6ce7f32fcfe9bf76368"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e762ef1e40e603d0b3c32b9e185b5848a90106857878c5d851bacf725c7aba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/MainActivity.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ffde74eb246d33e8a09c1be85b82f22e8605150780a80fbaeac20ce242a377"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"015c3fcad3a865f696b58ef58727e5d6713fe942e8bbeba17cc9f960c2a4c97d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa83e848d15fe296a21d1ca48d1e0d58b1f5f0236b0c06358ef6997f05feb0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2044c9ac454515033aaa588d791f1198960dc653c6dba41c0dc1553c38d0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01f860927430f76e993363f8acf8e67f773818d5b6a7e29288488e004dc5cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"075d75b51d3bc52c4c384b2d690440da67dc310a4458d7c3e577db53d0ae93ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"972e3b3a0d60f416d46ad8d1dc76f6d649899cf4f3e7a145e118f056729bf938"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65aa6a8479ab36c4ed774968e91bee1d74a3b8e54398e5befcd904755bd0405"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d470ee5779483efebbbfe86de8079d86f55657a0dcf396077c71207bbc907f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99c20850af74fcdc12f9e6d4eeabb21c7512c7f295f5b18c7159cf22255d9f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c55609a88aea92705df15443b23cd9498aa0966700935f30b48c7175b0c4fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd41e66bfa81c00e341523d2c2bd78120a73f09cd8696bb9c3573d72c2913c48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0569e4bcd1347eb788df3169dcc8abca4c9b0bef276b4957bbc5d1d7fa7b830"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebab090f950a8989c932dbf4f4bb3077e938aaeb26704bf808b7e9aed0747b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"563755d528047a38fd8e78da69c53a124e53c472d9dcfa7c71fd7c1ad71cd36f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SupportBundle.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"992c7fa4935aa2c6454730f5af1f175048592668865084252fa1d29e55fe8246"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/SupportBundle.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b632eea32f29d7966725ac8ad152c6b95ed45efea8e1329ab3558b55763a83b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CrashLogPanel\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/CrashLogPanel.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5a1c647dd7765e930dc5b3efc8aee173e468c3592e27412597959c7029682"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLiveDisplayRefreshRate\u0060 swallows every exception into \u006060f\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/GamaParticles.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2570c30c424b66f5df163a30357bfd18ba03b140f2046a91bc0be8858d0a3ee8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPackageNames\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86846bcc6ebd52b0198ad2dd080db3d774d43a7c63dd59d33b0ed22ec4efd9d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchCrashLogs\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/popovicialinc/gama/ShizukuHelper.kt"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26d0620710320885e0aa92655fb4d7004e9c9284b5056f8d98e0f0b23c405bf"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":15,"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."]}]}