{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"18.onClick (cyclomatic 47): 18.onClick has cyclomatic complexity 47 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e02d6d3a1853c992a572fb74f0870d2da378c836bc6f302972f18d988cd031"}},{"ruleId":"D1","level":"warning","message":{"text":"18.onClick (cyclomatic 45): 18.onClick has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"925ef12d4da4aaa3a8099f8ad167f0b620bb80887de410a6a2ef5eb46868a293"}},{"ruleId":"D1","level":"warning","message":{"text":"18.onClick (cyclomatic 42): 18.onClick has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a964dc8912778900b38cc1810868981768cac4bde85a1a14b9c30eae20e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"12.onClick (cyclomatic 28): 12.onClick has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/SSH.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8173aec05b9ed98bd71ac58d4f229c52b0edab4e5a9bcdfa15a839eeceaddf"}},{"ruleId":"D1","level":"warning","message":{"text":"MainUI.onNavigationItemSelected (cyclomatic 27): MainUI.onNavigationItemSelected has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4592a9959cf5db830e7b986bd47e4ccef9cea4767db72c407a38b9aaaee46d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"15.onClick (cyclomatic 27): 15.onClick has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"29755e9023785966d3c5cf1cb6849739797223cabbfcde046a9f6c53b7698835"}},{"ruleId":"D1","level":"warning","message":{"text":"MainUI.onResume (cyclomatic 23): MainUI.onResume 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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb9d14ba106ae47347300db5ca2ad2ff41831070d5400f7065c76308886cbb8"}},{"ruleId":"D1","level":"warning","message":{"text":"3.onClick (cyclomatic 22): 3.onClick has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b6cf4ba4d7fd66da847b7ce642ac47ed3856605010600fd121c3e00a5a3215"}},{"ruleId":"D1","level":"warning","message":{"text":"2.onClick (cyclomatic 20): 2.onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"046bc0cdae434f7126a53fff523663a38117b03672f5334976e6c9652fc81345"}},{"ruleId":"D1","level":"warning","message":{"text":"12.onClick (cyclomatic 20): 12.onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c7c3b3616b110442eb2395531707bcf8be2939a7e17a34dff51a0a4418588d"}},{"ruleId":"D1","level":"warning","message":{"text":"2.onClick (cyclomatic 19): 2.onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d73d7a6268add466a0a2ba89e080535d2806fecf408a285fda3e907bb6e5f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"DashBoard.notifyUserToChooseDistro (cyclomatic 18): DashBoard.notifyUserToChooseDistro has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab10b645fb157329eb8586f07ee49b4060fd556a6d19dc1720a690f9af245ce"}},{"ruleId":"D1","level":"warning","message":{"text":"MainUI.onKeyDown (cyclomatic 18): MainUI.onKeyDown 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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0f39097f8220fd745cc3854fce44fed95ae13cbf88d43d1ab51da06f1b6893"}},{"ruleId":"D1","level":"warning","message":{"text":"1.onConsentInfoUpdateSuccess (cyclomatic 17): 1.onConsentInfoUpdateSuccess 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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f3fc4d7b9237a3c426e186b9ff81ec65f08e453939afdcdacd05f15fa248da"}},{"ruleId":"D1","level":"warning","message":{"text":"1.onUserEarnedReward (cyclomatic 16): 1.onUserEarnedReward has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"20324967945394c27116170b5014b84aa19c94bb9f6dbaecd503661f552907c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Uninstaller.notifyUserToChooseDistro (cyclomatic 16): Uninstaller.notifyUserToChooseDistro 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":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fcf325e23774e1c376650b4ada0dd9c294500682f1fa399b3ca49ea24737fb"}},{"ruleId":"D2","level":"warning","message":{"text":"18.onClick (cognitive 62): 18.onClick has cognitive complexity 62 (threshold 15). Drivers by points: if/else 45 (62 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"242ac1bd08c4962e79f113e663deea468d7614b876059491ed35dfe7fe08c159"}},{"ruleId":"D2","level":"warning","message":{"text":"18.onClick (cognitive 60): 18.onClick has cognitive complexity 60 (threshold 15). Drivers by points: if/else 46 (59 pts), boolean chains 1 (nesting depth added 13). 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e522533c845e72da5cd876d7397f38cb48ee1e495d246b6b340bc90c3df502"}},{"ruleId":"D2","level":"warning","message":{"text":"18.onClick (cognitive 55): 18.onClick has cognitive complexity 55 (threshold 15). Drivers by points: if/else 41 (55 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":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc441bf6f3340077f152dce05c867c6256737a157c98afd81472bc5a7bbb0777"}},{"ruleId":"D2","level":"warning","message":{"text":"MainUI.onNavigationItemSelected (cognitive 40): MainUI.onNavigationItemSelected has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (40 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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a8bff934203c54e89e2146d6c116717b8377f6d37ee06016762af2f202d61c"}},{"ruleId":"D2","level":"warning","message":{"text":"12.onClick (cognitive 39): 12.onClick has cognitive complexity 39 (threshold 15). Drivers by points: if/else 28 (38 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/SSH.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b2901a7418e0df7a082a5968e5c09d565458fc393f86cb947363ec4c48990b"}},{"ruleId":"D2","level":"warning","message":{"text":"15.onClick (cognitive 36): 15.onClick has cognitive complexity 36 (threshold 15). Drivers by points: if/else 25 (35 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd080c8004f9d70504c6cb43f8b39183b340c2aa955d20625ef978dab3bbf4db"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onClick (cognitive 28): 3.onClick has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a27c97befcbcfdd6a82295196c658d64cccccc3e63e77ee058061902efc09d9"}},{"ruleId":"D2","level":"warning","message":{"text":"12.onClick (cognitive 28): 12.onClick has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66c6fc87136400d34bc586e8326c527b709f2162e7e193054330339b03d5e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"MainUI.onKeyDown (cognitive 28): MainUI.onKeyDown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d87a05083c6f5f45f5d1ffaadaaaa727ab8def02738340932373eea8a133888"}},{"ruleId":"D2","level":"warning","message":{"text":"MainUI.onResume (cognitive 27): MainUI.onResume has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9725cf9c44175aeb0743f1c32f0c5b91520c470b0fd9107ebddd2718e9862a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onUserEarnedReward (cognitive 23): 1.onUserEarnedReward has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (23 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d66eca4dc0cfb3959ba7a6f06face9fc81c233a269ede473c405a9a31f323dd"}},{"ruleId":"D2","level":"warning","message":{"text":"2.onClick (cognitive 22): 2.onClick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43be27801df8cce99aa4867553afaefd3333fe11fbfa07e912b08b95df1876e"}},{"ruleId":"D2","level":"warning","message":{"text":"12.onClick (cognitive 21): 12.onClick has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4f53947adec09f3300f2961f7b130511bcec2bca3ad7997a3b45253653e766"}},{"ruleId":"D2","level":"warning","message":{"text":"2.onClick (cognitive 21): 2.onClick has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e32a83a03f63001cff6f037f9154b56f3144170c3ec4b7e61ae8171496d5556"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onConsentInfoUpdateSuccess (cognitive 20): 1.onConsentInfoUpdateSuccess 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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffb5015c73e1e96de3f37a9825e41ea50b473b580629952071f4cd8539a3998"}},{"ruleId":"D2","level":"warning","message":{"text":"2.onClick (cognitive 19): 2.onClick has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/SSH.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b89eed8799cea626605325b7e46956d29ed40419bffc39674a1e8170eb09a5"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onClick (cognitive 18): 3.onClick has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e05d29e16041e5b1787116193d0be4198852b577788a3ef75c52e05fcf9152a"}},{"ruleId":"D2","level":"warning","message":{"text":"11.onClick (cognitive 18): 11.onClick has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"76640ecb0baf1b37409ceec85b2525c1604a2989e113cd8c3eb9dc62eb938ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"DashBoard.notifyUserToChooseDistro (cognitive 17): DashBoard.notifyUserToChooseDistro has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c7c358b1bf39f349ccde9452d333bbc2abeff176b46d22787281347c2e2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DashBoard.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 415 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 315 over it, 4.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61222189ee28c067183633d3eadc60a077317d409ee5e6ca9c1c549b1afb88d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Uninstaller.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 398 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 298 over it, 3.98\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":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"173f5c121a025eda5dacec137ae2dc6ea88e69fcc5e0f68c7c1215bd31186066"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SSH.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/SSH.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7db19c38fce385ded9b0e018ea76ab0f0746db41bd166c1e24f190a27d5f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopEnvironment.notifyUserToChooseDesktop: MethodTooLong \u2014 notifyUserToChooseDesktop runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dbadf45ce07bda62960a286d8f8281d07eff753b4dc1105c984c980dea3741"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainUI: ClassTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 334 over it, 1.84\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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79162dae4c2216fe21c2272d4b08e011e74903bf31b5beaee19db74e3edc2fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopEnvironment.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7326b18b26a71b69eb2c3255b3d0a626957f3c270dc1a7ce011f879f94cccf00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashBoard: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 241 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299c68b95639106f5964d808cfd98a5af70dfd6d0cccd28b3023f86e1d6ff0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a/MainUI.java: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MainUI (65-1074). The bar is 500 significant lines; this is 292 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b9222297ef6c42b16765b773b88bf7d603930867a840d09106d49bb902daf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Uninstaller: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 186 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187e784d18570cf1dffe6beb37b9af28108eefd3c073917279077f8f9e7ebd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowManager.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6001d47755473d7c6b2daa05d5c2f2ca19c7e3867d7210a457670d5188cf239"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopEnvironment: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 161 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968c6e3073aa8d51c24e7abef02a75c490e535ed731ea67c62cbca082247cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a/DashBoard.java: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DashBoard (39-806). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5fca7eafb8cc10243a9821b4727ac5dbad650ec11fde203f27989e9eb29fca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainUI.onCreate: MethodTooLong \u2014 onCreate runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ab6bd3cfd3e01d775c889862526b37a571241ea9d391ad284f4e373d8c6e71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a/Uninstaller.java: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Uninstaller (39-738). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b02e42265c177ca91f4318b4e327f926ae1cd0f200ab2abb7570538474ce461"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: 18.onClick: MethodTooLong \u2014 onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b6996d0923565f6f2e7cb5ada9d9c42526b2fdfb7d0ee149d5b0a2bbe7cf0f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: 18.onClick: MethodTooLong \u2014 onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2ca22042b60179c880700556cdc9a632f54b9ae57f92a16b614130c299410"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeavyDE.notifyUserToChooseDistro: MethodTooLong \u2014 notifyUserToChooseDistro runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"235450b81cfb2236104b063c25d53bfa7ba1ebaa5f218f38f19450270a7441a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a/DesktopEnvironment.java: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DesktopEnvironment (39-735). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e744d70a164c8ace95dbe4842539c993e1cfb1a7b5b57e1d74b1ff0298b4b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: 18.onClick: MethodTooLong \u2014 onClick 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":"AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf3ee4ad75533a239875fac6567fcb0e2cb380a2a506c712467e2b497b7ada"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopEnvironment.onCreateView: MethodTooLong \u2014 onCreateView 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b01a2151e102aa92658bfe623afa480b92edbcfa880533b2f941541618277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DashBoard.onCreateView: MethodTooLong \u2014 onCreateView runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fa41f197af9cbf58d4b4240669b484d9ea2ee3a758f21d6068496b33fbc1f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowManager: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d64b90b7f92422a09c4cba0104269250dc0519e0c21feb36a0cbb05f389fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 26 shared lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:62-196 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:62-160 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:60-148 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:59-165 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:62-171 \u2014 These 5 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98fdf6561aeb8cd3773b5c08e2d18d49382aea1401ac4ba4fa312ade30a7b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 89 shared lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:188-658 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:197-404 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:166-405 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:177-628 \u2014 These 4 members are variants of one another: a block of 89 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35540fceb0902f9745df5a1a3ba9e150ee410b69b440b8cdfcb9d6d2cb33799"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 48 shared lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:60-187 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:59-165 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:59-176 \u2014 These 3 members are variants of one another: a block of 48 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a46ba2bf33040d4734e0bd1c7a15c2486e7c0b9098586554546c0fe4b6e9b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 32 shared lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:111-172 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:104-149 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:103-161 \u2014 These 3 members are variants of one another: a block of 32 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"42df4d28e766ece54dcec60fd619f2f2af96d6b10d0cfdee0d4816cb1fa24003"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:316-396 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:267-336 \u2014 These two members are variants of one another: 59 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ebf827f9a6e3236a46bb9595987a82d6428ac59769b377c2b81618d68c5293"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:775-805 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:704-734 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:446-476 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:939-969 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:303-333 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:484-514 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:234-264 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:707-737 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:536-566 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"13375badb3e20598544589b6520c2b2e8d6822796a995b373d01e8f8e0776fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (173 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:197-404 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:172-344 \u2014 These two members are one piece of code written twice and then edited apart: 173 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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4e0a483b7ff603e01c464b4f6c3566dab50938b527b9fb479fd065922ed0e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 36\u002B corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:659-694 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:626-661 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:368-403 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:225-260 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:406-441 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:156-191 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:637-672 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:458-493 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 36 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9104b06213bb2ff8b0dcb3c6090d3ac5048482badea315dd9776f0cc0aa3f9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:848-896 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:116-155 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b6ad5fe7b8342f349034c86cdd1972a0df8ebf8af8f35b48343ea4cb12fe0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:32-60 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:32-60 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02beffa8a8b99c8d2fe74ce1729d71e433e730539c7a646aeb61cdd9e40816c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:705-721 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:722-742 \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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"875e6874c216186bf20f5d93299ecaa8fd4456aa913aaa6608738a367ea1df37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:732-738 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:914-920 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:128-134 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75629baea80a40b12e741414f69a11c6f99a5543eaaeb311869a4d1cbdbd630"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:888-894 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:147-153 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5153cdf50c0edda99ad3d3d7dccc29b153eec687665622450a37e03496695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:231-238 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:203-209 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eccdda645f4431b4073b2589fdc97f4d28a667807f720f135e9d978a3a80ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:242-249 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:213-219 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"913714305179183548f08ad5935967de83ad67f9f74cabc1564faa9bc7a4041f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:253-260 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:223-229 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0159013e078085d5c360f863bcc89fbfbbd5ee260c0be6153003299067e0a0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:264-271 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:233-239 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c407e7d093352087bff3002e998207d54065ba7a6c8aa2b6b82c53ee98888b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:275-282 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:243-249 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2936f547e7258956f70d7b209f9bd155d3f44a0ffc241c60bde627f971cf793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:554-600 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:533-579 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 516 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:554\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d45638afa1e45fbedc8bfe7d2880215e082169dcfb35b47f80396894aa3606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 9): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:777-805 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:706-734 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:448-476 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:941-969 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:305-333 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:486-514 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:236-264 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:709-737 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:538-566 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a9671ab9ebf459a0e31136a7f00e0d3e2138432d4333d9fd73d7da67538d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:91-117 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:84-110 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:83-109 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:91\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c61aae166fbf27c5d76ea8e124b29823321449aba4948ff34ecb67be097ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:218-244 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:326-352 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:705-731 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3af364de9594deed3fcbf08c19aa0a5cca005171d8a9b7dc4652df8339b920a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:510-534 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:310-334 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:492-516 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:536\u0060 calls \u0060notifyUserForNethunter\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:517\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"423fdeb91e05548ec450f3136a284ba9c25958a6940fb7d97c5172b7b7b81f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:539-562 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:336-360 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:518-541 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:539\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e72c9840706ced9b569910738ddbb33ea8be4239b4a4e996b8cce0d44bdc5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:142-164 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:134-153 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 516 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:142\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"592a3b04511dc4e7aba33961c22a596e91192fcab14ec136d67522157e04f03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:483-502 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:472-490 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 516 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:483\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb583b0f306e76e5aec9c666b99c366184730cf88e4ae7e55dad276e343b5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:99-119 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:100-120 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 308 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:99\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ec0070dce9b1cdea3c0bf366ba1dd0ed59f255eb479bf77ed2ff7cc68d9337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/Patches.java:163-179 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:359-376 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/Patches.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 184 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/Patches.java:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/Patches.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4cba98ec3b5dffa915f388be6f7ed74bdad260ed80a0f895c3fc5850761354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 28): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:242-258 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:260-276 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:278-294 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:296-312 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:314-330 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:332-348 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:350-366 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:368-384 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:386-402 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:404-420 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:422-438 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:440-456 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:458-474 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:476-492 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:231-247 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:249-265 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:267-283 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:285-301 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:303-319 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:321-337 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:339-355 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:357-373 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:375-391 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:393-409 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:411-427 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:429-445 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:447-463 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:465-481 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 516 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:242\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ace198ae1687ab0d2ed70d8ab47c3a8a13e0b5e6393cec47711ffdd21efaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:299-313 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:290-306 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 286 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:299\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5c597f826bda40044299e2c77fc862cbef460d3a66576f174e2146fb433fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:233-248 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:221-236 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:193-208 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:222-237 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:193-208 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java:210\u0060 calls \u0060setChecked\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:238\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a4ff9ff2dae38a8162ec7d2135e8115375d44fcc4e1b410d5af49fdba8345a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:74-89 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:74-89 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a733e8d6cf9b87443037c8b20582254c944a8091efc239647c30fc0d041b553e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:680-694 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:647-661 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:389-403 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:246-260 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:427-441 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:177-191 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:658-672 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:479-493 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:680\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"e464df3d95b8bfd78666c9c26b32979c0ba426448ef69330079ef13bb5bf86fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:675-688 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:642-655 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:384-397 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:638-651 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:241-254 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:422-435 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:172-185 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:653-666 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:474-487 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:675\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:689\u0060 calls \u0060termuxVersionCode\u0060, \u0060setText\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:652\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a096ed390fa8303acfc0fde62fd379067da64c19b57d47a6da0981f2e43def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:166-179 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:128-140 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:143-156 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:155-167 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Patches.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 168 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:166\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"903db986da0476b028738ff8f9b133c2a2d2f3cfd0c704e6b87545c7f4088f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:120-132 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:135-147 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:149-162 \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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f80704169cf6c3c380d3cd6a7a2e74e2a75236f51270e52116409452e0aed2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:174-187 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:138-151 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:149-162 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:174\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134a4bfcfea28889e65ab99c5bb8238ef8b8b042f2a749aa6dfcec1c44199d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:42-55 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:42-55 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Wiki.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 63 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:42\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":"AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ccae92f5479a20787636c05252bec9c01184447b0e00f341cb72bbbb9c5540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:669-682 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:636-649 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:378-391 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:632-645 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:664-677 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:235-248 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:416-429 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:166-179 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:647-660 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:468-481 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:669\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ec0d85da523fcbe34c3d3a7bb3007421d03f3ccf41f79c4ac79f3ae04a52d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:176-187 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:184-196 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:148-160 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:137-148 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:153-165 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:164-176 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:159-171 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48189328a3561ba5b3ee491a77cef79763257f83ad7aad2682b9a0afa405b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:512-524 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:539-551 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:312-324 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:494-506 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:512\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eb332dd55d6661cd6246bc2594d8b2a55e9811111d4561f4f0706e7fd6a582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:262-274 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:299-311 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:866-878 \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 \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:262\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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f325573fbb7db1d7fea2b60dc690f8e065e1461bfaea7a0a26a74e85860ac1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:67-77 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:67-77 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:66-76 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:64-75 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:62-73 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:67-78 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef95031e78a5fee7d2e57ea8f04ffb220a730b561727be6dc7e9c7611328548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:167-178 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:131-142 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:136-147 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:167\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412668bdaa278959196745b4ab8df803307020f2976913376db6314dd1931f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:879-890 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:919-930 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:138-149 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SU.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 77 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:879\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:931\u0060 calls \u0060getButton\u0060, \u0060setEnabled\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:891\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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"2941d4e866cd8e210bd0bbafb7f58031264516f155de7170aa1391f040b4256b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:392-403 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:190-201 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:392\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d88932b868aaa8f31fd5e0d8609032bc872566fae1aecb5894e0aeba7256b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 33): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:250-260 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:268-278 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:286-296 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:304-314 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:322-332 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:340-350 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:358-368 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:376-386 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:394-404 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:412-422 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:430-440 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:448-458 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:466-476 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:204-214 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:216-226 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:228-238 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:240-250 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:252-262 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:264-274 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:276-286 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:239-249 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:257-267 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:275-285 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:293-303 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:311-321 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:329-339 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:347-357 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:365-375 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:383-393 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:401-411 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:419-429 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:437-447 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:455-465 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:250\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"841ccb11ee99b5c3a79e8b5e18c60cd9cbc8c88ba1c2f33e1adee90118e0e0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:230-240 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:241-251 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:252-262 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:263-273 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:274-284 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:285-295 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:230\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"835c4b0bec3910570bd57481e5d0e03ca03415b42ab56a00ba2d617a5eeb7c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:590-600 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:351-361 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:569-579 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:590\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5c71707cf33b171c31b2e96d0e425352a1cce588eaa85d69fe9be9b96659c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:299-308 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:290-299 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:254-264 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 286 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:299\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:298\u0060 calls \u0060setChecked\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:253\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9035a2d116e46e6fb7d150de127dcc984382dde218f98b1d31f920060064721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:189-214 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:178-203 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 516 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java: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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b97d5a63e08ee2b47f71a6eacc760ef17f6fb3e44b70239e723bac9cadad958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:312-322 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:263-273 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 308 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:312\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c75dad586ba1656368d4f859c656ecc67ef9efab8b6126c83de2d344ace84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 46): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:254-263 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:272-281 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:290-299 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:308-317 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:326-335 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:344-353 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:362-371 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:380-389 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:398-407 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:416-425 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:434-443 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:452-461 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:470-479 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:235-244 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:246-255 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:257-266 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:268-277 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:279-288 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:290-299 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:437-446 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:233-243 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:208-217 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:220-229 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:232-241 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:244-253 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:256-265 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:268-277 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:280-289 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:243-252 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:261-270 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:279-288 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:297-306 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:315-324 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:333-342 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:351-360 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:369-378 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:387-396 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:405-414 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:423-432 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:441-450 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:459-468 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:206-215 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:216-225 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:226-235 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:236-245 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:246-255 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:254\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:232\u0060 calls \u0060setChecked\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:436\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75ef8cd2ac4211c1a59c6bcff028e869a4de86ccfeba8bdc21ac3937bccd638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:164-173 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:172-181 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:136-145 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:126-135 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:141-150 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:153-162 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:147-156 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:164\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa587fce4d86d2779fc6d9f520b23f0a6ed9abc8760dec2e85ba511f990b6de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:485-494 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:298-307 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:289-298 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:474-483 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:485\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java:288\u0060 calls \u0060setChecked\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:297\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8abec06fc2198c34d5d4433210b6a746a796d3603578f71c3a461162e1c534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/About.java:44-53 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:84-93 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:76-85 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc860696f6c48efbfc51fe751a6eade92f570cd73b768946a190ce6f968d6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:148-157 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:123-132 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:140-149 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:148\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java:133\u0060 calls \u0060contains\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:158\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fab1465af55ffee726fdff08cbf9d031ccf5cbf37b988f740e44bc3803957b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:85-94 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:85-94 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:86-95 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfbfffe4b5a0f3bb3a59560f271d07b90fbd2c52f2da433f38a9b61a82a5583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:395-404 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:193-202 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:335-344 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 259 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:395\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3e232769019815e5aff2dc8a348e2067a1221df76e8a03d9377f43aca421b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:616-625 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:396-405 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 286 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:616\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a22464d08b0dbdcc5c472eee79a3acd8d8ffe73d30560b145392223a30282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:358-367 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:448-457 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 229 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:358\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":"AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c9492ece2a6f6779f1f9486211f5fe9fbb56bbdeeeb8b16ade0c758b10d3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 43): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:241-249 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:259-267 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:277-285 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:295-303 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:313-321 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:331-339 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:349-357 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:367-375 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:385-393 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:403-411 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:421-429 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:439-447 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:457-465 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:475-483 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:229-237 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:240-248 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:251-259 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:262-270 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:273-281 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:284-292 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:295-303 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:201-209 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:213-221 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:225-233 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:237-245 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:249-257 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:261-269 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:273-281 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:285-293 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:230-238 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:248-256 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:266-274 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:284-292 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:302-310 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:320-328 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:338-346 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:356-364 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:374-382 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:392-400 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:410-418 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:428-436 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:446-454 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:464-472 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:241\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java:210\u0060 calls \u0060setChecked\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:238\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7bcb0525204fa97d83bf11095b7e2c1202abb782ea336b6ac65a7ef380f5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 13): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:317-325 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:329-336 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:340-347 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:351-358 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:362-369 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:373-380 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:384-391 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:268-276 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:280-287 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:291-298 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:302-309 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:313-320 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:324-331 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 308 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:317\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c89d4f3b7381dcf1aa791a69c5a18d117c0e2e71f2c501c5ecc52231b59b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): AnLinux/app/src/main/java/exa/lnx/a/About.java:41-49 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:81-89 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:72-80 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:72-80 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:71-79 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:39-47 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:70-78 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:68-76 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:73-81 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:39-47 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:73-81 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java:52\u0060 calls \u0060findViewById\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:51\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":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a51e8b0369aa8b40978c9e885385338278e2031ab69dff2ddb0b24131989b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:208-216 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:210-218 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:180-188 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:197-205 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:184-192 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:208\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8046ee7c8c9419ed48956ed48b47126a5967321d9a0cfebd8cdaf09f488076e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/About.java:72-80 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:52-60 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:52-60 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"677e17ef63f0b17da85dff326e673d0e3b433fc0fa4907ae8e5274d062dace20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:121-130 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:119-128 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 207 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:121\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":"AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0748534204a12d3e59c32c24ac3ccdf4416839b6ca4d005ad6fc30efa446dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:688-696 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:769-777 \u2014 both copies are in the same file, so extract the block 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, \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:687\u0060 calls \u0060donationInstalled\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:768\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":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"17faeb2a7485997aba49b105f334ee5d33281fb5ee0867e9056e390849d584bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:164-171 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:172-179 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:136-143 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:126-133 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:141-148 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:89-96 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:153-160 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:147-154 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/SU.java:98\u0060 calls \u0060showSUDialog\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:172\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2623598030a34f426e2ebc1277069a31824bf3e62c443cd10c064c079ce46270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:211-218 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:213-220 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:215-222 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:183-190 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:200-207 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:187-194 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:211\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:208\u0060 calls \u0060setView\u0060, \u0060setCancelable\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:212\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc28c517095ef9df9cb186d29f298f27f45647ede807e6b3043ba492946def3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 5): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:113-120 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:154-159 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:106-113 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:105-112 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:146-152 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:113\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"138651d626777bce4b10566cb76f0311858948fb58626ce19408a2c791398056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:623-630 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:655-662 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:755-762 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:796-803 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/MainUI.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2d05608949cad1b72f51ce859b8b15dd0e95eb7f8f602d06d49b5c17cae1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:121-127 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:130-136 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:138-145 \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 \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"87acf6201f2744335f1dfa83fbcb2150c0423ec9a1eefd3cee3ed42ed7a3a354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): AnLinux/app/src/main/java/exa/lnx/a/About.java:56-62 | AnLinux/app/src/main/java/exa/lnx/a/About.java:64-70 | AnLinux/app/src/main/java/exa/lnx/a/About.java:72-78 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:52-58 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:52-58 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java:56\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":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"352335484dc99dffe1273a2200561eb36dd335ca2ceeea0c10ddaa055ac8d6c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:508-514 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:313-319 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:308-314 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:490-496 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:264-270 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:508\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java:307\u0060 calls \u0060setEnabled\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:507\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"680f15cce74a83da6ee837988f32243cd3bae210847c6d4be3d3a70c55733684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:709-715 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:726-732 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:626-632 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:799-805 \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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:709\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"a732d368a513ab457a34441c2c122897f11c65944010e3ca165621d33d72253c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:660-667 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:706-713 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:723-730 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:627-634 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:369-376 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:226-233 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:407-414 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:157-164 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:638-645 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:459-466 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:657\u0060 calls \u0060show\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SU.java:154\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b366fa3e5ecfe1cf9be4df394cfb9a9de5f7138ce8ff34a5aed80f60139ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 6): AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:389-392 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:394-399 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:402-407 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:410-415 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:418-423 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:431-433 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:389\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":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cd93836fa0599fb270158d89ae8e14d66aad8ee433cdb46e95fef329a9170d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 7): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:507-510 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:522-525 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:532-537 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:546-551 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:560-565 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:579-582 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:593-596 \u2014 all 7 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:507\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea05d9026da3f0b6fa954cbbe9728bbc4de56a4e123c03c82a4100e34e1451bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 7): AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:393-397 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:401-405 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:409-413 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:417-421 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:425-429 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:433-434 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:441-442 \u2014 all 7 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:430\u0060 calls \u0060contains\u0060, \u0060equals\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:398\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":"AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d75acda69e4b792f4cbd7e603ec16e8dd22a5c71f2b07eb38439bf84d1a460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:531-535 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:545-549 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:559-563 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:573-577 \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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:531\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, \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:578\u0060 calls \u0060contains\u0060, \u0060equals\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:536\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbc82f97715eccad06b1c645f374dcc4b8d9ede79dd5b7c4c6b45dcb9e1ae08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:142-146 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:117-121 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:134-138 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/SSH.java\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 373 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:142\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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a56a4e4b597a4c85b631a477566882bd101c30833c2fddc3d90a273f5b812b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:130-134 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:125-129 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 308 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 \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:130\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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71de017a85a505d54a5aeecce3acfb5d5e70d6141d2e0cf9cb936f9b349795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): AnLinux/app/src/main/java/exa/lnx/a/About.java:81-89 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:751-759 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:680-688 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:422-430 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:279-287 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:61-69 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:460-468 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:210-218 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:683-691 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:61-69 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:512-520 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a530a8bd5a4cad3181cfd6a59e1cce3c956369f372110018165e6c51d1c3ce2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): AnLinux/app/src/main/java/exa/lnx/a/About.java:90-97 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:760-767 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:689-696 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:431-438 | AnLinux/app/src/main/java/exa/lnx/a/MainUI.java:840-847 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:288-295 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:70-77 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:469-476 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:219-226 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:692-699 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:70-77 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:521-528 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd308442cbc51a905d3c259bcb6dda37c967b973baa52877599e628b8ffa42e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): AnLinux/app/src/main/java/exa/lnx/a/About.java:98-104 | AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:768-774 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:697-703 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:439-445 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:296-302 | AnLinux/app/src/main/java/exa/lnx/a/RootfsDownload.java:78-84 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:477-483 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:227-233 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:700-706 | AnLinux/app/src/main/java/exa/lnx/a/Wiki.java:78-84 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:529-535 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/About.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2d8c56cb943330bd5e964dd7bce8dfadfa8b19f55c7f8387471c0306f60357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java:695-704 | AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java:662-671 | AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java:404-413 | AnLinux/app/src/main/java/exa/lnx/a/Patches.java:261-270 | AnLinux/app/src/main/java/exa/lnx/a/SSH.java:442-451 | AnLinux/app/src/main/java/exa/lnx/a/SU.java:192-201 | AnLinux/app/src/main/java/exa/lnx/a/Uninstaller.java:673-682 | AnLinux/app/src/main/java/exa/lnx/a/WindowManager.java:494-503 \u2014 before extracting anything, compare \u0060AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java\u0060 and \u0060AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"46446c644f25cf99b7701a9c217ce510e0e42e6883eaf5261b2fe8a62d28806e"}},{"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 \u0060AnLinux/app/build.gradle\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AnLinux/app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1ba6b44d37d965e206124cd80c581a94afc60dae41320bc3a5e105c8c30c46"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060AnLinux/app/build.gradle\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":"AnLinux/app/build.gradle"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018817d704c12a9a2d90ab34e36c448ed6f8ca9c72472f18f25a1406eaad19a"}},{"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: \u0060donationInstalled() || isVideoAdsWatched()\u0060 appears character-identically in 12 files \u2014 AnLinux/app/src/main/java/exa/lnx/a/About.java, AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java, AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java, AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.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":"AnLinux/app/src/main/java/exa/lnx/a/About.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"150b2793ec8dd308dd295a85181da562f6a761995bba7a81262dc82fcb4d9e83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPackageInstalled(\u0022com.termux\u0022, context.getPackageManager()) \u0026\u0026 termuxVersionCode() \u003E= 118\u0060 appears character-identically in 8 files \u2014 AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java, AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java, AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java, AnLinux/app/src/main/java/exa/lnx/a/Patches.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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5876a0efbbe69326359725de96860f91ce10bc59deccab8064f1fddb9e58d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mInterstitialAd != null \u0026\u0026 shouldShowAds \u0026\u0026 !donationInstalled() \u0026\u0026 !isVideoAdsWatched()\u0060 appears character-identically in 8 files \u2014 AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java, AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java, AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java, AnLinux/app/src/main/java/exa/lnx/a/Patches.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":"AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c903f986581e4b92808791e6f7b60af4a42d0704dda91396d9c7cf70e69410"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.contains(\u0022arm\u0022) \u0026\u0026 !s.equals(\u0022arm64-v8a\u0022)\u0060 appears character-identically in 4 files \u2014 AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java, AnLinux/app/src/main/java/exa/lnx/a/HeavyDE.java, AnLinux/app/src/main/java/exa/lnx/a/SSH.java, AnLinux/app/src/main/java/exa/lnx/a/WindowManager.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":"AnLinux/app/src/main/java/exa/lnx/a/DesktopEnvironment.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"181d8b9cae520f5d58f7ef797807968532f29b11be2192e403cda6333e5454d0"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/1 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}