{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"BrowserActivity.onCreate (cyclomatic 29): BrowserActivity.onCreate has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt holds 3 of the 10 methods over the threshold \u2014 including the worst \u2014 and 27 of the 55 points over it (49%), 3.4\u00D7 the next-largest file (app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt at 8). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf0f731f31a0f41d224d06b25a716fe74a0c8c51ecf20083a474f6535e9038"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserActivity.applySolipsismRailPreferences (cyclomatic 26): BrowserActivity.applySolipsismRailPreferences has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt holds 3 of the 10 methods over the threshold \u2014 including the worst \u2014 and 27 of the 55 points over it (49%), 3.4\u00D7 the next-largest file (app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt at 8). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"822aed4137f4c757fcf519f3133191838e71b71620c2d8d8e682912227fb5d40"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsolePlusBottomSheet.beautifyHtmlCode (cyclomatic 23): ConsolePlusBottomSheet.beautifyHtmlCode has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8fedd64573c48fa8d9e8a496cc8fe616ade1e4fbee29aeaa7c0fde0b842389"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadHandler.onDownloadStartNoStream (cyclomatic 23): DownloadHandler.onDownloadStartNoStream has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbebf62bfa8b514bcd6205f9eb95dc7de7180455ba065f9bb713ff88561fad"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyEventAdapter.adaptKeyEvent (cyclomatic 22): KeyEventAdapter.adaptKeyEvent has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/keys/KeyEventAdapter.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18e7cfe5be5ff7454bdfee1b762eb5158eada13aaa0ace5447fb5a8823b8e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserActivity.installUrlRailGestures (cyclomatic 17): BrowserActivity.installUrlRailGestures has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: BrowserActivity.runConfiguredRailAction (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt holds 3 of the 10 methods over the threshold \u2014 including the worst \u2014 and 27 of the 55 points over it (49%), 3.4\u00D7 the next-largest file (app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt at 8). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63eaf176e03f36597d21396ed4576e1c8e37af1b4d308a17c9fc76c6aa137f5"}},{"ruleId":"D1","level":"warning","message":{"text":"CookieManagerRepository.validate (cyclomatic 17): CookieManagerRepository.validate has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerRepository.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d46e3436b11f9ae09db25eed0a3f16bd7df35626d2de33a4d3e88bf548fc64"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomFilterParser.parse (cyclomatic 16): CustomFilterParser.parse has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterParser.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4353dc27fd95ce7c5540584196cc804159183726c17274158d46f246b06ef"}},{"ruleId":"D1","level":"warning","message":{"text":"PageElementDescriptor.sameInteractiveTarget (cyclomatic 16): PageElementDescriptor.sameInteractiveTarget has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresCoordinateBridge.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6c55806e1dede667d38bb504ec03481b6e75bf1273bda29b7b5bbff17ca813"}},{"ruleId":"D1","level":"warning","message":{"text":"WebRtcPermissionsModel.requestPermission (cyclomatic 16): WebRtcPermissionsModel.requestPermission has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/webrtc/WebRtcPermissionsModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f6407ee2b2d6f5512f289d890e87325bf20e78cbeb6287103ea91a6343a931"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsolePlusBottomSheet.beautifyHtmlCode (cognitive 66): ConsolePlusBottomSheet.beautifyHtmlCode has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (60 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0c496033280914a8de0a849e96ba2eb54b72a3f4890b0a6be3f4a4d4e75b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserActivity.applySolipsismRailPreferences (cognitive 37): BrowserActivity.applySolipsismRailPreferences has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 11 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f846c1679421c9691cf8dcb285d90aa1ec04c2be3b72eab30ca3a6af64b7ece"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserActivity.onCreate (cognitive 35): BrowserActivity.onCreate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 28 (31 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"50950b45d41e01fbf8cee648a321e715d2c55b41e1156115e53fa262c2dd4e87"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadHandler.onDownloadStartNoStream (cognitive 31): DownloadHandler.onDownloadStartNoStream has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (24 pts), error handling 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c37f8ae6b55663f831a60678ae985ab2c947ec1f5bb2c4a58a52ba194229ae"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserActivity.installUrlRailGestures (cognitive 30): BrowserActivity.installUrlRailGestures has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 3, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c89695929cf67ccd07aeeb12bf347301977306d054949b5453e74966f02feb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsolePlusBottomSheet.enableInspectMode (cognitive 29): ConsolePlusBottomSheet.enableInspectMode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2ada409a1bb3ccd5736c0dd696589d512e362ef2e8b2424287b75760be658"}},{"ruleId":"D2","level":"warning","message":{"text":"WebRtcPermissionsModel.requestPermission (cognitive 27): WebRtcPermissionsModel.requestPermission has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/webrtc/WebRtcPermissionsModel.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"836b82c5840d3f6c81c4b10ee1cd8d7fa3bb1fe27e7b2303adcfc43ddbc8f51e"}},{"ruleId":"D2","level":"warning","message":{"text":"RailMenuStudioActivity.applyPreviewPosition (cognitive 25): RailMenuStudioActivity.applyPreviewPosition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6780702b8d32c2db0bd624f6000953a9ef4f1767a49b7cde67c732ab9e7189"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomFilterParser.parse (cognitive 22): CustomFilterParser.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterParser.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4d9849cb35314419aa6cb08222dcc339cf85e181f6886ccd11229e7e3bb869"}},{"ruleId":"D2","level":"warning","message":{"text":"HostsFileParser.parseLine (cognitive 20): HostsFileParser.parseLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/parser/HostsFileParser.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66caaa4eb0a1f610d31b5f7d968f0208dbe7b6f5c5fd7a32d523b6e5756584c"}},{"ruleId":"D2","level":"warning","message":{"text":"AntaresInputRouter.onTouch (cognitive 19): AntaresInputRouter.onTouch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7e6dd44a658bbf2eca2b2db3f53298501acc6582d8ceacb2fc3e9f5fffdf64"}},{"ruleId":"D2","level":"warning","message":{"text":"WebViewScrollCoordinator.configure (cognitive 17): WebViewScrollCoordinator.configure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (17 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/view/WebViewScrollCoordinator.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ee84b76cb691703b6db50e80195e198452fbf7d2111039e36390076bf7a38b"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadHandler.downloadBlob (cognitive 17): DownloadHandler.downloadBlob has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a167598449590ed76934421219220daa6c6f7d0947989db9378936b7a83f30ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CookieManagerRepository.validate (cognitive 16): CookieManagerRepository.validate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerRepository.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5c3feb65b1d4996ee87a21cc8246481fc320de44ba6f063a272166aefce728"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlHandler.isMailOrIntent (cognitive 16): UrlHandler.isMailOrIntent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/UrlHandler.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c75a6eeeafc727ab4272662658da001919c7850a70f7c8a853342725de6eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMalwareDatabase.update (cognitive 16): LocalMalwareDatabase.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 2, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/malware/LocalMalwareDatabase.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e3b88ffa0a9fe3da6c0c32523bd5eb4647a5a435f2f57690ada770f4ae0b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseUpdateCoordinator.check (cognitive 16): ReleaseUpdateCoordinator.check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/release/ReleaseUpdateCoordinator.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d065045ca858260f147d81cb7582a3c40e2cdf206f7290b80b245b95cbf2f99"}},{"ruleId":"D2","level":"warning","message":{"text":"VirusTotalDownloadCoordinator.stageAndHash (cognitive 16): VirusTotalDownloadCoordinator.stageAndHash has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/virustotal/VirusTotalDownloadCoordinator.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03a0b544cfa172aa61cfad3020751844a311f913704b291fc2790ba5a85b2be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserActivity: ClassTooLong \u2014 2107 significant lines (blank, comment-only and punctuation-only lines excluded), 132 methods. The bar is 400 significant lines; this is 1707 over it, 5.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca36e28af46669e9d85a014cf0b8c193945938c0cb332a1cd5d64bc69f83c364"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/BrowserActivity.kt: FileTooLong \u2014 2300 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: BrowserActivity (174-3121). The bar is 500 significant lines; this is 1800 over it, 4.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101c2b35a2eb404d42dbc6d0fa1f2a42bc802582e10b8b23a378b3122955d2af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserActivity: TooManyMethods \u2014 132 methods. The bar is 30 methods; this is 102 over it, 4.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e07c2acba77d81e1fe3d8ea143b53fed92aec33585ed68b0573a6aa728a89e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserPresenter: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c44ded1f30078399741f6f878d3da9dbf814cba1d5cab1cf1edd4798b959a2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserPresenter: ClassTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded), 118 methods. The bar is 400 significant lines; this is 838 over it, 3.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9227bc65b84a06a9133376b848f561ca9d7e2cd923016c4615b9ebb05c8cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/BrowserPresenter.kt: FileTooLong \u2014 1323 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: BrowserPresenter (95-2089). The bar is 500 significant lines; this is 823 over it, 2.65\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52efbf211048d9ff86cd4b44ecbe719ec29dee6f87735361243b939a9158cdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.isIncognito: MethodTooLong \u2014 isIncognito runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7346c2be277d2a15dfb2f33116c1f757329d9a1b388d4f583465881d47deb51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.menu: MethodTooLong \u2014 menu runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"759f6575a76bfb38a32e3051be79035c0431e451710fb017be9658d99073dd0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.homeIcon: MethodTooLong \u2014 homeIcon runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0325d7612664e155b29a31ee9ce58b6f1242f9bde3e45addf15a9e8b8cd355a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.onCreate: MethodTooLong \u2014 onCreate runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"28583e60ffae06bd9d17d04ddeaa28d5c10130c1c453634ebf8c6d12d71d7044"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DisplaySettingsFragment: ClassTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 447 over it, 2.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb260eb8e480c6d5fb71e721eebec83ecd5a563256ae0db7a4ec457203de2b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AntaresTabAdapter: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. Most of these members implement tab.TabModel (45 of 59 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b682869f278a1920be4327ca652ca64b489f478d349e275daf104ddc109458"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TabAdapter: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. Most of these members implement tab.TabModel (44 of 55 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabAdapter.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc30f857e639d129988b830d488974722ce25a2cb276984a0c2185609b89d320"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fragment/DisplaySettingsFragment.kt: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DisplaySettingsFragment (51-1157). The bar is 500 significant lines; this is 392 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a7405f8e4eccf5d29852327f8573ede5a2dbfc8278f18072064265195ac533"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TabAdapter: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 156 over it, 1.39\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabAdapter.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a0dc539c4dd7eff009420f4b198ce69a2141a4fa926e337f4b77c16ee5e154"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserStateAdapter: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. Most of these members implement BrowserContract.View (40 of 41 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserStateAdapter.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"331b32277ca34abc9464d83d2b9a61569bdd27334687715e0828cfce96e39944"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DisplaySettingsFragment: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4e8ec88da0405ee4f541ceef50b804c335de48b4d95241529f3a892355edee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppModule: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ec4b91964c8aa580756590e8e7e6150d80e44dec41f8b2e8a8b1c5925bac2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.applySolipsismRailPreferences: MethodTooLong \u2014 applySolipsismRailPreferences runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ceca96de57b0763cddc0eeee024a00f12f8bd175f5e2f4deb16722d746114"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Servo: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/servo/servoview/Servo.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca356676d42e646ed2a2ed81dad4f6c2e81e71ee3d46b91b27b2dbe0c8deb357"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tab/TabAdapter.kt: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: TabAdapter (64-896). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f95e366351ee205c70dc765efc7e7a175742c322cd39d5c278053a9aa9dcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tab/AntaresTabAdapter.kt: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94614d47c15ce64ccfd4d0124f477a593c83e8c04c008af29ac84c444be9940a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserActivity.installUrlRailGestures: MethodTooLong \u2014 installUrlRailGestures runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5496acd71496dc47d0f78bf0988d726bb4d90193aabf85fd7961f9bc388486"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServoView: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/servo/servoview/ServoView.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cfbc3874404ab067660775eaf6efe8fc86574d835191170513f979d3ed708e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioSettingsFragment.showAudioSettings: MethodTooLong \u2014 showAudioSettings runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24bed5e9735c7487c77439e0bdcb9f75cc4aec3c559bb6595d8f0b9bb1c641"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeneralSettingsFragment: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/GeneralSettingsFragment.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"896a4ee6fd6e32da6ced8456cbf30aa7983929d9fc68ab34f53f3e70bf27a132"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JNIServo: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/servo/servoview/JNIServo.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea267cb0966815d6b0924436d42646f55ed946f5ba02ea7538a69dc3451f5508"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DisplaySettingsFragment.onCreatePreferences: MethodTooLong \u2014 onCreatePreferences runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed8cf06e88b13a0183fb575688bcdaca644f202ba69fe46756740be05dc237"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserPresenter.selectTab: MethodTooLong \u2014 selectTab runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67a45cf193186d501df069eeddee398bdd6bab9f669c7a6195940958870fff7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AntaresSessionView: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresSessionView.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1c2672140da84c411c7eb17cdb9e1d223bc18f742f45337e4f9ece5a36aa14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DisplaySettingsFragment.showAudioSettings: MethodTooLong \u2014 showAudioSettings runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb3ba11bdc77e69a9762f81068f4d765b7aabeb0c5b87e261480fdda6f3d792"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (79 shared lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:37-179 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:328-458 \u2014 These two members are variants of one another: 79 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b2cd5e19c1b33d049d783fe464bc593445a27374e70f3504f5bbe541227dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/HapticsSettingsFragment.kt:131-166 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/HapticsSettingsFragment.kt:168-234 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/HapticsSettingsFragment.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c3938e6a05de2732d996e6b3cf998ae87c7a33461bec86e24c103ac5d6b098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:94-140 | app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:152-197 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08711cea0aedc763a36a05a1190dd4984ffd4ad6781ff26ad0bdadf76ba77478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): app/src/main/java/com/krystelligence/solipsism/html/download/DownloadPageFactory.kt:53-120 | app/src/main/java/com/krystelligence/solipsism/html/history/HistoryPageFactory.kt:53-137 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/html/download/DownloadPageFactory.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b740a1806dd6f0d6b770ce40ca7ccfe7ffa4fce1859b554ecfc310fa1f7b71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:83-110 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:234-262 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c056b9a41e8f53e727b0c850aad77b522626bf755cb9c933631348b571bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt:93-136 | app/src/main/java/com/krystelligence/solipsism/browser/tab/TabAdapter.kt:542-583 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe965c85b88ee0599a779494a306ed4bacecb90c491c5ea21a3b21fbc48df1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:1706-1733 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:1736-1762 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c902b9714c210439d3455cd2cccae2a3859540cf5dd2efa4814e13b4efc0086"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt:323-337 | app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt:339-353 | app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt:355-369 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"49106fd3abf600a19eaa53e943183e3cc526219e474eb7349041a5ebe4feef5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt:48-78 | app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt:101-134 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f62c0e1bd2347a2c5e2f64cd59ba27d822d811ed19a59c7313d0af1d64ed57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:32-57 | app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:230-252 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12eb61d2d787226bf0943a49dae2942aca24ecbf67f8b1eba7f49f93be3ced5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2635-2657 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2731-2750 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2752-2794 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeb3f5e4e3f24bdb3f594674041efdd4d7b4880163499221d4461b2a4a88ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt:334-352 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/GeneralSettingsFragment.kt:187-206 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc04e7abd715d91fe984f7ff8c808bae0aef8251a5602d0a8e939cdfb74909"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2494-2515 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2557-2579 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d32f8c6563635854b7eac226ff1c1927f017245899924ea560cdf8a12e6aebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:212-229 | app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:231-245 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aefcddf404c058a513ce32e621f3ca7f022a847873972ab0aef02989075aa89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:477-492 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:511-531 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3827b3e1aabd28bd71d9294cad166a43beebeb5a997359f614a48e0dc084cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt:47-61 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt:86-102 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dca208425f669dc7841566c69d20c9eeeb4cd6a93f5963c1e3abe9e8da483a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerSheet.kt:124-140 | app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerSheet.kt:142-159 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerSheet.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e19c10fd833e0c5bdf6919fbca68c903d6d12b8e26beaf8a6e9afd39b327ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/PrivacySettingsFragment.kt:105-121 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/PrivacySettingsFragment.kt:123-139 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/PrivacySettingsFragment.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc85f30f5dcd4b8c454e3fc44690aa0b7737fc4f819717170353c7da36b24b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/krystelligence/solipsism/virustotal/VirusTotalScanNotification.kt:31-47 | app/src/main/java/com/krystelligence/solipsism/virustotal/VirusTotalScanNotification.kt:49-67 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/virustotal/VirusTotalScanNotification.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb74f454414280553e2b7c6f3b654e329785d3abb8fc0acdb53e54275014c062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt:175-186 | app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt:192-203 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c51ebda8135dafafb798d9e485afb4135e323a08f7a4bcf623f83bb99f28029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt:496-507 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:969-980 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"26250fba0280c568d1fa621bc96f42132e73a67b755104936b816c5c565fa16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/krystelligence/solipsism/vault/VaultActivity.kt:110-124 | app/src/main/java/com/krystelligence/solipsism/vault/VaultActivity.kt:126-140 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/vault/VaultActivity.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c9be8429861d1b58e4bfd1bf55572ae35b919548dba1a55ae4a95109baddde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:112-122 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdvancedSettingsFragment.kt:101-114 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdvancedSettingsFragment.kt:142-154 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ded1325bc97622c711233a9985d60e01a36c93fc0f98353e4b9ae650ef2cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterRepository.kt:37-48 | app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterRepository.kt:75-87 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterRepository.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef267c46769bfefa29c3a3c527c6f3edf62d700ea3c36da573237d2a97d0154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/krystelligence/solipsism/favicon/FaviconModel.kt:92-101 | app/src/main/java/com/krystelligence/solipsism/favicon/FaviconModel.kt:108-117 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/favicon/FaviconModel.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e103608a63fe73de6b6e8e6c1775761f930020a76d443346a2b5970b30840e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/krystelligence/solipsism/adblock/util/DefaultBloomFilter.kt:52-64 | app/src/main/java/com/krystelligence/solipsism/adblock/util/DefaultBloomFilter.kt:70-85 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/util/DefaultBloomFilter.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8493f78add7f789c4970965a70a58a1cb41920d3e53a96a5bd30f3448b42172d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:289-295 | app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:297-303 | app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:305-311 | app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:313-319 | app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt:321-327 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/ui/RailMenuStudioActivity.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"85afe16a80a1361c83731e92b52e1cde05a0c82e14260fcc8f654806b82f6eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt:1421-1432 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt:1454-1463 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"530c63da53a077923f91b14595f5f6e71313d72f9a0a4567d905fcd0994dc0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt:71-84 | app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt:87-100 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"13de07bb2bf88cee783820b686ac904bd236f1e7305b67303ad8c5e47c74e8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:784-790 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:792-799 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dca72716aad1a1e75f5419ef5990d09455e7f775d3a738a730dbec70739e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/preference/UserPreferencesExtensions.kt:14-25 | app/src/main/java/com/krystelligence/solipsism/preference/UserPreferencesExtensions.kt:28-39 | app/src/main/java/com/krystelligence/solipsism/preference/UserPreferencesExtensions.kt:46-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/preference/UserPreferencesExtensions.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d78736a8467aff7af9741aa9c71753406aaed3cc89500eae5764f24f1f3c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): app/src/main/java/com/krystelligence/solipsism/html/bookmark/BookmarkCleanup.kt:15-21 | app/src/main/java/com/krystelligence/solipsism/html/download/DownloadCleanup.kt:15-21 | app/src/main/java/com/krystelligence/solipsism/html/history/HistoryCleanup.kt:15-21 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/html/bookmark/BookmarkCleanup.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"13037d033fbc489d87cc47af13a39b36400236efde6c73b596a1ff71ecf90228"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/krystelligence/solipsism/browser/view/CompositeTouchListener.kt:15-21 | app/src/main/java/com/krystelligence/solipsism/browser/view/WebViewLongPressHandler.kt:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/view/CompositeTouchListener.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"22467f5ee6935f9d6961c97a45a5eec82e3d14e8f76e661fd93dbbc0b12abd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdBlockSettingsFragment.kt:222-230 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/BookmarkSettingsFragment.kt:209-216 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdBlockSettingsFragment.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc42fc6282b79c44cd6b64e4e7c506d6db77426e4dff2df140a700fade0149d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:103-137 | app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt:161-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/dialog/SolipsismDialogBuilder.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea25223e07928c5f04ca084f7ffdf4e55cc706b72b1daf5b039ab588d048bfe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:152-179 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:431-458 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:152\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90763d5b1fd3781c553b001d88a9696014f8f60de29411fad8961dc16e72087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:88-110 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:240-262 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:237\u0060 calls \u0060requireActivity\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:85\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49c5b47ba4388010348894d091e6c4e15e21cc275abe971e5e13b4a3f3ed09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt:103-120 | app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt:85-102 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a18ba8193eaca9faff99016cadf74e2551efd25d025eb5b2e88d032d3ad2664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:1706-1722 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:1736-1752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:1706\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"53247370765c3eb77ff2f6549a2797008aadd82f5cf0fae211a35aa13ae811ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): app/src/main/java/com/krystelligence/solipsism/browser/tab/UrlHandler.kt:126-136 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdBlockSettingsFragment.kt:362-374 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdBlockSettingsFragment.kt:468-478 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdBlockSettingsFragment.kt:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/UrlHandler.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc172c88217e2f3c1bd8c93ccf24cfba8262da6ef4c468342b4802dfcdcb1ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:59-70 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:349-361 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c787c87dabaaa60f2bd5da662a41f3ab2c4235d948612e4590258dc597c0602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:133-144 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:412-423 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fced4f14ccdc06180325ec6490a995d44966a6fd17cf90f02d258dffa1fee5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt:109-120 | app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt:197-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/download/DownloadHandler.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaad9b2f225057ab0892b29536e59c5fb3579db4e2df3ac27c758aa73ca8e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/html/download/DownloadPageFactory.kt:96-106 | app/src/main/java/com/krystelligence/solipsism/html/history/HistoryPageFactory.kt:113-123 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/html/download/DownloadPageFactory.kt:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/html/download/DownloadPageFactory.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7519e24169c3b4bf748fd7d7e6cd089de62826c366b20c623472c2e52a44e138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:81-91 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:368-378 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa646648035de4aa7499c2e59708df06d8b7e6014b74bb7addea2e26889c718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt:498-507 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:971-980 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt:498\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c65fef15c21c9ce3a08b518fd0df0ded7fd87b1a8b9b267e34b82414860da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:106-115 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:391-400 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb5fdb0557e1f97d06a8c9e31d26da5fec5691845c7153b15f3f0f5edf32470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt:48-57 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt:87-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/SitePermissionsSettingsFragment.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64c3fbd19a4b48f5f4d4007789a2811e85a721e7d37363c418e9702e3c86769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2028-2036 | app/src/main/java/com/krystelligence/solipsism/screenshot/ScreenshotStudioActivity.kt:68-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt:2028\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"058e94006974def4867793eb4050919c8201e9dfa7242cac874870fe59ccd00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt:1424-1432 | app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt:1455-1463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt:1424\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2616c4d50858441caa0be391fd6cce3c1c449ae2bb35021bb6e63ff4aabbc88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:114-120 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdvancedSettingsFragment.kt:103-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11486bfeeaff6c5e0648cbe16179cdfa00e0d184d500540e6bbfcf561115147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt:179-186 | app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt:196-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt:179\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/di/AppModule.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc31c1851e2d3b1f7d998e09071d41b30a863b86a2e9a1d7e1cd81134591f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/data/CookieListAdapter.kt:113-122 | app/src/main/java/com/krystelligence/solipsism/browser/data/CookieListAdapter.kt:138-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/data/CookieListAdapter.kt:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/data/CookieListAdapter.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe222bda07dcd9f417febdfd7690a609a1c266a4a8a8c33be83d4e236769264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt:49-56 | app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt:102-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/dialog/BrowserDialog.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ef413120d447e7d32905025aaa340954bb80110a796275a8941ddec373e784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:38-43 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:329-334 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"000e81b03acc93603ebad1d58c7b7676b25302def9aa4cec29baaf46d25e2fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt:187-196 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:466-475 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AudioSettingsFragment.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"275fef90a3e6c09f955bc3f4d50cd67f4f93cd17f449deeb02938597112b2467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/console/ConsoleBottomSheet.kt:81-88 | app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerSheet.kt:62-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/com/krystelligence/solipsism/browser/console/ConsoleBottomSheet.kt:91\u0060 calls \u0060clear\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/browser/data/CookieManagerSheet.kt:71\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsoleBottomSheet.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61edf0a5844c82a59a8edf6baeefe4c9d17baaacaaeaccca0413bbc82cd31463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt:65-74 | app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt:46-55 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"728db4e2b2b3df1e007a7384c75af96067f8810bddc0e3b82a1e46867807c707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt:80-88 | app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt:61-69 \u2014 before extracting anything, compare \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DrawerTabRecyclerViewAdapter.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/DesktopTabRecyclerViewAdapter.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9c0587a240cccd2991dded3266276bc0b26f33d702eb1822247214a1765da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt:124-132 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/AdvancedSettingsFragment.kt:165-173 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/AccessibilitySettingsFragment.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"841665c23c3aef0fcbd862d09a7aa2b351183b76c8166e4fa1fa81d1caa26caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/database/bookmark/BookmarkDatabase.kt:152-163 | app/src/main/java/com/krystelligence/solipsism/database/downloads/DownloadsDatabase.kt:114-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/database/bookmark/BookmarkDatabase.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c28fe37e7da72c1f1cecd4234f807610cb1cd23df7fc40edf16036dad3c260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:757-761 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:796-800 \u2014 both copies are in the same file, so extract the block 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 after the matched lines, \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:801\u0060 calls \u0060updateSummary\u0060, \u0060homepageSourceDisplayName\u0060 and \u0060app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt:762\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac04d094a7b60d225007fa937ba683722b89f66b831e9889702aa6994a56eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt:335-339 | app/src/main/java/com/krystelligence/solipsism/settings/fragment/GeneralSettingsFragment.kt:188-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCoreChooserActivity.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d0a7eb39ac3f187ab1a1e51f1572429ca8bbcd0692de58201a5019c0e922d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BrowserActivity (LCOM4 5): BrowserActivity\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f0ca4576c932928bc1a13fdc270eb9383ea7bb6ab9b5e3bfaf88c4694aee0a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AntaresSessionView (LCOM4 5): AntaresSessionView\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresSessionView.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"586407479db31fe96f18041db722e03efcdaa2944e72f6ee34908135ab98111e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TabWebChromeClient (LCOM4 5): TabWebChromeClient\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabWebChromeClient.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a166012394eee4d50df2629cb8a5a15113e4e7c576704b1ab1640d45fdef0a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SuggestionsAdapter (LCOM4 4): SuggestionsAdapter\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/search/SuggestionsAdapter.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8bb33c6eeafd89a8ecda44633583d982333d0d6246cdfeb97b005f1136ff56"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PrivacySettingsFragment (LCOM4 4): PrivacySettingsFragment\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/PrivacySettingsFragment.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfcd2b4260be93484a85f88951d58bd6989b06b284c21aa8911d90544246e38"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 website/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt: app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in BrowserActivity.onCreate at line 1038. 3 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 18:46:31 \u002B00:00\u0027 --until=\u00272026-11-14 18:46:31 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"92666b6d90f688509a42f2df714e1b12456f7279a5533211666bfc63a00587f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt: app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ConsolePlusBottomSheet.beautifyHtmlCode at line 215. 2 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 18:46:31 \u002B00:00\u0027 --until=\u00272026-11-14 18:46:31 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3d7081b0ccc96d94f895d0022fc774225213482bd99a468723cf4908e7ea5c"}},{"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 \u0060experiments/ios-kmp-ci-spike/iosApp/iosApp.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/ios-kmp-ci-spike/iosApp/iosApp.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb8ab1d4c210e6f727b809a04727674932a85da41946b2f57d0def211f53efe"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (39059 LoC, 917 module-visible types across 97 directories) overshoots its size bounds. 1 of 5 build unit(s) (Gradle, Xcode, npm) overshoot their size bounds, lowering Project Cohesion to 6.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6c3bd76ae9cb91f7bf489192e0084ebf34912be0124e68c9fbb421c296a07ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdda4eb8f8dac063898fd2662a421ec4bba2811981623e6b64be7bfdba1ecfa0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01d48379273f8ded259c974e6de697449114958addf556c23308c91c409d7d31"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1aa26d079dcc576332313a6ed54c993fc41e47e795ea7c04000f179b0e6b229b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35117ea4fb9d08b84be00cb20380170f39887c60d268d84b510e449dc886e066"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b960f8ad9c629bceaf8bb5145e5f6da18e6b98cd9c8cd286a98454cd497a8f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"458294df134c231db6efd13142ad456286253f52e9275e69a244b050bd3f4a65"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffac498f65217f63931d41ae6a0cb72a011faa0b2fabb652a20c7c81f85f0ac1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ddfe11c2d8c55281df36643ab8f83005b1dab5ca63985ece4118dd70eda410e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67be69a548195c4e142364afa76173f36d67a918161949e049742c9f7fc5bd3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb996f9eb3f519ce710c142e75669b893ac8ec8cd80cbbf13bbbcef084c1c559"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf5ab62d631aa501514aac018b87336e9cb5c5af011e360f252b544558d8dc8e"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faf04d68fdf1b0f49959ea29f18abdf55d5037fb4b1e31df98de469be22c5858"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6adb760d18a713bfc1269aceb31ab85eb7218f527878b488bb2ea2d9e10bd29"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7495fc65f834208d9a07afb8b43e75a8ddb666ae42e8a39035e8a878dfa2d545"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0a1693cd5ccacea6805ff477b238511c631c3044bf69921c77157e9cb2a35af"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/bookmarks.html"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"102122a219e6edf20d1aa24edfafaba21d22b360d7f0c98371a7c90eb1845c76"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/bookmarks.html"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"26128e61b0f82f2a60cae2f5c5b775f692aa401438b0824ef0d7f727cc5af326"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/list.html"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7bce99f7435f076a1acb9ff1a8082e154f4e5c991d47ebcfde7fb4b6fa136b"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/bookmarks.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74dd7b999c733f3ecc97e36e272219dd111cd49c7969820002cd27f70aeea7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/bookmarks.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de8e830f2f074b145339f9d9e8b5bd87c5e68889f61f44cfa0559977fd0625"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch1\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/bookmarks.html"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308cb3b4b904acfa18d1a7c5079fa593a4bebbad23419f904a2fbd0f7f241ec"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/list.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"255a0c9a1e3180528e7a579ac5966553985909c315cebb90ec80266dad283e7c"}},{"ruleId":"AC3","level":"error","message":{"text":"Document \u003Ctitle\u003E is empty: An empty \u003Ctitle\u003E gives no page name in the tab, history or screen-reader page list. Put descriptive text in the \u003Ctitle\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/list.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b6a9333bce69db3d48c633694bac16b2819c9fb85af38bd4f5743e0139a0aa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/html/list.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0b7baaa7c9b453c457ae84f1e9f0006e2bc25f6b757d9f0bb6949c219cfa1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototypes/rail-menu-studio.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abc55271af7eda5b0ebffe12f38432ed7e88e5bd45f2b366ed53a5c2b7799ba"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.rail\u0060 sets color: #fff on background-color: #fbf9fd \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet \u2014 editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototypes/history-downloads/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69525289151d7a523bc614cc870900dceb23cc33916264b47e7d63059b49fcd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SessionAllowListModel: \u0060SessionAllowListModel\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (whitelistSet; e.g. \u0060whitelistSet\u0060 in \u0060addUrlToAllowList\u0060 at line 39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/allowlist/SessionAllowListModel.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"71287babae121f51df65cdc1d58a20b0049370b1fbb803759001a6b187587f74"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: CustomFilterRepository: \u0060CustomFilterRepository\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (filters; e.g. \u0060filters\u0060 in \u0060load\u0060 at line 133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterRepository.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"40283ebb89df9236e6f8a7c7f39f2ce516b0385ace5860fa578420582ea1865a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: AntaresContentBlockingPolicy: \u0060AntaresContentBlockingPolicy\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (cachedSignature; e.g. \u0060cachedSignature\u0060 in \u0060ensurePolicyFile\u0060 at line 104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresContentBlockingPolicy.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefbc2efcc195e17ebd0d3b20509fd0a922345a59452042aaf75bf92850b857b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: BrowserCorePreferences: \u0060BrowserCorePreferences\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (antaresCrashArmed; e.g. \u0060antaresCrashArmed\u0060 in \u0060armAntaresCrashGuard\u0060 at line 32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/BrowserCorePreferences.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb82bfbd6b94a0d29fa8e1905563afe41a05dce96a01e2ceaf7bdcea6e31fd1"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ProxyAdapter: \u0060ProxyAdapter\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (currentActivity; e.g. \u0060currentActivity\u0060 in \u0060onActivityCreated\u0060 at line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/proxy/ProxyAdapter.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"051d15a49baf8844f430199f62c5bdfb026ed114ab5b4d09bc704cbebe6a962b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: RailAutoHideController: \u0060RailAutoHideController\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (accumulatedDownPx, accumulatedUpPx, isHidden; e.g. \u0060accumulatedDownPx\u0060 in \u0060onWebViewScroll\u0060 at line 37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/view/RailAutoHideController.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4d9f2b0cdd1e4c04753c718da9da5b8179830c8210d1764658d3a6759f876"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: WebRtcPermissionsModel: \u0060WebRtcPermissionsModel\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (resourceGrantMap; e.g. \u0060resourceGrantMap\u0060 in \u0060requestPermission\u0060 at line 30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/webrtc/WebRtcPermissionsModel.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"96017915656e973c73950c7af287836bbd7e457bb3f7da3bcf422f98c4ba02b1"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: InMemoryHostsRepository: \u0060InMemoryHostsRepository\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (mutableHostsSet; e.g. \u0060mutableHostsSet\u0060 in \u0060addHosts\u0060 at line 14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/database/adblock/InMemoryHostsRepository.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"075bc66e553a61e90db18b183fd73ea19f580e70b66ce5c4069ba6beb08ad57a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ViewIdGenerator: \u0060ViewIdGenerator\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (usedViewIds; e.g. \u0060usedViewIds\u0060 in \u0060claimViewId\u0060 at line 20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/ids/ViewIdGenerator.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc23daa615b6e867131e1b18f43841d241d6eae56342dde214c388c74dd9469"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SessionSslWarningPreferences: \u0060SessionSslWarningPreferences\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (ignoredSslWarnings; e.g. \u0060ignoredSslWarnings\u0060 in \u0060rememberBehaviorForDomain\u0060 at line 20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/ssl/SessionSslWarningPreferences.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"402f42f44470a097cc26468955f4e0e577fd38ec6207d642e045b78e04eb6d48"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: UserScriptManager: \u0060UserScriptManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (scripts; e.g. \u0060scripts\u0060 in \u0060loadFromDisk\u0060 at line 86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/userscript/UserScriptManager.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3328b2be44b20deb857851d483275371d2ac58360d4fac954319e343faa7d8a1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: View (40 abstract methods): \u0060View\u0060 declares 40 abstract methods: \u0060renderState\u0060, \u0060renderTabs\u0060, \u0060showAddBookmarkDialog\u0060, \u0060showBookmarkOptionsDialog\u0060, \u0060showEditBookmarkDialog\u0060, \u0060showFolderOptionsDialog\u0060, \u0060showEditFolderDialog\u0060, \u0060showDownloadOptionsDialog\u0060, \u0060showHistoryOptionsDialog\u0060, \u0060showFindInPageDialog\u0060, \u0060speakPageText\u0060, \u0060showBrowserCoreSwitchFailed\u0060, \u0060showAntaresCrashFallback\u0060, \u0060showLinkLongPressDialog\u0060, \u0060showImageLongPressDialog\u0060, \u0060showSslDialog\u0060, \u0060showCloseBrowserDialog\u0060, \u0060openBookmarkDrawer\u0060, \u0060closeBookmarkDrawer\u0060, \u0060openTabDrawer\u0060, \u0060closeTabDrawer\u0060, \u0060showToolbar\u0060, \u0060showToolsDialog\u0060, \u0060showUserAgentDialog\u0060, \u0060showCustomUserAgentDialog\u0060, \u0060showCookieManager\u0060, \u0060showConsole\u0060, \u0060showConsolePlusSheet\u0060, \u0060showScreenshot\u0060, \u0060showScreenshotCaptureFailed\u0060, \u0060openVault\u0060, \u0060showVaultSaved\u0060, \u0060showVaultSaveFailed\u0060, \u0060showLocalFileBlockedDialog\u0060, \u0060showFileChooser\u0060, \u0060showCustomView\u0060, \u0060hideCustomView\u0060, \u0060clearSearchFocus\u0060, \u0060focusAddressBar\u0060, \u0060launchQrScanner\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserContract.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3c6180eddcadcbad2dc81b0d9954e061e405131193323bb13047ddaa71b8ba"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TabModel (42 abstract methods): \u0060TabModel\u0060 declares 42 abstract methods: \u0060contentKindChanges\u0060, \u0060loadUrl\u0060, \u0060loadFromInitializer\u0060, \u0060goBack\u0060, \u0060canGoBack\u0060, \u0060canGoBackChanges\u0060, \u0060goForward\u0060, \u0060canGoForward\u0060, \u0060canGoForwardChanges\u0060, \u0060toggleDesktopAgent\u0060, \u0060applyUserAgentPreference\u0060, \u0060applyContentBlockingPreferences\u0060, \u0060applyThemePreference\u0060, \u0060reload\u0060, \u0060reloadWithJavaScriptDisabled\u0060, \u0060captureVisiblePage\u0060, \u0060pickElement\u0060, \u0060stopLoading\u0060, \u0060find\u0060, \u0060findNext\u0060, \u0060findPrevious\u0060, \u0060clearFindMatches\u0060, \u0060readPageText\u0060, \u0060faviconChanges\u0060, \u0060previewChanges\u0060, \u0060themeColorChanges\u0060, \u0060urlChanges\u0060, \u0060titleChanges\u0060, \u0060sslChanges\u0060, \u0060loadingProgress\u0060, \u0060downloadRequests\u0060, \u0060fileChooserRequests\u0060, \u0060handleFileChooserResult\u0060, \u0060showCustomViewRequests\u0060, \u0060hideCustomViewRequests\u0060, \u0060hideCustomView\u0060, \u0060createWindowRequests\u0060, \u0060closeWindowRequests\u0060, \u0060hasFocusChanges\u0060, \u0060destroy\u0060, and 2 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabModel.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeb548e6b2d964787b07d1ff9ede9b6ac3eb5ab2790a8e8606e04d617517ce6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookmarkRepository (16 abstract methods): \u0060BookmarkRepository\u0060 declares 16 abstract methods: \u0060findBookmarkForUrl\u0060, \u0060isBookmark\u0060, \u0060addBookmarkIfNotExists\u0060, \u0060addBookmarkList\u0060, \u0060replaceAllBookmarks\u0060, \u0060deleteBookmark\u0060, \u0060renameFolder\u0060, \u0060deleteFolder\u0060, \u0060deleteAllBookmarks\u0060, \u0060editBookmark\u0060, \u0060updateBookmarkOrder\u0060, \u0060getAllBookmarksSorted\u0060, \u0060getBookmarksFromFolderSorted\u0060, \u0060getFoldersSorted\u0060, \u0060getFolderNames\u0060, \u0060count\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/database/bookmark/BookmarkRepository.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f5bff586e20c9c9f4fcb854a482bdd118629418b02c1083c13179602d3ffb8"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060experiments/ios-kmp-ci-spike/iosApp\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 4 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/action.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(uri.scheme == \u0022http\u0022 || uri.scheme == \u0022https\u0022) \u0026\u0026 !uri.host.isNullOrBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt, app/src/main/java/com/krystelligence/solipsism/settings/fragment/GeneralSettingsFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b804402f78d3b30729d166e3b4c91cc96269af74cc5c30c5c21c1a16bef9127"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.actionMasked == MotionEvent.ACTION_UP \u0026\u0026 v.isClickable\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/browser/view/CompositeTouchListener.kt, app/src/main/java/com/krystelligence/solipsism/browser/view/WebViewLongPressHandler.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/view/CompositeTouchListener.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcec0484e70a4abbd600ef97e01a13c75a29f78606c7779518a06e0a1fbec13e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022youtube.com\u0022 || host.endsWith(\u0022.youtube.com\u0022) || host == \u0022youtube-nocookie.com\u0022 || host.endsWith(\u0022.youtube-nocookie.com\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/adblock/UBlockOriginAdBlocker.kt, app/src/main/java/com/krystelligence/solipsism/browser/tab/TabWebViewClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/UBlockOriginAdBlocker.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d508a1a58c53c9a371e79719308300c61a23a21080bd7ca26f7c80687906fa3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == domain || host.endsWith(\u0022.$domain\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/adblock/UBlockOriginAdBlocker.kt, app/src/main/java/com/krystelligence/solipsism/adblock/custom/CustomFilterRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/UBlockOriginAdBlocker.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"506e53753d86a5f7cfcff63e0e4e1201c368ae28a1bbb6b3badcb449f78d40e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.enabled \u0026\u0026 it.metadata.isUnprivileged \u0026\u0026 it.metadata.runAt == runAt\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/userscript/UserScriptManager.kt, app/src/main/java/com/krystelligence/solipsism/userscript/UserScriptRuntime.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/userscript/UserScriptManager.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05df0aef3093b35e5ab7c44b8eb9432699bcced374208063462012256ee0996"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.startsWith(\u0022http://\u0022) || it.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt, app/src/main/java/com/krystelligence/solipsism/browser/tab/AntaresTabAdapter.kt, app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ea310e8cb48cf79189c0e715ac95d60e85132af799c8afa30b091a45a19ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uiConfiguration.tabConfiguration == TabConfiguration.DRAWER_BOTTOM || uiConfiguration.tabConfiguration == TabConfiguration.SOLIPSISM\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt, app/src/main/java/com/krystelligence/solipsism/browser/BrowserPresenter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb6b884ab3bbfc468790e98227f9e7a8aa1b85c04bbe5d576bc927e935b5df3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userPreferences.hapticsEnabled \u0026\u0026 userPreferences.interactionHapticsEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/haptics/HapticFeedbackController.kt, app/src/main/java/com/krystelligence/solipsism/settings/fragment/HapticsSettingsFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/haptics/HapticFeedbackController.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b914fd604d463f06b9a80d3f9840836c26d58e5d7179a2f63010115bda6d91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userPreferences.hapticsEnabled \u0026\u0026 userPreferences.screenshotHapticsEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt, app/src/main/java/com/krystelligence/solipsism/settings/fragment/HapticsSettingsFragment.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0de04db58020478c00218fe490feaf64c7976180834a068912c17518f9ca249"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userPreferences.matchSystemAccent \u0026\u0026 systemAccent != appliedSystemAccent\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/krystelligence/solipsism/ThemableBrowserActivity.kt, app/src/main/java/com/krystelligence/solipsism/settings/activity/ThemableSettingsActivity.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/ThemableBrowserActivity.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6674d25b71b913fe690c87595429bcac0d2d2ecac7855db9d3d0ae237a5795b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept an AbortSignal or the coroutine\u0027s cancellation: Only 0/4 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 () and hand it to the request; in a Kotlin suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21eeee9e423271c6ca8c1585dbd13becefdff0bcb29bcd0381c3b54ed97e04fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: githubFetch: \u0060githubFetch\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/releases.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b664ab3de51ee21d2f6dc98719c5922be4a1f72471f9293d56a0211c84dadf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchReleaseManifest: \u0060fetchReleaseManifest\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/releases.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8c95f9ff1631924b2ab1da4792514f5640291c7fea1d2f0e13049ea91792d"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: uploadToYandexImages: \u0060uploadToYandexImages\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/screenshot/ScreenshotStudioActivity.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1a5a45e9dcf2c1bf31d93581905762c212fea893f27ca4c75ce5bb370fb052"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: resolveYandexTitle: \u0060resolveYandexTitle\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/screenshot/ScreenshotStudioActivity.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5547f7918fee31a7eeac6ce69f1072aa05a0b9ff53b815a790a129f82889e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/utils/Utils.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a52c0aae653252a5b840872be373751579b83cb56516f4d04a3f2c4274d3cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/screenshot/ScreenshotCanvasView.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1743fb1d0125c80da4988390331007843d5fd2d7b216e0166f17f78cb13c2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/qr/QrShowActivity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"db837861762af8ab8feee951f1764921402169c3fa6d35ea834825a9b0ef0802"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/BrowserActivity.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99ffbc3265b9b3be690b7c3c362e558ce53aa71b5dd7491946cc5294cb46cae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (exception: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/tab/TabWebViewClient.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed356e2406b0bd548ea364e5eaee059c37c21a011cac65fec51cf00afc8819"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresMediaSourceResolver.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3889caae5dbf712de2a9722ab1667cfbc1ab6a20e7d4d89c72e82cedf2d8a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7389972996d5cd2dcaf60f86c902f5f52a05ea53315053a981d0baab81643877"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe95b8dc2bbc1f9ce8f60189c4ca5ef7298f8e61f7694f96e144a5eb5ec5290"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (exception: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/UBlockOriginAdBlocker.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582732622f2f05549ef25f271357faffb33741dba84e09a113108d22a7354ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/util/hash/FileHash.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c070ff9d7b27078c27148e878e3ee6bc3a97df6c2e066a26f0a50332952edfcf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (exception: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/snapshot/AdblockSnapshotManager.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afed4516bcf445d01b1371114afb361adfbb62c36773ce458d90b450bd1f8e3"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0147bd92cbeeff76250f3610ecd4b2957e1e35b2765102c79426661a48e8dcef"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/console/ConsolePlusBottomSheet.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"41873647f4a94992eeed2690098aea693385a1658c530341b79d38385de1f1a7"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9873970c0d17a884499ec8604dcaabc06c4364c9de92e950bd409b78940268"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"20194afc42c0f058946aca4596793f0b5bdc64216c842d315374532edf688697"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"be944a7e9a8f3bb42c9d20402d925248106d241873cfe3d799da380a03c36eb4"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1781617540ecb0438f45ff7ba022361a504284d61927696fcee05eb6af262b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060lists\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/adblock/lists/FilterListRepository.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dff1c81542175a8b3516838e12f21da003be2714939953e12fa8023237f24e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactUrl\u0060 swallows every exception into \u0060\u0022unavailable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/browser/engine/AntaresCoordinateBridge.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d08c85118b3d791cc5960ab982516e63550960e40253c13316d67b80200515"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fallbackGuess\u0060 swallows every exception into \u0060\u0022download.bin\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/download/DownloadFilenameResolver.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0286621e87189618b5cc0fc9e572a6f2eceab5410c3f685fed409494d5a34804"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/i18n/TranslationOverrides.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0791413f81d1b79636ec8f3145bc92d97eefc99584e5c28fa1a771cc63f97afa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractHomepageCss\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/settings/fragment/DisplaySettingsFragment.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"27728b8fe9831877bd471e717a03c86311b5108b96a57a59f3a79d25cd6351cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/krystelligence/solipsism/virustotal/VirusTotalApiKeyStore.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b385cf9477f18dacb8a4ef60a5a766995f600ca781dab75d6405133fcf71cea"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":19,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}