{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"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":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"ReleaseMetricController.process (cyclomatic 112): ReleaseMetricController.process has cyclomatic complexity 112 (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/org/mozilla/fenix/components/metrics/MetricController.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d06c7275a40e5311c5f2c959d4b7fd223868f5ce9df6aadd2183affae83fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarIntentHandler.handle (cyclomatic 102): SidebarIntentHandler.handle has cyclomatic complexity 102 (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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ca996d219ccef934163f222e6d7e99fe726117872d59cdc7958e96835feca"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarContentKt.SidebarPanel (cyclomatic 91): SidebarContentKt.SidebarPanel has cyclomatic complexity 91 (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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04284321e7a9d2f86f487e22412be0e2eb25203a974c40fe92e0249697ccb54"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarksMiddleware.invoke (cyclomatic 89): BookmarksMiddleware.invoke has cyclomatic complexity 89 (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/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d3202b196312f985f261aa2b9289fea383c4efa5e1decaabbdba795562a831"}},{"ruleId":"D1","level":"warning","message":{"text":"AppStoreReducer.reduce (cyclomatic 76): AppStoreReducer.reduce has cyclomatic complexity 76 (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/org/mozilla/fenix/components/appstate/AppStoreReducer.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4c954abff75071eead490a8bcb66fb5eba52867b98ea96105b53447fce5ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuTelemetryMiddleware.invoke (cyclomatic 70): MenuTelemetryMiddleware.invoke has cyclomatic complexity 70 (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/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d75e6450c9cd07a93a19e00a8bb11e0e24119a8284f9a362aa41eeaba2c12a"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolbarMiddleware.invoke (cyclomatic 59): BrowserToolbarMiddleware.invoke has cyclomatic complexity 59 (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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dc5830627561ed86d48337385a23fbae273a97643118e4285d8e513c6f07e0"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarHostKt.SidebarRoot (cyclomatic 51): SidebarHostKt.SidebarRoot has cyclomatic complexity 51 (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/pt/dweep/sideraven/SidebarHost.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7c3bbd4d41fb27084b921dccb165080e5c0e3a4fc4bfbc1e51b499ffad7a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuNavigationMiddleware.invoke (cyclomatic 45): MenuNavigationMiddleware.invoke has cyclomatic complexity 45 (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/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"815661b37f4592d72bd2dc9ecb6f379d337eff7872f1f55eb1696eea247f8d25"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolbarMiddleware.buildAction (cyclomatic 42): BrowserToolbarMiddleware.buildAction has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"65252806c46349c8d2ab3a285432a25026b4eae8adca893ba805210680600cd2"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadUIStoreKt.downloadStateReducer (cyclomatic 41): DownloadUIStoreKt.downloadStateReducer has cyclomatic complexity 41 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"120680278b3c65029376d6c9401e9cbf03df4877457f1d5733d2d82a2084f436"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchFragmentStoreKt.searchStateReducer (cyclomatic 36): SearchFragmentStoreKt.searchStateReducer has cyclomatic complexity 36 (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/org/mozilla/fenix/search/SearchFragmentStore.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3da768c9e2018b0facb17b757884b9dfda66a2ff1f3bea1f0b9258a2c4aaae7"}},{"ruleId":"D1","level":"warning","message":{"text":"SnackbarBinding.onState (cyclomatic 32): SnackbarBinding.onState has cyclomatic complexity 32 (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/org/mozilla/fenix/snackbar/SnackbarBinding.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b467199f5aa21ebaac203a8fafeda30a5d70d561db8787bb2b8b27ca687d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"TelemetryMiddleware.invoke (cyclomatic 31): TelemetryMiddleware.invoke has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/telemetry/TelemetryMiddleware.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"214d82018ea0307cbb69a34052a7550f53ae49740dd5b1bc6a3053ff43c9cf8b"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedTabsUiKt.PinnedTabRow (cyclomatic 30): PinnedTabsUiKt.PinnedTabRow has cyclomatic complexity 30 (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/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48617f36be4d28802fb0d4f7b31dd7169fd8052f4a28df892ea71df7df92603"}},{"ruleId":"D1","level":"warning","message":{"text":"SpacesUiKt.SpaceRow (cyclomatic 28): SpacesUiKt.SpaceRow has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"517ad62914bae670ebbbd0061d24f2f0c0ab6f68939d8623b74a679db697fe13"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuDialogFragment.onCreateView (cyclomatic 27): MenuDialogFragment.onCreateView has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915bcae453f61780ca30f5d0f5ad7332b6597947f809347af6164ef69fad6c6"}},{"ruleId":"D1","level":"warning","message":{"text":"MainMenuKt.MainMenu (cyclomatic 27): MainMenuKt.MainMenu has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0294aab7a9618e0302ec9878a6d6d7f362a0a65364e429b681d9e758c6f3e228"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolbarMiddleware.invoke (cyclomatic 27): BrowserToolbarMiddleware.invoke has cyclomatic complexity 27 (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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47d83352277e808d7d81ca2c1f545542de8c3f933bd6ea99323672295ad3dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationsDialogReducer.reduce (cyclomatic 27): TranslationsDialogReducer.reduce has cyclomatic complexity 27 (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/org/mozilla/fenix/translations/TranslationsDialogStore.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61f314bbca1060e9a5c637b33f3f56a854e3455735fcdec26a61a5401e31b8"}},{"ruleId":"D1","level":"warning","message":{"text":"EssentialsSectionKt.EssentialTile (cyclomatic 27): EssentialsSectionKt.EssentialTile has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e81e97ebd63be901516b25fa62aa97c2ae2aa0fcb51a05bbd143d64c8d9eda8"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchPopupKt.SearchPopupContent (cyclomatic 27): SearchPopupKt.SearchPopupContent has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SearchPopup.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47bee5f9d040abb5d8a4b47b0554a50a3efde9247242c4431c9f7e4c6aa3b75"}},{"ruleId":"D1","level":"warning","message":{"text":"TabPreview.buildAction (cyclomatic 25): TabPreview.buildAction has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b700638d7966cf5e051b3cd606730db08778622d9727084d504b637cfe261832"}},{"ruleId":"D1","level":"warning","message":{"text":"HomepageKt.Homepage (cyclomatic 25): HomepageKt.Homepage has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"285f33c3f472a2465c9ea80effabbf06b55a86261050bdf1c5a53038ec87fda0"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryFragmentStoreKt.historyStateReducer (cyclomatic 24): HistoryFragmentStoreKt.historyStateReducer has cyclomatic complexity 24 (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/org/mozilla/fenix/library/history/HistoryFragmentStore.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d7a2461fc3bfc32786a949bb4751394017ec751e343a0418b3fb792ca11890"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarContentKt.SidebarTabItem (cyclomatic 23): SidebarContentKt.SidebarTabItem 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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f031d3cbbb5c6ef0109f692b19bf8b1092a5abe46bc326430a6f7d5e378300e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseBrowserFragment.initializeUI (cyclomatic 22): BaseBrowserFragment.initializeUI has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf82b25b88759172def2479b6a8e3d7d77a9c6e1d5a1ea96c706681f8e1c101"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomTabMenuKt.CustomTabMenu (cyclomatic 22): CustomTabMenuKt.CustomTabMenu has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f3bc5a9fd1acb054572de910fd1eb2597c298548557331f9b0cb6b5680f3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchSuggestionsProvidersBuilder.getProvidersToAdd (cyclomatic 22): SearchSuggestionsProvidersBuilder.getProvidersToAdd has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/awesomebar/SearchSuggestionsProvidersBuilder.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd332bc4c0a19cc679b431fedc605bfe27fd99e96a9e2159980dcd15183345a"}},{"ruleId":"D1","level":"warning","message":{"text":"TabsTrayTelemetryMiddleware.handleGeneralTabsTrayAction (cyclomatic 22): TabsTrayTelemetryMiddleware.handleGeneralTabsTrayAction 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/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c084695a70e7e4f45c6f32f2b922f9e25edb3297321bcb30713d6e94a0da629b"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryAdapter.onBindViewHolder (cyclomatic 21): HistoryAdapter.onBindViewHolder has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/history/HistoryAdapter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a24465584f928b75a64b2439228eff52b262e120117373953a6dc5f6f5ddfb1"}},{"ruleId":"D1","level":"warning","message":{"text":"TabsTrayTelemetryMiddleware.handleTabGroupAction (cyclomatic 21): TabsTrayTelemetryMiddleware.handleTabGroupAction has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"960f53649bf5d159b8a05068526fed0e662ebbde28e284ea8be7958c2d7e4ebe"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarContentKt.AutoHideOverlay (cyclomatic 21): SidebarContentKt.AutoHideOverlay has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"561acda9ed20fee2f1a21feb4fb4e3606a56548c45a25bd5c7cc2631f308b7c8"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarDragLayerKt.SidebarDragLayer (cyclomatic 21): SidebarDragLayerKt.SidebarDragLayer has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarDragLayer.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703d5d726bc5c1d8dff25907fedbc6476b0c26ad600104743066ff995cab38c"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeActivity.onCreate (cyclomatic 20): HomeActivity.onCreate has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28c8f6bdc3efb69ba34e0555c598b6ac861b79e4454a6817823bca573843e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarksReducerKt.handleListMenuAction (cyclomatic 20): BookmarksReducerKt.handleListMenuAction has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: BookmarksReducerKt.bookmarksReducer (cyclomatic 38) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksReducer.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"af711acf2c7f159a46c7a357092597642d8971ad3a807a4b46572e1e3ae228a3"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedTabsUiKt.FolderRow (cyclomatic 20): PinnedTabsUiKt.FolderRow has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3868ba04ad5aacfeb9186f20477b82c36ded19f0b8f49001679af5be45059b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"AwesomeBarComposable.SearchSuggestions (cyclomatic 19): AwesomeBarComposable.SearchSuggestions has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cc03b9b0e14f7816f255c81fc2ca577c1df78ca2d2971eba779de7d41054c3"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultFenixSettingsIndexer.parseXmlFile (cyclomatic 19): DefaultFenixSettingsIndexer.parseXmlFile has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/settingssearch/DefaultFenixSettingsIndexer.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd664ab6b340bef47fa970edb631f7c706a66f5d90f8fd9c2ef2760369ff8b2"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadLanguagesPreferenceKt.DownloadLanguagesPreference (cyclomatic 19): DownloadLanguagesPreferenceKt.DownloadLanguagesPreference has cyclomatic complexity 19 (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/org/mozilla/fenix/translations/preferences/downloadlanguages/DownloadLanguagesPreference.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"888824d9256e3045491731a563b8844ac71f9248488d8204433c4bcf0f19f3c8"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarStateKt.toSidebarUiState (cyclomatic 19): SidebarStateKt.toSidebarUiState has cyclomatic complexity 19 (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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf8ef75c58e0a794a8c3feb78cd2268c635ac0d7a9aab052172c9a955f6f436"}},{"ruleId":"D1","level":"warning","message":{"text":"AddressBarKt.addressSwipes (cyclomatic 19): AddressBarKt.addressSwipes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/AddressBar.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d2aa74e7d42fbadf6fc568e91916947baeccc2629c1178bf539d507b0dc579"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedTabsUiKt.PinnedTabsBlock (cyclomatic 19): PinnedTabsUiKt.PinnedTabsBlock has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec990a0e4152720f67a766c55b082ba7ba9ef073b17b26fc29c5485555de46c"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarContentKt.SidebarControls (cyclomatic 19): SidebarContentKt.SidebarControls has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"e053d74f83103d4803b24cb0704fb670174f94aeaed5423322730e8bcfb973e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ZenOutbound.project (cyclomatic 18): ZenOutbound.project has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/sync/ZenOutbound.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a4d0c29b789597b9a38e0fd12d02a063b9fd20d1b88cb0824785024317ec50"}},{"ruleId":"D1","level":"warning","message":{"text":"FenixApplication.setStartupMetrics (cyclomatic 17): FenixApplication.setStartupMetrics has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a6c6fe46eac28513b115bc0f699a2de92bc5a2ee132ffed10dcae31b5e49c9"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolbarSearchMiddleware.buildAutocompleteProvidersList (cyclomatic 17): BrowserToolbarSearchMiddleware.buildAutocompleteProvidersList has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf39b1ea0bbd7b14bbb11b6ba2fb8a4cbea7b2a7d920ce7e0e5259dd5de799d"}},{"ruleId":"D1","level":"warning","message":{"text":"FenixApplication.setPreferenceMetrics (cyclomatic 16): FenixApplication.setPreferenceMetrics has cyclomatic complexity 16 (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/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7abbcd5f3d56dd83572a2c703aaefa841e58ff984d596b9565136134f30d36"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarksScreenKt.BookmarksList (cyclomatic 16): BookmarksScreenKt.BookmarksList has cyclomatic complexity 16 (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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8509acc139ea9a92e433beca1ebcaaa7a5e2599e418c405b54c1ebd00c158328"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentRecommendationsReducer.reduce (cyclomatic 16): ContentRecommendationsReducer.reduce has cyclomatic complexity 16 (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/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ed445cf3bb5e10d90943db5c382445500897f6d84514cf3d0dcab78d8e6a5"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryMetadataMiddleware.invoke (cyclomatic 16): HistoryMetadataMiddleware.invoke has cyclomatic complexity 16 (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/org/mozilla/fenix/historymetadata/HistoryMetadataMiddleware.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdd3ec7f0c431dea808d82caf8240dcc56f6360f8778d815c6d357e9568d8ac"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserToolbarMiddleware.buildHomeAction (cyclomatic 16): BrowserToolbarMiddleware.buildHomeAction has cyclomatic complexity 16 (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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4197fa280fa69a959bdb610127122347914ddc1912e8b1770d785b97eed983"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarKeyboard.intentFor (cyclomatic 16): SidebarKeyboard.intentFor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/SidebarKeyboard.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d13d964ae9850ee4d6f6bc9366661de8541194abd4462bc9ee4c6b19a1c09b"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarContentKt.SidebarPanel (cognitive 132): SidebarContentKt.SidebarPanel has cognitive complexity 132 (threshold 15). Drivers by points: if/else 85 (106 pts), boolean chains 23, match/switch 3 (nesting depth added 21). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"397446bee0b92e56233fa465213f30d66abd635a89579bbcf64f2db984e9c2ef"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserToolbarMiddleware.invoke (cognitive 63): BrowserToolbarMiddleware.invoke has cognitive complexity 63 (threshold 15). Drivers by points: if/else 28 (47 pts), match/switch 5 (9 pts), boolean chains 7 (nesting depth added 23). 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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8aaa3d83e5c385fbfa4df395c302461945f7920d2019da730373b5c74ac648"}},{"ruleId":"D2","level":"warning","message":{"text":"BookmarksMiddleware.invoke (cognitive 59): BookmarksMiddleware.invoke has cognitive complexity 59 (threshold 15). Drivers by points: if/else 24 (52 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 31). 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/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"005b8ff20894ecf341b8d0d0aaefd5f36323304e3ed6fb1f2151b80da9ab7186"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserToolbarMiddleware.buildAction (cognitive 55): BrowserToolbarMiddleware.buildAction has cognitive complexity 55 (threshold 15). Drivers by points: if/else 31 (46 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 16). 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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eb33e855234868faaf780ba265ba06c918fe41aa151b96a6c1a25ac99c23d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarIntentHandler.handle (cognitive 52): SidebarIntentHandler.handle has cognitive complexity 52 (threshold 15). Drivers by points: if/else 23 (43 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 21). 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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd83caa2598a6f2be87b0068cdd1a53d4ef7a8828fd4e5d9b3d1ddd48ace69f5"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarHostKt.SidebarRoot (cognitive 51): SidebarHostKt.SidebarRoot has cognitive complexity 51 (threshold 15). Drivers by points: if/else 31 (33 pts), boolean chains 13, match/switch 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/SidebarHost.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"10deba71adf5a356ce79a069f1683f281a09e06cdf9abf2ad507dde6fbabb8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"SpacesUiKt.SpaceRow (cognitive 49): SpacesUiKt.SpaceRow has cognitive complexity 49 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d199b59e8bbd8433b192b261089e3efa3f3443d47ce3cf18dba45642d674a42e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseMetricController.process (cognitive 44): ReleaseMetricController.process has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (25 pts), match/switch 9 (17 pts), error handling 1 (2 pts) (nesting depth added 16). 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/org/mozilla/fenix/components/metrics/MetricController.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24b0c83805dd85fc0d62b0ff0ce1b2652cf1fe781908467bd4c8e0be930e55a"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuNavigationMiddleware.invoke (cognitive 42): MenuNavigationMiddleware.invoke has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (34 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 17). 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/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba1509b9973127e75adaf6cf5e0dacefe9aaa943059f9aa1cab6791cb74090"}},{"ruleId":"D2","level":"warning","message":{"text":"HomepageKt.Homepage (cognitive 42): HomepageKt.Homepage has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 24). 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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34e39530d16c3a052f47683c650f390b8a7ca9122c2f452a6f1d65b78c738fa"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomTabMenuKt.CustomTabMenu (cognitive 41): CustomTabMenuKt.CustomTabMenu has cognitive complexity 41 (threshold 15). Drivers by points: if/else 32 (40 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ee034f1abd2018ccbcdc3de66236648a9afe659dde4b88b8021ff8e83ce128"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedTabsUiKt.PinnedTabRow (cognitive 41): PinnedTabsUiKt.PinnedTabRow has cognitive complexity 41 (threshold 15). Drivers by points: if/else 33 (35 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc08c5c3c443d3614cb7016af43b72ddcb18d9d4e001c45796845470b70875a"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuDialogFragment.onCreateView (cognitive 39): MenuDialogFragment.onCreateView has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 11, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9363e14019f4a834623b6aa75248017f881a062d30f4013f1d26ab894c6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"MainMenuKt.MainMenu (cognitive 38): MainMenuKt.MainMenu has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 9 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"308de1bf32f6e77c2df858e6c20d09de9c2b8981a479f65e76ff3550380c288d"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarContentKt.AutoHideOverlay (cognitive 37): SidebarContentKt.AutoHideOverlay has cognitive complexity 37 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 4, error handling 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92cac2134d57af3fece03efb7625ec897965b4eed6595b5f7ec13f36da4eb22"}},{"ruleId":"D2","level":"warning","message":{"text":"EssentialsSectionKt.EssentialTile (cognitive 36): EssentialsSectionKt.EssentialTile has cognitive complexity 36 (threshold 15). Drivers by points: if/else 31 (32 pts), boolean chains 2, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"409c2f4527dad979ce70913758572ca1e1639d93c66dfa07da67c90fd15c0314"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarContentKt.SidebarTabItem (cognitive 36): SidebarContentKt.SidebarTabItem has cognitive complexity 36 (threshold 15). Drivers by points: if/else 27 (32 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03e1412cebcb6f9859a5977dac6fb65e783f2df5887cc414dd85353688c6dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseBrowserFragment.initializeUI (cognitive 33): BaseBrowserFragment.initializeUI has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e69b842e236edb02e3b7d5969293ec81597af0a52cdbbdb7b52354b2208e953"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchPopupKt.SearchPopupContent (cognitive 32): SearchPopupKt.SearchPopupContent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 6, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SearchPopup.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4a486b4b4ee94e3d6a3ff0f9ff1155d63ae0bf78f7b512b4b4fe1b3f1fd37f"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryAdapter.onBindViewHolder (cognitive 31): HistoryAdapter.onBindViewHolder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/history/HistoryAdapter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0894ae35da87c67fb69f271c305d64aa01fe8b14ec54a125d1ccf86e7a182c77"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedTabsUiKt.FolderRow (cognitive 31): PinnedTabsUiKt.FolderRow has cognitive complexity 31 (threshold 15). Drivers by points: if/else 30 (31 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8daa56a2af722fc82f808705ff4ab62a31fcb95af59bc9aeea58cfebde3ad79"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFenixSettingsIndexer.parseXmlFile (cognitive 30): DefaultFenixSettingsIndexer.parseXmlFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (19 pts), match/switch 3 (8 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/settingssearch/DefaultFenixSettingsIndexer.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a268eca010e8d339ab9b98447026ef722433c7ae620f95c1b7a2a653701255db"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarDragLayerKt.SidebarDragLayer (cognitive 30): SidebarDragLayerKt.SidebarDragLayer has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 3, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarDragLayer.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf11944491c765a21f45599164b8d672da54bbd845315cb9b5290b187b4504"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressBarKt.addressSwipes (cognitive 29): AddressBarKt.addressSwipes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/AddressBar.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"041b76269d94fee12c919031ee8ff97ebf0403b09f6ae5b8bd564cd1851ce155"}},{"ruleId":"D2","level":"warning","message":{"text":"FenixApplication.setStartupMetrics (cognitive 26): FenixApplication.setStartupMetrics has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55dfd97dbc133740b20a4507a772dd8980bb6e5a53cb5471ad0709da408b3d9"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeActivity.onCreate (cognitive 26): HomeActivity.onCreate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6a2691ad543b46dbc01ecce20e9c44765635f8525d84c1c3f9441412e7851c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchSuggestionsProvidersBuilder.getProvidersToAdd (cognitive 24): SearchSuggestionsProvidersBuilder.getProvidersToAdd has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/awesomebar/SearchSuggestionsProvidersBuilder.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef5e6dc84c365806d96002e4ae368389dfce7da550bdc0761367f219fc402e"}},{"ruleId":"D2","level":"warning","message":{"text":"TelemetryMiddleware.invoke (cognitive 24): TelemetryMiddleware.invoke has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, match/switch 2 (nesting depth added 8). 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/org/mozilla/fenix/telemetry/TelemetryMiddleware.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe075bddc23eacee11d20ba212ad3def48a790c41a5af126b5956ee4d6dbbc63"}},{"ruleId":"D2","level":"warning","message":{"text":"ZenOutbound.project (cognitive 24): ZenOutbound.project has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 7 (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/pt/dweep/sideraven/sync/ZenOutbound.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad94cf6930b5618bac331fab626058688363b1eb008e6e85d8b4bad573c0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuTelemetryMiddleware.invoke (cognitive 23): MenuTelemetryMiddleware.invoke has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 6, boolean chains 2 (nesting depth added 7). 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/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"11619ff2707ff133099eba15838c2fdb74b89bd308405a6e33476de75affafa4"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryFragmentStoreKt.historyStateReducer (cognitive 23): HistoryFragmentStoreKt.historyStateReducer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 9). 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/org/mozilla/fenix/library/history/HistoryFragmentStore.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6679db08d00e3d39a7894acd361693b0a63a92026af89a9f02f9241d809e157"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedTabsUiKt.PinnedTabsBlock (cognitive 23): PinnedTabsUiKt.PinnedTabsBlock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baecf0b135c154d883c55721ee7d689c1aebeebd718eec16f2220eb76d481d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarContentKt.SidebarControls (cognitive 23): SidebarContentKt.SidebarControls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 3 (5 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe708b3dfba6c0b6767174ad41357c4c484b58351c48a3740d356437805eacb"}},{"ruleId":"D2","level":"warning","message":{"text":"TabPreview.buildAction (cognitive 22): TabPreview.buildAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"672c41ace8f8aeb817d818c2ee4c702999f4bd27bc18aa48938e750e0715cb1d"}},{"ruleId":"D2","level":"warning","message":{"text":"AwesomeBarComposable.SearchSuggestions (cognitive 22): AwesomeBarComposable.SearchSuggestions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 3 (7 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebf7b118a61a468b217477a405aeb064cd661d010d1f607565345c5b8830f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZenSyncRunner.sendToDesktop (cognitive 21): ZenSyncRunner.sendToDesktop has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), error handling 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/sync/ZenSyncRunner.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a671f040cacd1043d8f8231c83fada25ec8a2b36e7e32334fd44ee2b00745"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserToolbarSearchMiddleware.buildAutocompleteProvidersList (cognitive 20): BrowserToolbarSearchMiddleware.buildAutocompleteProvidersList has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (19 pts), if/else 1 (nesting depth added 12). 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/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e6b36221b5b82690f4bdbe7ca286d9140121801024c03ec92283a3beb4f13"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationsDialogReducer.reduce (cognitive 20): TranslationsDialogReducer.reduce has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogStore.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"66836d13cb3da0dc4ed3824a2d094f45bbb40fbe4213488a25b94e3dfa8820bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarStateKt.toSidebarUiState (cognitive 20): SidebarStateKt.toSidebarUiState has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 5, match/switch 2. 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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2815e8fac22c83338ae890000d71290a959a7c826f6da4aa4bdd3b0da4949f72"}},{"ruleId":"D2","level":"warning","message":{"text":"SpacesUiKt.SpaceDialog (cognitive 20): SpacesUiKt.SpaceDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"047643cead7d1bfcc6184e75dd60f962fc28aa3cc096e155cd789a8d9076fb6d"}},{"ruleId":"D2","level":"warning","message":{"text":"LongFoxGameScreenKt.LongFoxGameScreen (cognitive 20): LongFoxGameScreenKt.LongFoxGameScreen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/LongFoxGameScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c77f332e0db3fabeebd4663b65236ba4cfd7042ef271e275972ba3396d5f01"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupChecklistReducer.reduce (cognitive 19): SetupChecklistReducer.reduce has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). 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/org/mozilla/fenix/components/appstate/setup/checklist/SetupChecklistReducer.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f7e76de0b374cbaabeb9623ac749707b90e06cbfd6b723a02fff38ea18db09"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadLanguagesPreferenceKt.DownloadLanguagesPreference (cognitive 19): DownloadLanguagesPreferenceKt.DownloadLanguagesPreference has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (7 pts) (nesting depth added 1). 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/org/mozilla/fenix/translations/preferences/downloadlanguages/DownloadLanguagesPreference.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5dd0b2b98e34cd8c9ec6af3fe60190f1435dd814484d1ee7da933300b66d82"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarDragLayerKt.DragGhost (cognitive 19): SidebarDragLayerKt.DragGhost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarDragLayer.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb9115c7b7fa5c811168de6a359015fbd8b311cb468aacf6c7cdf083c2147e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ZenSyncPreferences.install (cognitive 18): ZenSyncPreferences.install has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/sync/ZenSyncPreferences.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be0f6fab4061ff79ff95587e8c277c0d38dfa5f10e6b058915ee3ca8b588f89"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryMetadataMiddleware.createHistoryMetadata (cognitive 17): HistoryMetadataMiddleware.createHistoryMetadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/historymetadata/HistoryMetadataMiddleware.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db0245858c0f5645b0c7e20c91f80abbc0fee4763828394d5d04686e361d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"PagedAMOAddonsProvider.fetchFeaturedAddons (cognitive 16): PagedAMOAddonsProvider.fetchFeaturedAddons has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"933bde5a96dd8a5f0fbd1efd002c8cac3d1ebe7cba5a62fa58c74ef20585ce08"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolbarHorizontalGesturesHandler.getDestination (cognitive 16): ToolbarHorizontalGesturesHandler.getDestination has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/gestures/ToolbarHorizontalGesturesHandler.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4ff50eb51269a84bac7dbb32d42387277fbcd5ea0797849bcb83535f91329"}},{"ruleId":"D2","level":"warning","message":{"text":"FragmentKt.getBottomToolbarHeight (cognitive 16): FragmentKt.getBottomToolbarHeight has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ext/Fragment.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1331c16f167413e7745410cc0cac0daca95b592a7aa9cc0412ab52f2c83a35"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserToolbarMiddleware.invoke (cognitive 16): BrowserToolbarMiddleware.invoke has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), match/switch 3 (5 pts), boolean chains 4 (nesting depth added 3). 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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5625260b0c725e35f865ca46bf810f3dd86b27c34b2c5bbe28ff38205faa1a06"}},{"ruleId":"D2","level":"warning","message":{"text":"ListReorderState.onDrag (cognitive 16): ListReorderState.onDrag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d1a6b473f2605c1136db827915e1e3861949af436b593945b7d9fea208dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineCompletingFieldKt.InlineCompletingField (cognitive 16): InlineCompletingFieldKt.InlineCompletingField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/InlineCompletingField.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3869ea8954cad01cccd7c95b6212c037124478b20504ea6999b4aa9dc98a91a5"}},{"ruleId":"D2","level":"warning","message":{"text":"NimbusAssembleToolsTask.assembleTools (cognitive 16): NimbusAssembleToolsTask.assembleTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e501643e9c4ba9168248271a64a1ce3d230dac39482e55580f2f729f06dd088"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseBrowserFragment.initializeUI: MethodTooLong \u2014 initializeUI runs 699 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 599 over it, 6.99\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/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4415d8c776bb4daddb14ee81874a931e8c0ee3f6009dd59371d160c5e6e1bf47"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Settings: ClassTooLong \u2014 1982 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 1582 over it, 4.96\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/mozilla/fenix/utils/Settings.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6cf2537baf778f7f71765ceb0ce5975eccc07be1b4a49fa6552d06fc55c9bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidebarContentKt.SidebarPanel: MethodTooLong \u2014 SidebarPanel runs 448 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 348 over it, 4.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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452ff56bdc1c1e24393c1a900e653d3aa8a57d176deb3aa624f7144eb5ee9a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseBrowserFragment: ClassTooLong \u2014 1690 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 1290 over it, 4.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/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab610259f08099420286ab7f6c39c83ab4a3f3f87987cf7759a15b851702736"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidebarHostKt.SidebarRoot: MethodTooLong \u2014 SidebarRoot runs 415 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 315 over it, 4.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/SidebarHost.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5108ef06e2aeb4fc3988d27e8b443a176014634179bd70a1baf11b782c7764"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/Settings.kt: FileTooLong \u2014 2058 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Settings (94-3634). The bar is 500 significant lines; this is 1558 over it, 4.12\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/org/mozilla/fenix/utils/Settings.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c9312e8675daf48a3cf877c8c73af04ba5c6a3ff95033da9632a17f4f36378"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/SidebarContent.kt: FileTooLong \u2014 1954 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1454 over it, 3.91\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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef70ae58b72026d41f2b4bab3d2196bb0869ebc2a0e935e5eacd1ab1010e7866"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: browser/BaseBrowserFragment.kt: FileTooLong \u2014 1935 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: BaseBrowserFragment (256-2775). The bar is 500 significant lines; this is 1435 over it, 3.87\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/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdf48ab868ab6fff00186d9ed61c21028ee6c938962076aa46fd8c7a11362e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tabpage/TabLayout.kt: FileTooLong \u2014 1742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1242 over it, 3.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a1601ac23badacc3e496eeebe52f85a50ae36cea9f967d2e9ce0e42b132b74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SecretSettingsFragment.onCreatePreferences: MethodTooLong \u2014 onCreatePreferences runs 310 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 210 over it, 3.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"22514bfa750edd600cde3958931c7e5771955f9971ff9a97fbbdf81c82228c32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowserToolbarMiddleware.invoke: MethodTooLong \u2014 invoke runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ccdadea8391b01427853185e3c40451b95134b208f5c7803cced756eb3e5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseBrowserFragment: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\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/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f0aef9b81a724703c792a6c39d2662fe0df3c77462212c344e5b8ebad92243"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksMiddleware.invoke: MethodTooLong \u2014 invoke runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"489b472c2b3d773a223068139617dee49b012772b1e4b8472d71df7b7f2b9e97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomeActivity: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec1130832766abed9b440e6b150dfbf66eb282a73fb355c57c5503a794a36af"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeFragment: ClassTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 585 over it, 2.46\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/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43cfd2c79ecaa8ca5bfe65040e00a3645299a24bf48a9f5dd1559baa34a9aa4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuNavigationMiddleware.invoke: MethodTooLong \u2014 invoke runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a18aa47764480ea3d59c6c7ffbcb853d2457899b006029526026f48cb1ecee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bookmarks/BookmarksScreen.kt: FileTooLong \u2014 1195 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 695 over it, 2.39\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f553855b2479a10020d2bf892cd5fc2232624aa01e60e6c410703dd495f16d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeActivity: ClassTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 400 significant lines; this is 551 over it, 2.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6dd60456ec4463f9a70f597c94f1353613c00917caf5a270b0065bffa26691"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home/HomeFragment.kt: FileTooLong \u2014 1180 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: HomeFragment (203-1702). The bar is 500 significant lines; this is 680 over it, 2.36\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/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cf9bb690610f48b5eaf05f61e14e9ac0f6c107bfe06105682ba5450f318132"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserToolbarMiddleware: ClassTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 531 over it, 2.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"689b338349972cb2f7b2f9808d61f315ce23172e8cb9b85100545cecdd459df5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fenix/HomeActivity.kt: FileTooLong \u2014 1155 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: HomeActivity (218-1876). The bar is 500 significant lines; this is 655 over it, 2.31\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/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588908f04b728c0bdb5854e25c1cffd420b1f2078cfc608a96c4b91aecb1bfa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toolbar/BrowserToolbarMiddleware.kt: FileTooLong \u2014 1128 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: BrowserToolbarMiddleware (266-1650). The bar is 500 significant lines; this is 628 over it, 2.26\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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdce2e4033eae8d7eaa4aeff9b8382437185be9f489f7e695f7c0bd7401e62c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: list/ListItem.kt: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 493 over it, 1.99\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/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c957022500a0fe839bcdbbef74f93eb8b887a68d87f2ab71c5acd9d31110716"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionControlInteractor: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.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/org/mozilla/fenix/home/sessioncontrol/SessionControlInteractor.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7801806248ba525feee1eecf513c7da3af3e2be7048f59c869a6efa35674e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HomeFragment: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23d6c5bca3c9b9984cc4ab37b3c6fbe7f3ffd2e31422882824f0faacdb31899"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TabManagementFragment: ClassTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 355 over it, 1.89\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/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"322cdcfe4ddadf15b756b7624763e335f46c1df76a39793e5375ae504d4ed5d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FenixApplication: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f64445c8f336c1308f139939d65ca9333003946c7cf237e4579341d362125"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/TabManagementFragment.kt: FileTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: TabManagementFragment (146-1285). The bar is 500 significant lines; this is 399 over it, 1.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7c9a2fe684ba4b6f68c3d58b2140ae8be4ba33e8ce374ad8ffad9c60c7250d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Settings: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/utils/Settings.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcae5069d42bc5bde796f47607bc6bb88331f2cfda92d0aa5ee2652c2d8e6ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MenuDialogFragment: ClassTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 299 over it, 1.75\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb887db558be976ef56dfd839211eea54b8e6d8e23d76146e095c60b66fb108"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeActivity.onCreate: MethodTooLong \u2014 onCreate runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2bd5b735cbc70db5bf5071d47b2b78b2744bec3d64323204ccfa930689e164"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchFragmentStoreKt.searchStateReducer: MethodTooLong \u2014 searchStateReducer runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d956613bbd770ffaa6a65fd41a36ef57cd8d768e6218270ea0dbaedbedff2498"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SnackbarBinding.onState: MethodTooLong \u2014 onState runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a5b9c387ed1f2ce02e7ecaee7faf85309f164fbed98a3546ebe13c8231efa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: menu/MenuDialogFragment.kt: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: MenuDialogFragment (146-1156). The bar is 500 significant lines; this is 334 over it, 1.67\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388968675c9543d030badb357772b35c265847f8c306d5a6b0659659df7122f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FenixApplication: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 242 over it, 1.61\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/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8df0cb5e8794a503c2d853be0c31139b947ab92baed2b4389837b830e62c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fenix/FenixApplication.kt: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: FenixApplication (164-1417). The bar is 500 significant lines; this is 296 over it, 1.59\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/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39ec9875a11588dbc524da0fe11106a5d966a7468cb4ecfa6acf7e0b911b735"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchPopupKt.SearchPopupContent: MethodTooLong \u2014 SearchPopupContent runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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/pt/dweep/sideraven/ui/SearchPopup.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d5349b0ab242b1d28cfbd583f69f5105c07998c536f7c63c0e0721d833d1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EssentialsSectionKt.EssentialTile: MethodTooLong \u2014 EssentialTile runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6330e007ee10284b3868ae3e3623e26c67c2102149d7fdf80ce0f714c54e0842"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultTabManagerController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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/mozilla/fenix/tabstray/controller/TabManagerController.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"534e96f5e046d5419cf0dab537867c51b42ba1e9096291157f4d73eeb54408ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomTabMenuKt.CustomTabMenu: MethodTooLong \u2014 CustomTabMenu runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d9e27dffdb1392bf66ff1afe30582dc14eaab52331d097428ff9a658669d4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sideraven/SidebarHost.kt: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\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/pt/dweep/sideraven/SidebarHost.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b494fb3da794af16fbc9f3ccb6824f2d09ff77da246fa9dbc795bbf48f5244"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidebarIntentHandler.handle: MethodTooLong \u2014 handle runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e139e652e6d7a6c3989c5df3556782c35934685bfa0bc14a6053bd3c2b3c5df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZenSyncPreferences.install: MethodTooLong \u2014 install runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/sync/ZenSyncPreferences.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d174926b78eb02e1a60dbd9125c6e848c136aee03b18bfb0b09f9543338df54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sideraven/SidebarState.kt: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b12ff710a4adb14474406647d94d2f1f38bdb6b7af447ac94b81e97e90a4033"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserToolbarMiddleware: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf98d89af37b6b8d3b2dc3e56ed188e5e3d43894fa37bf7d42ad3a6f0a9e0042"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TabManagementFragment: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d91ec024831ff71f00ba52af8238ecc74edbbf02b6365bc6eb4efe149e8b38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/SpacesUi.kt: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e037f15ddd5ed31f0cfb35a905ab42061c1d0ee2a8679c156e7af32fc0d377f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidebarContentKt.SidebarTabItem: MethodTooLong \u2014 SidebarTabItem runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1c5a9240d0d166c0e96cae86bc2dc7b37ff5a603638be218b69b840eb3bf7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LensCameraFragment: ClassTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 163 over it, 1.41\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/mozilla/fenix/components/lens/LensCameraFragment.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d083a0493549b375f47805c8d6392ac4a42bd839c6effe6db916249c06fccdfb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuTelemetryMiddleware.invoke: MethodTooLong \u2014 invoke runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0327d90c63a8678b4fc14119ee8f737345e199ee5d16a521de97f94853b0fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsFragment.onPreferenceTreeClick: MethodTooLong \u2014 onPreferenceTreeClick runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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/org/mozilla/fenix/settings/SettingsFragment.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"339d804c1a19621d1501896d7c865298b96d69968e4e91070eecc47784252e3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadsScreenKt.DownloadsScreen: MethodTooLong \u2014 DownloadsScreen runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"003182ca34bd664bf3fba8a08610e7261d83f368d0373d0eeac19f00f9258e39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidebarStateKt.toSidebarUiState: MethodTooLong \u2014 toSidebarUiState runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85fe6f31e7d147e7dd8a65270dd953464f110a4be0a234417f99a92dfe3cd07"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsFragment: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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/mozilla/fenix/settings/SettingsFragment.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"df339aa3faaf7f3b516f8ca6e449fef92b873ed02f942ef477c17a5538964d49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compose/MainMenu.kt: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 148 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f43c4944a882c3a3b261782f6f67dea12f370e47518b705667ef0fd91b9aba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookmarksMiddleware: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 118 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/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0588ea675ea63e5c744592674c690ea5850da91020b73b88d12530ca8224fc00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: listscreen/DownloadsScreen.kt: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dab937c44955467b2040687906d830e753ded5a78e809ba78e647ef4bbd36c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AwesomeBarComposable.SearchSuggestions: MethodTooLong \u2014 SearchSuggestions 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/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dac1720533cc997d0973dc748ee2c5c6eda813ce33c9dc6806a4fb35558eec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksScreenKt.BookmarksListContent: MethodTooLong \u2014 BookmarksListContent runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adc3eac9d068c3f308afc2f7e99010f92ae2693527e967efcdc020803cbdcfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lens/LensCameraFragment.kt: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: LensCameraFragment (68-930). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/lens/LensCameraFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cfb32fc76011d9b5453118268af7aa6cbc1371f0ae090aeb388d891004c08a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LensCameraFragment: 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/mozilla/fenix/components/lens/LensCameraFragment.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5580a32cc833a2d35e5165f71dfe02c59bb0af9cf3d081f2e62ebbbb2425981c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsFragment.kt: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: SettingsFragment (97-942). The bar is 500 significant lines; this is 112 over it, 1.22\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/org/mozilla/fenix/settings/SettingsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cce6913d71bd9e99061669597e3f8a3906c6b0faf06d11878bc282e3910fa8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TabPreview.buildAction: MethodTooLong \u2014 buildAction runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"23be849541a9214d9abffa76348291f9bae66144a69071821ede9b217555eed9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: history/HistoryFragment.kt: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: HistoryFragment (139-834). The bar is 500 significant lines; this is 99 over it, 1.20\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/org/mozilla/fenix/library/history/HistoryFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298db353e8a91dba89d75e2ee071993836606eabb70c0d7c100a90170dee2612"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TabStorageMiddleware: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 77 over it, 1.19\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/mozilla/fenix/tabstray/redux/middleware/TabStorageMiddleware.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae62b309dba392cd9990fff05d56210b440320b7a0b54915a70d8a87ddf925d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/Homepage.kt: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffdc936f9f6d30a77d1ce70e0db9223a7684d0e4b24a60e46c7b3925a74bad8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HistoryFragment: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 69 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/mozilla/fenix/library/history/HistoryFragment.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f3fe25d3de8ce9a5d24c79e5b52178193c14d037d2f153cb7918c5f1e01df9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchEngineFragment.onResume: MethodTooLong \u2014 onResume 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/org/mozilla/fenix/settings/search/SearchEngineFragment.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f5358e8c05ddb20074102876169ab589847e6e7564b932de985d83ab39c8e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowserToolbarMiddleware: 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/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ebb64341aa9198b00223105134badcf138d910bd8b74742f0cc2cbe208329"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bookmarks/BookmarksMiddleware.kt: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: BookmarksMiddleware (64-821). The bar is 500 significant lines; this is 78 over it, 1.16\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/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b797e9afb2abbd42f5a5878fc2c355dd5f8f0a35d13e17cb133762614641555f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/OnboardingScreen.kt: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127f8010fe1fe6780b54249294c2da81994ebc634c48a894ba0ebc76b8daec13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toolbar/BrowserToolbarMiddleware.kt: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: BrowserToolbarMiddleware (158-817). The bar is 500 significant lines; this is 59 over it, 1.12\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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab81c6898c330031f5d0837a74955bd14361a7bc9455be67cd6fd9576436ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddonPopupBaseFragment.onViewCreated: MethodTooLong \u2014 onViewCreated runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad8d78c1d1af3b09ce38422ff8a886f5c0daab3542642794da616eed637ebe1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserToolbarMiddleware: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 42 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74624ac9b8c3a513bcfd035c4f06cd0d288d102739a9b9f82bb721ec474275c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FenixApplication.setStartupMetrics: MethodTooLong \u2014 setStartupMetrics runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e9a5337b119dfacdd464f26e6bb435ae52eb1d87af375ac5ad88c7813bb04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SpacesUiKt.SpaceHeader: MethodTooLong \u2014 SpaceHeader runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530b21e05f72967d527962af66f6762b25c8a70341a10cb3dafb4f4b41d38f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Core.kt: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\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/org/mozilla/fenix/components/Core.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f04c54923e5c7cdb8af333bda16a4421dfd90fd571a6f77304546de29d4f548"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/PinnedTabsUi.kt: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"157686c7da4ca7eda27d0ab85aef3c8101e733bc01096d268d3f6b306f7344d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: middleware/TabStorageMiddleware.kt: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TabStorageMiddleware (93-863). The bar is 500 significant lines; this is 40 over it, 1.08\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/org/mozilla/fenix/tabstray/redux/middleware/TabStorageMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74becc0088efb9a239b65d0261ae0b640fd289dbd876d345ae357af70e53d352"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddonPermissionsScreenKt.AddonPermissionsScreen: MethodTooLong \u2014 AddonPermissionsScreen 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/org/mozilla/fenix/addons/ui/AddonPermissionsScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3678d797b9e7e42b961a125603f707bb37c1bcab7aad8fb85788a763d83f845"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/FileListItem.kt: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/ui/FileListItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aae7d480fd14074c9b490bceeba640395c097462476c016db3d34b7c083d91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Spaces: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/Spaces.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"70652f808d7759699ca30849bb51ac9738f3df5c5b984d20fac9bd05e9d524de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZenSync: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/sync/ZenSync.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b32be00fedc908b1cc1a62b20d18fd87659856579a6a8f23cab6335c86035"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interactable/InteractableGrid.kt: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084f759e8d02a7126b2a7ac037b3a31ac85be73f88f7826cfbdf2a28a60cdf1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search/BrowserToolbarSearchMiddleware.kt: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: BrowserToolbarSearchMiddleware (156-771). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a371529d4852bb6ab8df02b7b9d0a943711c4b25f1230dbd1dc3e0045685fc3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TabsTrayKt.TabsTrayPreview: MethodTooLong \u2014 TabsTrayPreview runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabstray/TabsTray.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8e31bb8475a669d89a4336583c05b3efff2d218f64b45607250c0c03fb11b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectPlugin: ClassTooLong \u2014 417 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 17 over it, 1.04\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":"plugins/conventions/src/main/java/org/mozilla/conventions/ProjectPlugin.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbdf4187a018a9efceb949b2379392bfc7871b68844bc44a6c875be736be277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomTabBrowserToolbarMiddleware.invoke: MethodTooLong \u2014 invoke runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71f6c27a30228279ab2428edaf4d536e36acab1cb19f30fa171dae2089fc0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksScreenKt.BookmarksList: MethodTooLong \u2014 BookmarksList runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8deb79163380a119d51300470148bf02bd329c2ee26fd8295aa581da8469b04e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddressBarKt.AddressBar: MethodTooLong \u2014 AddressBar runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/pt/dweep/sideraven/ui/AddressBar.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e97c3f593e703b52a4e85e0cd32f86049250b4b19c8d3cf1ed885dc4bffd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: translations/TranslationsDialogBottomSheet.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e09ec85765bc29fdc6c79c783e0259e73b50a1f2b4e9ed8e107542ff1683337"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SidebarPreferences.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/settings/SidebarPreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09449890c665231793078651fbe4dfd41bd6998215b6576701d589fe6d667740"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TabManagementFragment.onCreateView: MethodTooLong \u2014 onCreateView runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48b73159cb336f12b8a4f5a4257a50f0f58b5774a4f8a71b67643b27a614ea1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrowserToolbarSearchMiddleware: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 1 over it, 1.00\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/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a053ff6a2ceb927c140d922c8ab7a57928864e7ef98825ac4bc064a63a28f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1131-1197 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1563-1723 \u2014 These two members are one piece of code written twice and then edited apart: 34 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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"16457b3463bb0e6cbd650c1086043eeffa6dccfc6606f077aba5db06313efb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:111-128 | app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:180-244 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:71-124 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:172-189 | app/src/main/java/org/mozilla/fenix/trackingprotection/ProtectionsDashboardFragment.kt:34-51 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74110e7888f0e0fb2787ce80d32ecdb6b6ea2660cdd71b74e2d0c9939d278f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt:487-512 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:752-785 | app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:144-290 | app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserFragment.kt:171-193 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c92f27589314f12bf3c161536b1cc33847cca79714b7b7f774a31af525b04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:866-930 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionFragment.kt:143-191 | app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt:67-99 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:477-522 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a5ee124d5f1b2991b1669d925c850c5e5005d24a1f3a5528a9c30afa616bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:604-642 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:646-684 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:688-717 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:721-750 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ea786ca49af710aa5b5ab7917da7461b1a08c03eb87fce826a4393c67ff427"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1817-1854 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1860-1896 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1900-1937 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1941-1977 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"88258733fd51aa036355cecdde7508ba162ef40cc6e366c48bc33f7f73db96a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (200 corresponding lines): app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:276-475 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:218-458 \u2014 These two members are one piece of code written twice and then edited apart: 200 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/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3021cdc7d03e322c47bd5e712b7e1713fa20db944691d62493bb66f4985ed6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:997-1107 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1295-1386 \u2014 These two members are one piece of code written twice and then edited apart: 92 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/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dc9577047eee71e11a8aa462f154f55e228278b6a0ad3d2ba29c55fe682b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:89-215 | app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt:40-137 \u2014 These two members are one piece of code written twice and then edited apart: 98 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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c99ee28929cd321967055cbbdeda912932318703be93268f7ca345f46e2348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:467-540 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:413-482 \u2014 These two members are one piece of code written twice and then edited apart: 70 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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885f4c9d7c4fd7e18591ad0515b2116723b4da13bb3b0aee7074d1c743d9b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/compose/LibraryMenuItem.kt:128-195 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:520-591 \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/org/mozilla/fenix/components/menu/compose/LibraryMenuItem.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ab9c5573d003d957aa874c040d8d10ba03695848fb70e66aa83ccca404a2a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/autofill/ui/AutofillSettingsScreen.kt:134-186 | app/src/main/java/org/mozilla/fenix/settings/autofill/ui/AutofillSettingsScreen.kt:189-243 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/org/mozilla/fenix/settings/autofill/ui/AutofillSettingsScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bece9727acab9bdb957caf4270ba9498370a21fa2cc17ece37a81dce2e552d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1146-1182 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/SelectFolderScreen.kt:386-429 \u2014 These two members are one piece of code written twice and then edited apart: 37 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c3bd50e2477fef8d865cbf2368baf30490847e2edbb722fb48e9b8bdb9f7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt:68-133 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:75-149 \u2014 These two members are one piece of code written twice and then edited apart: 66 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/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776fdf0e3c35dd0aac2082317ddf72bc926c3cc9644ab71f41b48535fa7183e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:625-709 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:558-632 \u2014 These two members are one piece of code written twice and then edited apart: 75 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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fe58fe97ad00a4f483362d891b4dd4b7b2c94f7c73afecea499557f19bdc0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:569-613 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:503-547 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2baddda3aafa42ab61556f9e9ee0400b8a0c5d2d1469c923c80b8b12f26aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1260-1298 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1306-1340 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b46122a211b0a209cd9f626f72911b5fe90f55c7143e357dfea0577feeecb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/ui/AddFolderScreen.kt:59-109 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:56-115 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/org/mozilla/fenix/bookmarks/ui/AddFolderScreen.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddb37ccc3b8c4078df0fbdf27b7fd96192c896ada09a9fe839a755378bca40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:79-132 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt:81-136 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bae165d48164286d6974b3903889ead2398134223f46b1a8a04168f41c6de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:167-219 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:161-210 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f424ba4df76cccb7f85283860f99dfa6760e1f6940064c544d37f09670f7461a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:945-1002 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1027-1097 \u2014 These two members are one piece of code written twice and then edited apart: 58 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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59975128779b81f19256072dcc57fb380a12afb1d8d8bd414962bc56ef90ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:184-223 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt:162-204 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0540812cd06a2e7b04947abe79b9cb60fdbedce2cadcba6db080d696285a208"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:347-392 | app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:396-441 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c9e635cc3dc1090571d4bc9862b77e5eaeb3b1e66fa5b68d2d661f4f6c20be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:348-398 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:411-463 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e89a4092f36e00d8a2edcb50262d10774702712ffcb82010513576ed73e02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:235-297 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:329-384 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:416-470 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"48001fd53953e34a9c0d2bd3656a30fb34b6c67c15207cca25ac557782093af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:406-458 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:357-404 \u2014 These two members are one piece of code written twice and then edited apart: 48 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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9eda3ade457e5748e69af3b20f188cec8bdf5852c4c40866951ff18b670778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt:284-335 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt:339-385 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c4533b71e545630b939f169a231a3a103c6c97aec18554b2c988617749db91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/address/ui/edit/EditAddressTopBar.kt:43-92 | app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorScreen.kt:151-207 \u2014 These two members are one piece of code written twice and then edited apart: 50 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/org/mozilla/fenix/settings/address/ui/edit/EditAddressTopBar.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe6711f96ed2deee36f1fd9c7d0e8ff20700d62819ddaa0824e88c179a7908a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1526-1572 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:163-223 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"700555329b4c2a21cc26fc2c7daeb535c5982f1b9eeef005515477aed360c14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:751-792 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:800-843 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02701b8b3516523875a91baa74d2e57a52985318309bc4f2a010c17bdc40a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1189-1219 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1226-1252 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f876ac5266d24cf87912d713e68f146758a621d1f5bef1ddfd4c8bd74be78e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingFeature.kt:238-284 | app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingFeature.kt:339-377 \u2014 These two members are one piece of code written twice and then edited apart: 39 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/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingFeature.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26e12619f54967f1dbbd5fe5db4e9b7b15d5860c3a6ce0d7d02b7fd024ee25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1542-1580 | app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:476-508 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8866ce59a6e619fb7fd9446ec0506f17c8a93e00fde7ad535512441416d1271f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/org/mozilla/fenix/debugsettings/addresses/AddressesTools.kt:157-205 | app/src/main/java/org/mozilla/fenix/debugsettings/creditcards/CreditCardsTools.kt:84-121 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/addresses/AddressesTools.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b436554b5d8db49debd7a25674d7e548f7feef30508c5ff91328c29247106080"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/ManagePrivacyPreferencesDialog.kt:103-135 | app/src/main/java/org/mozilla/fenix/onboarding/ManagePrivacyPreferencesDialog.kt:142-174 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/ManagePrivacyPreferencesDialog.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8bc6228c56481d8323f06bfcdabd47931d00eb62e4910da207460af6221789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt:709-727 | app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt:261-290 \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/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2042570f22645a0ee943adc3cfd2d4f9c07561994410b286021007ab9642d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt:42-72 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyFooter.kt:41-71 \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/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9817332b36652764e8321a33d2422c9b9b74072541fc51d4def0a98d26a4a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:192-237 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:542-592 \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/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c498a36036b7ed4cc6914438bed29c8848590fcba1685242b90063d2f1d9c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:180-211 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:279-310 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e878e52771223dcb8fe2e411ef0b0c5e72af0221f09491ac02100ceaf2b74aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:227-255 | app/src/main/java/pt/dweep/sideraven/ui/SidebarReorderableItem.kt:28-53 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baed9d168847c6c76b32edda46e794937846acb4272c1db052b9bf746f967ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt:128-163 | app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt:113-150 \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/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f666f302e01d02dec13cda8b1460973f58fccc6c2cccecd4da8d6895ff55be31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:533-557 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:918-940 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:490-521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d891eec60848ccd37ef3fbdbbed59ef69dcfb0be0cb5df0d7486455c186f2fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/pt/dweep/sideraven/Spaces.kt:480-493 | app/src/main/java/pt/dweep/sideraven/Spaces.kt:544-556 \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/pt/dweep/sideraven/Spaces.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729516e4b67673588d14dd4fe13fc90ae9dd20160d403b4c2b454407d7f994c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:848-872 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:308-332 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"371258f82cb14c297829059b365efc58fdbbba9f283ca2a93a23a362a882c7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1485-1522 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:122-159 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:191-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3519e91c5fb89f5aad5383f147d82c1ba992c3caa94aa0022d8d6f60cbfc655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:732-757 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:283-308 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a665e2afdccf4ec8dcec2ec8dcca0a64096438f2a130ffe5a8d9ed8a93aeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/settings/account/SignOutDialog.kt:35-67 | app/src/main/java/org/mozilla/fenix/tabgroups/CloseLastTabAndDeleteTabGroupConfirmationDialog.kt:38-76 | app/src/main/java/org/mozilla/fenix/tabgroups/DeleteTabGroupConfirmationDialog.kt:36-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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/org/mozilla/fenix/settings/account/SignOutDialog.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3a433a6fd95c1cfca7fe25d01392e4f4a63745ac269b1e2c914501304206d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt:100-130 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/SyncedTabsPage.kt:79-113 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabGroupsPage.kt:107-139 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff783f33f89d4de83067c3dabdcb9524bb7701eecb07d755335fc7cee11d5811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:358-397 | app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:403-435 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eea6cf4a1508d8d94ddbd97ca658fe2f519a13f5d69e160be3db82e1e3e9d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/mozilla/fenix/translations/preferences/downloadlanguages/LanguageDialogPreferenceFragment.kt:63-95 | app/src/main/java/org/mozilla/fenix/translations/preferences/downloadlanguages/LanguageDialogPreferenceFragment.kt:97-138 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/downloadlanguages/LanguageDialogPreferenceFragment.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44cc6a1a71c17a4fb8a3eb75f3cb1d79e588575dcb4175cd5a37348e49a6677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt:186-215 | app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt:219-248 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5edc3dd403362d6b8522da30426aa2d7e7e4ec463af41e51794cdb6988a6bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt:104-139 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheetFragment.kt:80-110 \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/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e297ccefab693bc5cef32ec62bc87a3635b1fdd85913aab85352a67c5c9b2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:370-393 | app/src/main/java/org/mozilla/fenix/browser/DownloadUtils.kt:20-43 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0080303a1dac8f0685a98296c9d22aced2f51220ae272a7255942ea7ab7b4b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:234-259 | app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt:760-785 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"01450f01513ac2f419c3c7acad72ec4b99c352293e94257d4df527ef7a1b2669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/org/mozilla/fenix/reviewprompt/ui/CustomReviewPrompt.kt:204-236 | app/src/main/java/org/mozilla/fenix/reviewprompt/ui/CustomReviewPrompt.kt:239-267 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/reviewprompt/ui/CustomReviewPrompt.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3bf66a3a0e80ffbdda91d83bb6752f7874d602eba51a82b9c333d923842e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/share/SaveToPDFMiddleware.kt:143-165 | app/src/main/java/org/mozilla/fenix/share/SaveToPDFMiddleware.kt:173-198 | app/src/main/java/org/mozilla/fenix/share/SaveToPDFMiddleware.kt:207-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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/org/mozilla/fenix/share/SaveToPDFMiddleware.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a07b1504bf7e3eb97c42ae1fabc298efbe3cb4d2c26cf05ea9f4c4b96e1a463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:454-485 | app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:496-529 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"76531f8ec9b4cf3576c2144cec2fa1d97510a5727a53b19d9a5db23027273e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/account/AccountSettingsFragment.kt:425-447 | app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt:404-426 \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/org/mozilla/fenix/settings/account/AccountSettingsFragment.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4afc7f8b68a1822d61490e7315a80e8d2495b5bf936362785d0a90e69e8b9b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt:48-67 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedItemViewHolder.kt:39-61 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c6d3cd36df1b84a9764ae384f1e654bfd44beb9ad0370c9ec939f4acb2a5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt:308-341 | app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt:348-376 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7716ac26f9d77b347b1263212120e57aba518a4b9bb98f8cae5ac76520b228aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1117-1139 | app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt:543-570 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0765fc191c1c995237973aef46f1b67f09985712ae5d1e5da31350a813768e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:754-786 | app/src/main/java/org/mozilla/fenix/home/ui/MiddleSearchHomepage.kt:161-192 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33edfa8a8fc8f999cf0c0ca98117c82672878f299da1f66592725b4dcbeba70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:591-610 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1618-1642 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a572a63ec4fbaee904d634aa3bf2a297500233182d85c021e308bf54cb89928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt:108-136 | app/src/main/java/org/mozilla/fenix/settings/biometric/ui/UnlockScreen.kt:108-133 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec73d4db3b039280485bebc64d95687cd6c284ef3542ddc6d1894e69584598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/logins/ui/LoginsMiddleware.kt:183-211 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/LoginsMiddleware.kt:219-246 \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/org/mozilla/fenix/settings/logins/ui/LoginsMiddleware.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb9ee799e2e0969c6a95d2888ebdd55fb1eb1c76c1eb2bf623146f9eb6214fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1056-1081 | app/src/main/java/org/mozilla/fenix/settings/settingssearch/SettingsSearchScreen.kt:224-251 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabsearch/TabSearchScreen.kt:252-277 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5bb026b3228c34d7d6d99c530554a9492d31a97693948800f2234a30a6ebd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyBottomSheet.kt:144-165 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheet.kt:148-170 \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/org/mozilla/fenix/experiments/view/UninstallSurveyBottomSheet.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400e412b9b94fe3cd3e63aa36a72b7391445076f9d18d8fa039189df5776111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt:99-118 | app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt:120-139 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e048a6d6b073821971142b336bd90bcb6dd4fb3cdc5d897deb56c90f472dc72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:423-453 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:481-507 \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/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bdfa3df9bd96a8ea3ab7d173e4e7dcc96ca56023dfe13b5bb424d084d2deb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/fenix/perf/ProfilerViewModel.kt:160-185 | app/src/main/java/org/mozilla/fenix/perf/ProfilerViewModel.kt:191-212 \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/org/mozilla/fenix/perf/ProfilerViewModel.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"06666163a0d96f1bc73b4826a6447da82394c8087bb013dd9fa306e8346c51a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/pt/dweep/sideraven/Essentials.kt:273-282 | app/src/main/java/pt/dweep/sideraven/Spaces.kt:623-634 \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/pt/dweep/sideraven/Essentials.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba91211d7f0f5865ad551ccd1b8edc04709bcb9d1f328a034f8d7e75bf88a17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/ContextMenuSnackbarDelegate.kt:57-89 | app/src/main/java/org/mozilla/fenix/snackbar/FenixSnackbarDelegate.kt:228-262 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/ContextMenuSnackbarDelegate.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2899d55519fa3af7d91f139f7d53301519e1d3c435ffc0b58936c38e02750a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.kt:574-594 | app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.kt:600-625 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.kt"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394fbc3ac16bdd6f7e1682bf356be6851fe82b93d2f683d58ff3754ec4d8e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt:609-629 | app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt:633-654 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bc02bd25511426ace65bc0bc38d953f21bf91ed6c8778a6c1e9b5ee5a578a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt:115-143 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt:145-177 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt:179-205 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"16efad6446fad80e76d5f320a1a6c6a244dcea50b093daa6ae554138fb3f063f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/logins/fragment/SavedLoginsSettingFragment.kt:34-50 | app/src/main/java/org/mozilla/fenix/settings/logins/fragment/SavedLoginsSettingFragment.kt:52-68 \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/org/mozilla/fenix/settings/logins/fragment/SavedLoginsSettingFragment.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4090f6eee4ddd79e83ee34623db77223e489f55065c672e5d7c32dbd2041a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt:52-79 | app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt:86-107 \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/org/mozilla/gecko/search/SearchWidgetProvider.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ea329c7f1dffd1d00dd0c5295efc43fccf462b1200d6f80166fb7f25fdab11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): plugins/conventions/src/main/java/org/mozilla/conventions/ProjectPlugin.kt:111-121 | plugins/conventions/src/main/java/org/mozilla/conventions/ProjectPlugin.kt:599-609 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/conventions/src/main/java/org/mozilla/conventions/ProjectPlugin.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7379dabbd0824595b9575bd585d8a8269b6d163ee32bf09cc77d6c092329d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawer.kt:115-144 | app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugOverlay.kt:138-175 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawer.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff308f3dec9f9e5be5feda6acb1eb2ce7fb34c4391696f40d40c685f3e69ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.kt:141-161 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedController.kt:113-135 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f027512577335d6b1b949b1e9e0f2bb588234366a4949782b61dcfa41b1b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/org/mozilla/fenix/components/QrScanFenixFeature.kt:146-169 | app/src/main/java/org/mozilla/fenix/components/VoiceSearchFeature.kt:112-135 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/QrScanFenixFeature.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"55202c2640133526821247c6096f03b4728c53c0c52ab1af6e4c36c299378694"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/compose/list/ExpandableListHeader.kt:138-157 | app/src/main/java/org/mozilla/fenix/compose/list/ExpandableListHeader.kt:161-183 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/list/ExpandableListHeader.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"870d493481c84070b31dabe7dfa2d1d29b04db3120c92f7ddac7b3cd99be80d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/SetupChecklistState.kt:70-89 | app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/SetupChecklistState.kt:92-110 \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/org/mozilla/fenix/components/appstate/setup/checklist/SetupChecklistState.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d85012c5322b431c086104d83dc9c2164088c0533e6b332164af419f4f182e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:1040-1064 | app/src/main/java/org/mozilla/fenix/ipprotection/VpnMenuItemProvider.kt:77-98 \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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"78472bd70b43ee931bdb1a85d497f2397873c47cbff7d2c64d327460ff2a4a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/fenix/share/PrintItem.kt:33-54 | app/src/main/java/org/mozilla/fenix/share/SaveToPDFItem.kt:33-54 \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/org/mozilla/fenix/share/PrintItem.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7199401c234ea9c8c2a780d6c2690f73c11aeb15d632f75913e8627bd74ded34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/org/mozilla/fenix/components/share/ShareSheetLauncher.kt:343-366 | app/src/main/java/org/mozilla/fenix/components/share/ShareSheetLauncher.kt:426-449 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/share/ShareSheetLauncher.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c536bf80a32c0ba5bcbdf52ca42ed0588182380db6f595b36ef241eb67f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:280-306 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:247-273 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3d7658992f65c212561ad0272b7ab67d3d3d43c561189a3946feb33eac724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsDetailsExceptionsFragment.kt:147-168 | app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsExceptionsFragment.kt:114-132 | app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsManageExceptionsPhoneFeatureFragment.kt:151-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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/org/mozilla/fenix/settings/sitepermissions/SitePermissionsDetailsExceptionsFragment.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24413d437fad29425d4464c3907d580ea30d8b72e39039e33c65ec49fabf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt:76-106 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyFooter.kt:75-105 \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/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abedc16611c01ad09f9739a2f7cdc155af7bd62807892c6182433c8147f1b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt:1021-1043 | app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt:1066-1084 \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/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b06e190744c9982e5610fa7cb17b24a61d2c9aad4cef5a73c2e790ae1eeec47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:169-191 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:195-217 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:221-243 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:247-269 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dbefcf28a7df6f497876e206d11f6e248ab3e3408bf0b353581e3b83393223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:980-999 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/SavedLoginsScreen.kt:439-458 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14fc1c65fcbcbacc9f27cc857448cfc5c394ed6566a51ece00b04e2cce92bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:1127-1141 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:169-183 \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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c072bb99aa15819484b9d1a551ecddd07bd861cb272625a35fcbe4506198505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt:190-213 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarTelemetryMiddleware.kt:76-99 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e5502ff595c0b971502a8fdb47238da4be6aea21f423f87894e571442c682d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabItemAnimations.kt:330-351 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabItemAnimations.kt:364-380 \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/org/mozilla/fenix/tabstray/ui/tabitems/TabItemAnimations.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e02c415bc9a6503533ce65805b64fc692d9b5a854bd06d553c06a88054fa45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:2172-2188 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:2198-2214 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95078745dc9d41e598b77eec3adee841b9a079a92bbdce5fd5b6e471191e2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/addons/AddonDetailsBindingDelegate.kt:164-178 | app/src/main/java/org/mozilla/fenix/settings/studies/StudiesView.kt:114-128 \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/org/mozilla/fenix/addons/AddonDetailsBindingDelegate.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df35bc5f9ed3d0255d4a6e0247334f0f18c0aa30a8c16ac4cb9ea6882ca3857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:1715-1735 | app/src/main/java/org/mozilla/fenix/settings/biometric/BiometricPromptPreferenceFragment.kt:94-114 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebb1c2abc63d07fee031fc30fed4d0fdf5b26f2cfcda17c38f9ef7b96c53b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt:214-229 | app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt:235-256 \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/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9a246913f2bc7ad5c7facd33a49823550b7113ca38206ef40443df599fe1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:168-181 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedFragment.kt:57-69 \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/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea1c0079be91e3aabb6910d0edc8f5851480efe14140f796fb0f886b85f6cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 23\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:498-521 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:526-551 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:556-578 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:583-606 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:611-634 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 23 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/org/mozilla/fenix/settings/IPProtectionScreen.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eafbeddc19a0f69b75a26c011ed3ad20a5862d339e89e8f803b7e1b98a12ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/downloads/listscreen/DeleteDownloadFileDialog.kt:30-52 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/ClearSiteDataDialog.kt:29-57 | app/src/main/java/org/mozilla/fenix/tabstray/ui/fab/TabManagerFloatingToolbar.kt:332-360 | app/src/main/java/org/mozilla/fenix/translations/preferences/nevertranslatesite/NeverTranslateSiteDialogPreference.kt:28-50 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/DeleteDownloadFileDialog.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"05264b964c0cd7fd0198c8b9a6c0f93b25e26ba82d92f7710c2c83160af47fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:955-977 | app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/DeleteCreditCardDialog.kt:33-58 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc89121c82abdbc0c5a3e9f7ee87f89e07aa94f034b16794625e222bd36734d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/mozilla/fenix/perf/ProfilerService.kt:176-189 | app/src/main/java/org/mozilla/fenix/perf/ProfilerService.kt:192-206 \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/org/mozilla/fenix/perf/ProfilerService.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91dcff40c837c7b9bd49e38f9f0583cab1104080bee9bd9e111309ccb0bd6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/mozilla/fenix/addons/AddonDetailsBindingDelegate.kt:146-159 | app/src/main/java/org/mozilla/fenix/settings/studies/StudiesView.kt:95-109 \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/org/mozilla/fenix/addons/AddonDetailsBindingDelegate.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7127486b9de0868899acba2cab50cd31ff50d27f8b44a573be7005aecedbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/bookmarks/ui/AddFolderScreen.kt:113-138 | app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:260-285 | app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporter.kt:548-574 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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/org/mozilla/fenix/bookmarks/ui/AddFolderScreen.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb056d1bd99e34fbdfda0848d381fd7600d515c7914a493fe2be583fb3e7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:136-153 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedFragment.kt:159-175 \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/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"336cd91e3869c0c6f026e064eb4bd2d2908d71864a3cdec54c3f98993d11c7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/pt/dweep/sideraven/sync/ZenRecords.kt:140-152 | app/src/main/java/pt/dweep/sideraven/sync/ZenRecords.kt:179-191 \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/pt/dweep/sideraven/sync/ZenRecords.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7e8600d247466dde8d6508020fa0fdbe7882012e3c3ee7640bdf4ba793324f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:327-343 | app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabTools.kt:196-213 \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/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e5c322e0da3138b83715053981e1f79e91220be815131149d6663c0614b3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.kt:335-350 | plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.kt:352-372 \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":"plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c57408f65109f1934b51c333f257978831e4de55e5a207c6418edefb2c9f162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:523-549 | app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:553-574 \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/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f09ca6113179ec1cbafc52d247eec187f915590fd5cdfeca82006c73f8b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt:407-427 | app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt:1502-1522 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eedf7438578c50d2b790fc7329bc7ece7073fd031354cfbfe3ef1d385e8084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuGroup.kt:40-60 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuItem.kt:559-575 \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/org/mozilla/fenix/components/menu/compose/MenuGroup.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddbfe5b3ed5fcc6f38ab4ccf7a3e1ac3ba1b8482b1970b5935c059e462acab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/org/mozilla/fenix/home/HomepageNavigation.kt:27-42 | app/src/main/java/org/mozilla/fenix/home/HomepageNavigation.kt:47-62 \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/org/mozilla/fenix/home/HomepageNavigation.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"323cbe029888ddc676e77fa59eacf3941781273828671d0d3006d8820d4a66ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/SearchOptimizationFragment.kt:79-90 | app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt:616-628 \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/org/mozilla/fenix/settings/SearchOptimizationFragment.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7169aea451d9bf7f42f77c0e4075ae55bc682ae70fc7bc71ab0549aeae2a2b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/termsofuse/experimentation/TermsOfUsePromptContent.kt:130-146 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:558-580 \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/org/mozilla/fenix/termsofuse/experimentation/TermsOfUsePromptContent.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac12247c777e1ec0658bd4340b125628d8aa97009510ec8f6a6195190b4309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:2515-2520 | app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:622-627 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b060cdaffc8a4d0a13057beaebbba4a93110e85ae3f1e35cc7bea57f68cc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt:75-89 | app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt:438-454 \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/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb403d80c884b99e08ead5d068f5e5c4309b4d83931354d709d3448a2bfef97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:356-369 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:322-334 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"269adf5452ecd9d6bee4933bc0b826948926b639171638494727c00cea87ad0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/BackMenuItemProvider.kt:72-82 | app/src/main/java/org/mozilla/fenix/browser/ForwardMenuItemProvider.kt:69-80 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BackMenuItemProvider.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a1a40259476cd7de6bb68e988d487e9a73db7e74dc6b5a347c14bfc698560c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsExceptionsFragment.kt:164-171 | app/src/main/java/org/mozilla/fenix/settings/studies/StudiesAdapter.kt:66-73 \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/org/mozilla/fenix/settings/sitepermissions/SitePermissionsExceptionsFragment.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab8ea26c72653a33b6b6221c8764321dd723e2092293c198b5bfeb5830256e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/addons/ui/AddonPermissionsScreen.kt:412-428 | app/src/main/java/org/mozilla/fenix/addons/ui/AddonPermissionsScreen.kt:432-456 \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/org/mozilla/fenix/addons/ui/AddonPermissionsScreen.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f400c9b36bceeddb21ff39fd114f87bbce6f90facfd8e69744d07c5e573521c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:487-501 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:818-832 \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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88d507cabe4fab2191ba206aa56afe47c1bca95ae81093f9d5cfa3eb323a137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt:330-342 | app/src/main/java/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt:344-358 \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/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c89d3f260a4cf3cdb5d9693bb6f70e09d595aba4dcf501a9dae0d5a637d74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:73-92 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:64-83 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:59-77 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:53-71 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8b1e6b7103979c78d3db138780176ae6864f41e4c34679196ba5b778ce08af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/translations/TranslationOptionsDialog.kt:108-121 | app/src/main/java/org/mozilla/fenix/translations/preferences/automatic/AutomaticTranslationPreference.kt:93-106 | app/src/main/java/org/mozilla/fenix/translations/preferences/nevertranslatesite/NeverTranslateSitesPreference.kt:98-111 | app/src/main/java/org/mozilla/fenix/translations/settings/TranslationSettings.kt:201-214 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationOptionsDialog.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f077de2ac797a69c0729bb474c1226259164fb2a28bfff78b74716bc14671daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:266-287 | app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabTools.kt:126-144 \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/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4aba5fdeb06102bcadadf0f7b3806cd3118465a7f24f334584c4b2fcc8fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/BackMenuItemProvider.kt:59-69 | app/src/main/java/org/mozilla/fenix/browser/ForwardMenuItemProvider.kt:56-66 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BackMenuItemProvider.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"041af76087dbd8d7a54e27a31ba78677550efd2e0fc37894b71fbe3110c194c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:658-669 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:672-683 \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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1571f018edff4a42c4f2642e503ba5f48dc7e6912b829249cd4ae09c160e5e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/org/mozilla/fenix/perf/StartupStateProvider.kt:102-127 | app/src/main/java/org/mozilla/fenix/perf/StartupStateProvider.kt:135-159 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/perf/StartupStateProvider.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cb9b05e16ea0bbd495a0e3cef1d94841b8efe9d6046a9d291cbc2c8de21389"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt:37-48 | app/src/main/java/org/mozilla/fenix/components/SnackbarBehavior.kt:56-70 \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/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f1a70da7aa4ff80f1ec5e1bfbffc6c17d77373d1b7d412ccf714cfb4fdcd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheetFragment.kt:71-81 | app/src/main/java/org/mozilla/fenix/termsofuse/ui/TermsOfUseBottomSheetFragment.kt:51-61 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheetFragment.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"996eecc42a3d6178d0c4d394260a8c70bb6177797b93256ca1c80cccf987d6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt:176-185 | app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt:188-197 | app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt:200-209 | app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt:212-221 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"126edda82c5dcff96dac03372a1a759b8f48cab802de6fc9f27468986a9c1215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/pt/dweep/sideraven/Essentials.kt:237-244 | app/src/main/java/pt/dweep/sideraven/Spaces.kt:678-687 \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/pt/dweep/sideraven/Essentials.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"33817aca231f1304ee3be65fd632826f17d04b2694bd1820f64957668bdcb4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:532-551 | app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:555-574 | app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:578-598 \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/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbe5420798fe063f17da5cfbca823773b328a37f4e721f795634816dbdd9edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt:190-213 | app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt:223-242 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5a931d20fae69002f982118361c2858e3a27c40ed619f7e6afec9bf82ae474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/mozilla/fenix/utils/TransitionsAnimation.kt:40-58 | app/src/main/java/org/mozilla/fenix/utils/TransitionsAnimation.kt:80-98 \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/org/mozilla/fenix/utils/TransitionsAnimation.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d591baedc2cbc352b44990c4340fc1e019595004b1dd0406fba38aa0e8403de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/pt/dweep/sideraven/SearchExtrasFenix.kt:41-50 | app/src/main/java/pt/dweep/sideraven/SearchExtrasFenix.kt:52-61 \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/pt/dweep/sideraven/SearchExtrasFenix.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70515977ad811e198909c854882def756103bfa6870e58c1b6fa58c7ec5032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/mozilla/fenix/components/share/PrintReceiver.kt:17-25 | app/src/main/java/org/mozilla/fenix/components/share/SaveToPdfReceiver.kt:16-24 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/share/PrintReceiver.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4d76748108434599c4c699c52647b44a19daa026142335e4e23aba4961c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheetFragment.kt:65-74 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogFragment.kt:73-86 \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/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheetFragment.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"25281003f539dd7e24d273cec92c7eea7519967afd35d0336b0d81f43dd19d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/pt/dweep/sideraven/ui/AddressBar.kt:310-323 | app/src/main/java/pt/dweep/sideraven/ui/SearchPopup.kt:166-179 \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/pt/dweep/sideraven/ui/AddressBar.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55852b20183e037f16cf8d690d91ce56fa654aa87d164446d351d971785e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesScreen.kt:360-382 | app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesScreen.kt:386-401 | app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesScreen.kt:424-439 | app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesScreen.kt:443-458 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesScreen.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"732944b686311b7ad21d6e94d71ddb9b0d8968e15ab69d9be7e8722589bb1a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1167-1180 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1182-1200 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1215-1229 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"588e7c025cf5b7419bb272c4a4a792c58d7929c289de6872dfdb16e6a89021ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt:70-85 | app/src/main/java/org/mozilla/fenix/settings/biometric/ui/UnlockScreen.kt:69-85 \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/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e63dc6a169c115cf138e7ca707bd5e1cfb65c3e01d7be2dd43fb7720ac7c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:143-165 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:139-158 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a995bf21704451adc3f1f48df4ee787b6aee53383b46ac109eb97e93b1b965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/mozilla/fenix/wallpapers/WallpapersUseCases.kt:207-221 | app/src/main/java/org/mozilla/fenix/wallpapers/WallpapersUseCases.kt:267-277 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/wallpapers/WallpapersUseCases.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2206bbceb1efcf441fe02097a110d74c1ec2f6267cc174ffdbd45a16a96470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:425-437 | app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:443-455 \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/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"42142294cb30b95cc003104f80913d5ffde6dca32a5ddc480db61629d9cf6285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt:53-67 | app/src/main/java/org/mozilla/fenix/settings/biometric/ui/UnlockScreen.kt:52-66 \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/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeb4d74597d29fdb9042b92d44b605cc817f956cbc6892f242e9a7a5983248a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:700-707 | app/src/main/java/pt/dweep/sideraven/Spaces.kt:104-111 \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/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"de61fef4dbd606c45ea1159d49f0ea93f73246442601f2065d261d1f6347da88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/mozilla/fenix/components/QrScanFenixFeature.kt:64-78 | app/src/main/java/org/mozilla/fenix/components/VoiceSearchFeature.kt:56-69 \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/org/mozilla/fenix/components/QrScanFenixFeature.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d9320ef1f3980b6ffd590f8a2069b7e92055e352f417d5a9883c2ec35f6f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:267-278 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:234-245 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"da71db4c231e8be67b2e41cd515ab40853c5c3d03060de2f018c3663555654cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:156-168 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:255-267 \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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"92af5c9d18d80abee4a32535b7a05c26cb6917a72173ad689877a0796271c698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/mozilla/fenix/compose/SwipeToDismiss.kt:50-66 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabItemAnimations.kt:407-424 \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/org/mozilla/fenix/compose/SwipeToDismiss.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a57dac4c675a4af455a4264d429bea4aed1090c15dcb4ce17f4570e817ac35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/mozilla/fenix/summarization/SummarizePageMenuItemProvider.kt:121-132 | app/src/main/java/org/mozilla/fenix/translations/TranslationsMenuItemProvider.kt:107-116 \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/org/mozilla/fenix/summarization/SummarizePageMenuItemProvider.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c23119b78713b0f67ade9739f1fa36264d4dbc809b411ba78455b353b35595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:226-233 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:198-204 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fd0c6aee8fcfa8d3d99a9c3d051e9d7622321de8aaad7d6d13512b4ace177e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:834-836 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:292-294 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"3863a0fce5dca43f0d851a815ba456060c5b7481d64844f00d9c78e3fffdc123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/home/blocklist/BlocklistHandler.kt:62-76 | app/src/main/java/org/mozilla/fenix/home/blocklist/BlocklistHandler.kt:81-93 \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/org/mozilla/fenix/home/blocklist/BlocklistHandler.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e892f8f7f34c4e01d5a8a3a454ebde2b1406adb9525543ba2cf60db83d1ddc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:1861-1879 | app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt:521-536 \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/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"012df9de4e38688db0d0093cd281ad775c23d61117b7ccdc2d4a34e0b1c7b3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/home/recentsyncedtabs/controller/RecentSyncedTabController.kt:56-70 | app/src/main/java/org/mozilla/fenix/home/recentvisits/controller/RecentVisitsController.kt:119-131 \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/org/mozilla/fenix/home/recentsyncedtabs/controller/RecentSyncedTabController.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d2da338a29dd13339c6e67c1c4e0f125d1eb4c416e307a3151566de4bb1c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/mozilla/fenix/library/history/HistoryFragmentStore.kt:93-103 | app/src/main/java/org/mozilla/fenix/components/history/PagedHistoryProvider.kt:57-65 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/history/HistoryFragmentStore.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df6a45df763a43304d87083676f6c0f6d099c39e8a11bbc86086fb9749846d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/TrackersBlockedPanel.kt:131-146 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/TrackerCategoryDetailsPanel.kt:99-111 \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/org/mozilla/fenix/settings/trustpanel/ui/TrackersBlockedPanel.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bdd01d53ed4a6cc0455603017d67f851207e0dcd34931a97f9c3d8dd741b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:281-294 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:347-360 \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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f838ad973e6779e9ca78547bf7e75e83b3193d400f8f858bfffa490dac5522"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:132-141 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:127-137 \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/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"880c09546baaa31a56edffdb1f498ff82adfa94f7a5da00753343268d7110c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/org/mozilla/fenix/components/lens/GoogleLensOptOutBottomSheetFragment.kt:37-50 | app/src/main/java/org/mozilla/fenix/debugsettings/info/DebugInfoBottomSheetFragment.kt:33-38 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/lens/GoogleLensOptOutBottomSheetFragment.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec345c6b758ce45993ad1bcc093dbca6e1b77a31f101663a7e73233db5d005a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuItem.kt:471-478 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuNavigation.kt:172-179 \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/org/mozilla/fenix/components/menu/compose/MenuItem.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"092de0e9a50648d4d57876363d6a8c685bdc041c66909c5a2c17077a5790e884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt:656-662 | app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt:718-724 \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/org/mozilla/fenix/settings/SecretSettingsFragment.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c6874eb101a51f89a77bf4c30242b6bb65f5aeb92ccacfefc65cf3b505b524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/org/mozilla/fenix/tabgroups/flow/TabGroupFlowStore.kt:32-36 | app/src/main/java/org/mozilla/fenix/tabstray/redux/store/TabsTrayStore.kt:37-41 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/org/mozilla/fenix/tabgroups/flow/TabGroupFlowStore.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d52ca774474497205b374a1fcfbf004beb4062e5f9f7a78702be1948b928bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/mozilla/fenix/ext/Fragment.kt:206-214 | app/src/main/java/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.kt:339-347 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ext/Fragment.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a6a2c592e8748d7c23638b03fb5b74889fc90ddaa1cffc4b2dbc253838b3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt:66-73 | app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt:460-469 \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/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb267165ba8b1744f7ed4d323157150bc34a591fcb45b62b149ad1ba1e15ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt:270-287 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/LoginDetailsScreen.kt:378-392 \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/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c44e45b0f1e8b590acbfe927a06761ac6b8bf3b289be35d1d241800c5d9a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/TrackingProtectionFragment.kt:401-407 | app/src/main/java/org/mozilla/fenix/settings/search/SearchEngineFragment.kt:359-365 \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/org/mozilla/fenix/settings/TrackingProtectionFragment.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fee152c8993c7a40852a85115b906db16758df0f8f1ac0071be06592e0124e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/org/mozilla/fenix/HomeActivity.kt:991-995 | app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserActivity.kt:86-90 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"595e14d7fe801fd09fcd0065535cc5ed5575ae6b14f5cb59de4f10da6a55cc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/ChecklistItem.kt:115-120 | app/src/main/java/org/mozilla/fenix/home/setup/ui/SetupChecklist.kt:153-158 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/ChecklistItem.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad50e6efe1b04aafac215926073076f98b7ab1ec3ef643f5e23347f65ccfb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt:117-121 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:108-113 \u2014 These two members are one piece of code written twice and then edited apart: 5 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/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad99010c84d9bcc7048401245c90e0f539c528121ee93cc7d90edfbc593ad9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): mozilla-detekt-rules/src/main/java/org/mozilla/fenix/detektrules/perf/MozillaRunBlockingCheck.kt:28-32 | mozilla-detekt-rules/src/main/java/org/mozilla/fenix/detektrules/perf/MozillaStrictModeSuppression.kt:41-45 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"mozilla-detekt-rules/src/main/java/org/mozilla/fenix/detektrules/perf/MozillaRunBlockingCheck.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd169446bb277f578fdebd178413cfce5a30bb9a719b2a8baa9427332d830c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt:50-59 | app/src/main/java/org/mozilla/fenix/browser/TranslationsBannerBehavior.kt:213-220 \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/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d926bef2143281d22d268238f4e29abd32987bee314f973a2657912ecfcef3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/ChecklistItem.kt:123-128 | app/src/main/java/org/mozilla/fenix/home/setup/ui/SetupChecklist.kt:161-166 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/ChecklistItem.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0d5c978adf8900091e2babc06186ada5b2968bf7adbb1b70544238c3b3bff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/mozilla/fenix/settings/ai/AIControlsFragment.kt:107-118 | app/src/main/java/org/mozilla/fenix/settings/datachoices/DataChoicesFragment.kt:55-65 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/ai/AIControlsFragment.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56b30dd6e5dde3e0b6ef6a27634388586cc8be7376c0df849a1aa8b2cff5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/mozilla/fenix/listentopage/ListenSheetBehavior.kt:46-55 | app/src/main/java/org/mozilla/fenix/pdf/PdfOverlayBehavior.kt:71-80 \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/org/mozilla/fenix/listentopage/ListenSheetBehavior.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"431450915d7e522fda1bbc9f16965b1a8bd08317414d56f49694aba2c15ea3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt:43-46 | app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt:43-46 | app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt:41-44 | app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.kt:43-46 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b5312e9451690828a14ddee8f58b1f94d812037a4f950112808a8c32e5a7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): app/src/main/java/org/mozilla/fenix/browser/DesktopSiteMenuItemProvider.kt:55-60 | app/src/main/java/org/mozilla/fenix/pdf/SaveAsPdfMenuItemProvider.kt:48-53 | app/src/main/java/org/mozilla/fenix/print/PrintMenuItemProvider.kt:52-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 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/DesktopSiteMenuItemProvider.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee580914727baeb08f53a5899ea85f2789345b553f57e0691a573e486e898e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/SearchOptimizationFragment.kt:37-77 | app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt:59-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/SearchOptimizationFragment.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"675c24ed9e4fbedcced13f25f55a92a6e7197cba3af1942954bf6ea970f78d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/share/ShareUiDevicesObserver.kt:99-134 | app/src/main/java/org/mozilla/fenix/share/ShareViewModel.kt:203-238 \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/org/mozilla/fenix/components/share/ShareUiDevicesObserver.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"837612e6c025e2fa25c80972825dba7d9b67632870d3db6828434da447a3334f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1165-1197 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1685-1717 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1165\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ReorderableDragItemContainer\u0060 names \u0060org.mozilla.fenix.tabstray.browser.compose.ReorderableDragItemContainer\u0060 in one and \u0060org.mozilla.fenix.tabstray.browser.compose.legacy.ReorderableDragItemContainer\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0da50d4f41a5e144a4fa2167d8f7b3bec6bd39b4d1bdfd0a60d2f26bf501dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:274-305 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:319-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3bfea981f7010048f31b116e24fc6126500141c5f62b99c172f0c5cd9e4e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:238-266 | app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:277-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:238\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/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"09174112ecf8d061ee7fb4c97e993fcb4aa5e09adcdd283502d2e140124038e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:463-491 | app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:2746-2774 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81703af4c31de1e2b468f63abd7395005c28c23a811e73647b04d741a5f16de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt:135-162 | app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt:120-147 \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/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt:135\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/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae992099d24cf1cf1c4b401090dccaa51b7fb420c630eb14bec0ff7bceb639e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1659-1686 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1749-1776 \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/pt/dweep/sideraven/ui/SidebarContent.kt:1659\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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d3d0937af14607784c8b3c47f5f9fab3ccf4cdf5e6e216a4bf2843952e38ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1532-1558 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:169-195 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1532\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af5be1427974ad0175c658bdd5fdbfaa2ba5c7c6b158c78047d44eab3476aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:680-706 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:710-736 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a30f0cb0911ba0f2da86887c50a8c012b7400ebeb106667e031dbd6f91a435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt:42-66 | app/src/main/java/org/mozilla/fenix/shortcut/CreateXiaomiShortcutFragment.kt:64-88 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/shortcut/CreateXiaomiShortcutFragment.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8996bf7cf390fb0ec45e5f4d9015820e665717d87752b58ca5ea1385499db5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:299-323 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:365-389 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2639ff256db317b39351ab8b1b1a33e5cfb887d3d707fbedaa6ee6ad0aefa83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:718-742 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1251-1273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1248\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:716\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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"6175734243a9c7a9501bb2ce384371d89b39e940574e2f010f0122cc0db0462a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1607-1630 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1650-1673 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1607\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c8b262f349a10d08129fc53bca59d15631d281c3205610afd6f127fc177f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:369-392 | app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:418-441 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:369\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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e094a8b85d943bfedc8928a8f53bec5575d629b4394a15ae6f7078447d7b0b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt:1306-1328 | app/src/main/java/org/mozilla/fenix/home/topsites/ShortcutsFragment.kt:78-100 \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/org/mozilla/fenix/home/HomeFragment.kt:1306\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/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eec58219cc2087e210caa263690297fd971aaff83dcfc9548bbcf6dffffe1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/biometric/BiometricUtils.kt:124-146 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/BiometricAuthenticationUtils.kt:198-220 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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/org/mozilla/fenix/settings/biometric/BiometricUtils.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a435f4fabb8b5c44315f52c1f9879de4458f637211ecb1707eca8bb69ae3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:753-774 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:816-837 \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/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2d474c396b4bcebf3fa26291a18a2dfec4c39d83275374272c2258e9cf1478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:611-632 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:653-674 \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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a46ab261503bb65d1e77dc6c7656e88ca36a553446cc9c34ad96fd3e28e8621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1833-1854 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1916-1937 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1833\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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca3f6a9d7a063400b3e97dc4f1872573c47ebb3bd7929cf8233ea45a3c1e7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:219-239 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:413-433 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:219\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:218\u0060 calls \u0060testTag\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:412\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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"782de7fb18a3501cf124561d93b078849995de62370f7f8a0e6b8f78ff38126a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201341 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:960-997 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1049-1089 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:960\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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b20859dee61852e6579294f5c3a8ca79c2b166ecd5fc7d03ab2129f9ff9738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:623-642 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:665-684 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:698-717 | app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:731-750 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:623\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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35062ff1ae35196695db36f0c61e96bdc35c2f2d48dd0adf0aab02258866e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/debug/java/org/mozilla/fenix/LeakCanarySetup.kt:27-45 | app/src/forkDebug/java/org/mozilla/fenix/LeakCanarySetup.kt:29-46 \u2014 before extracting anything, compare \u0060app/src/debug/java/org/mozilla/fenix/LeakCanarySetup.kt\u0060 and \u0060app/src/forkDebug/java/org/mozilla/fenix/LeakCanarySetup.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/debug/java/org/mozilla/fenix/LeakCanarySetup.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10a28fb79774f4f95b92bfa51a267a2c45de7c472466f24499af9e8386452f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:171-188 | app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:838-856 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:171\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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff79a4a0fb3bddd4dd451b9df21d67f2d4d5cb4dd7f2196e7f7f9522ce6867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:530-549 | app/src/main/java/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:556-574 \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/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt:530\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/org/mozilla/fenix/settings/doh/root/DohSettingsScreen.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"80665d1c10da3f5c531dd2d21230deaf917375c27ea394a610ac30596b08ac11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/splashscreen/SplashScreenOperation.kt:65-83 | app/src/main/java/org/mozilla/fenix/splashscreen/SplashScreenOperation.kt:112-130 \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/org/mozilla/fenix/splashscreen/SplashScreenOperation.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5efe4f036de68a4233877f2a3bd6914d0f9a67bbed6f40ff7b6aca0110939ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:732-750 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt:283-301 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5736f3b61e82aa0ea7c9f1712d2fee37682d69a9a1063e18a319737d1cf9612f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:351-369 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:415-433 \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/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdcb03ca7eb862e210816c29d9e0bef31e18b28638dc1277e2970c06da9332a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt:60-78 | app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.kt:91-107 \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/org/mozilla/gecko/search/SearchWidgetProvider.kt:60\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/org/mozilla/gecko/search/SearchWidgetProvider.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9d1a81c19c1bea65341fbdd34a41ee073de4acf0019a42e26cecfc1b2a737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1836-1853 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1879-1896 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1919-1936 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1960-1977 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1836\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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1958\u0060 calls \u0060background\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:1834\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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2986c0f69c1a3425ffa04b2e10b2ab5e1a854b28ec4f50d7512068bd927396d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:111-128 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:172-189 | app/src/main/java/org/mozilla/fenix/trackingprotection/ProtectionsDashboardFragment.kt:34-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:191\u0060 calls \u0060Suppress\u0060 and \u0060app/src/main/java/org/mozilla/fenix/trackingprotection/ProtectionsDashboardFragment.kt:53\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/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcc960f989337e53ddcee0cb12c3e6f2f96b91f0676e874e8e5f98da7220a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:905-922 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionFragment.kt:172-189 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:503-520 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:905\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0e4ed888e14dd0081143dbad4c89c786d1227187b295b136586481ca2f3830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:241-258 | app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt:768-785 \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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:241\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/org/mozilla/fenix/library/history/HistoryFragment.kt:767\u0060 calls \u0060BrowserToolbarSyncToHistoryMiddleware\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:240\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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"39796d9b57b5f4259451e06797b3b50aca1a59c77b0c6514cbebe3fc6b341b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/ContextMenuSnackbarDelegate.kt:58-75 | app/src/main/java/org/mozilla/fenix/snackbar/FenixSnackbarDelegate.kt:229-246 \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/org/mozilla/fenix/browser/ContextMenuSnackbarDelegate.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a32b93813a6ff0773f0218f7c1a792d46623e0ac5aeb0f4ac000c555f12789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:466-482 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:538-555 \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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c056f378137e72bd90e1847543901fd8e19ffd8a647583aa33bcdb1e6570f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt:408-425 | app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt:619-636 \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/org/mozilla/fenix/components/metrics/MetricController.kt:408\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/org/mozilla/fenix/components/metrics/MetricController.kt:406\u0060 calls \u0060set\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt:617\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/org/mozilla/fenix/components/metrics/MetricController.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c805f8fc240cb3ca14bc55c26852f30eb4a2a76df3eae7e2e21df3a946f0797b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:411-427 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:439-454 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:411\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:438\u0060 calls \u0060invoke\u0060, \u0060FolderLongClicked\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:410\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a778e2c534b678bc42ff396fc74bb6e7fbe285d1aa70f9eade0d84256c3d56b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1490-1506 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:127-143 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1490\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbe42d0c524561057964625a914fccfa10f1178c087610f2a72218008e975ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/compose/list/ExpandableListHeader.kt:142-157 | app/src/main/java/org/mozilla/fenix/compose/list/ExpandableListHeader.kt:167-183 \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/org/mozilla/fenix/compose/list/ExpandableListHeader.kt:142\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/org/mozilla/fenix/compose/list/ExpandableListHeader.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7ff08562e56555af8fd934e6dfcd1772681228aca5287e9a1848f0e5aa34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawer.kt:117-133 | app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugOverlay.kt:141-157 \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/org/mozilla/fenix/debugsettings/ui/DebugDrawer.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"44695c293afbe1e618e4bdbcf321fbedb17f26f8d51696502d49b30335815226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:107-123 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:95-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:105\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:93\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/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533214af31a7f3b9ac336255fda753e8cec596d6c9acccbf324389ab35807e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt:89-105 | app/src/main/java/org/mozilla/fenix/settings/biometric/ui/UnlockScreen.kt:89-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ccde534a254ec343096db3033f00911066630b52d57f374c4ba0128617a494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:470-486 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:417-432 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:470\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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec965764810b08f7a6667f8667185f0ebf7bc805c05a1a3fc663df81e8475f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:195-211 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:294-310 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:195\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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0fa8e005cbf52d804b932ba6f636509b558e4d0fe7b87547f162435f8c08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1528-1543 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1636-1651 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/AddFolderScreen.kt:144-159 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt:165-180 | app/src/main/java/org/mozilla/fenix/bookmarks/ui/SelectFolderScreen.kt:441-456 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/ui/EditFolderScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1528\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"0995ea2c0700e17278b18ff723077dd4a42c7a9b7d5f46dc4a7db815d2290a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:906-923 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionFragment.kt:173-190 | app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt:70-85 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:504-521 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:906\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd42fbd556d8381e504ad891c51354eb4b6f7d80cbdbcba217ed960cf36280af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:251-265 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:344-358 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:430-444 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:454-469 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4454e8900c544bddec05d9bcff9b721c36c6d8dc220c2a47db51f16c5c823a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:157-172 | app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt:79-94 \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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt:157\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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c247810d96d3fbfe29ac92ad3b27e041a0d2afe00a806ebcd8017790f2310274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:455-470 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:514-529 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:455\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:454\u0060 calls \u0060fillMaxWidth\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:513\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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb114fba95e2168f27e1ee984009906aa532a24e2860ae043c194cdd7b8a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:181-196 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:72-87 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:181\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc75f43816abeb47f1a097854b5cdd945d9f3b00d2719272054bd65a47dbef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt:320-335 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt:370-385 \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/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt:320\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/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf1385f6f15d9a276ed7dd63374653eacc90bae34fac0de8ba158cf8e4bed8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1048-1063 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1069-1084 \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/org/mozilla/fenix/compose/list/ListItem.kt:1048\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1569d6c78fb7da29e4ee522503cb83263ae6432a2752974bf72a9574e386550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt:138-153 | app/src/main/java/org/mozilla/fenix/home/ui/MiddleSearchHomepage.kt:73-88 \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/org/mozilla/fenix/home/ui/Homepage.kt:138\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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"317b3c9390b978f3ed6edab5705b8fb1da4eb659fca5c87e8180f17b7bebd73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:359-374 | app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:404-419 \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/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt:359\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/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cd4295fad8e618592d40dd4f266e9ee651cc568540b6a0bd5d0a3477934d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:621-636 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:772-787 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:621\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d5d537e786a36228dcdf1e0e1d17761d1b64c1395f971f1ea66fc156be6298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:242-257 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:380-395 \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/pt/dweep/sideraven/ui/SidebarContent.kt:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:396\u0060 calls \u0060IconButton\u0060, \u0060size\u0060, \u0060testTag\u0060 and \u0060app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:258\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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"837d0a6aadacef5fced7db17242b48fe1dbaf738ba2ab3e1a1ab5e844c261629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:770-784 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:820-835 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:770\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060Text\u0060 names \u0060androidx.compose.material3.Text\u0060 in one and \u0060mozilla.components.compose.base.text.Text\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f32b536b2fdafbaaef28a39ccd241af60757d3d565416445343d3edcc5db6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1190-1204 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1227-1241 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Text\u0060 names \u0060androidx.compose.material3.Text\u0060 in one and \u0060mozilla.components.compose.base.text.Text\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"afefcba9af9498757bcf13891159339ce65b2e3e861ee568ea42a0902e5aff29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:140-154 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:208-222 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:140\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9429e701c6d5147ab0c4809ae07c3ec2d73e47837e065c5021da9cd2f8e20e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserNavigationBar.kt:107-121 | app/src/main/java/org/mozilla/fenix/home/toolbar/HomeNavigationBar.kt:45-59 \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/org/mozilla/fenix/components/toolbar/BrowserNavigationBar.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6ed6c1ef1e67355401bb899329a1fc2c2c93f4b428c86f6789927d3041e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1281-1295 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:745-759 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AddNewPrivateTab\u0060 names \u0060org.mozilla.fenix.components.toolbar.TabCounterInteractions.AddNewPrivateTab\u0060 in one and \u0060org.mozilla.fenix.home.toolbar.TabCounterInteractions.AddNewPrivateTab\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca410cbb8dd8cee5d50596d074c1279364de8493ac6bb0832da3e7e60ede51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1404-1418 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:700-714 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1404\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060TabCounterClicked\u0060 names \u0060org.mozilla.fenix.components.toolbar.TabCounterInteractions.TabCounterClicked\u0060 in one and \u0060org.mozilla.fenix.home.toolbar.TabCounterInteractions.TabCounterClicked\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"526d291911fd1b269e32802358662989ed537c588e5537ddc7c6f7caadf2596d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1058-1072 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1090-1104 \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/org/mozilla/fenix/compose/list/ListItem.kt:1058\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645d7132870d450d086c3ce7ab742f8dcc3d23f1c926e69cc32e3c2b9fe8806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1412-1426 | app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt:1431-1445 \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/org/mozilla/fenix/compose/list/ListItem.kt:1412\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/org/mozilla/fenix/compose/list/ListItem.kt"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d0898e0250101f22df8a08ed867b161cee0659a85dae8f66904f8fe87434d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt:118-132 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheetFragment.kt:91-105 \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/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt:118\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/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c221049bf9441acbf22c0a8efb3bd04a837e14c4558a96fdc2a4998feaa27c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt:58-72 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyFooter.kt:57-71 \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/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt:58\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/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b8d5a6dbf38b3ad28685484e742ca2538a9f5a70ade212f255a8d8acaf355b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt:54-67 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedItemViewHolder.kt:47-61 \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/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060History.Metadata\u0060 in one and \u0060TabState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/historymetadata/view/HistoryMetadataGroupItemViewHolder.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96c93c365dec84953ee9fd26f3190abfa059fdb071bc057835377d6ac9b5514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt:711-725 | app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt:266-280 \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/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6539727d9bbea0e4d0443f453f0315143e14b20e49b88736520f75491017b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt:177-191 | app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt:298-312 \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/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt:177\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/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26866a9419808fbce043e49446d303bb8a879707200a378aa6dea1d41e246d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:560-573 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt:695-709 \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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"32655756e2769dbeab2f158df2779ca72d94c3007d54d21deec1fcc180aba89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt:759-771 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:286-299 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:331-344 \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/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:286\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/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd14e6ced16f37443deebde43ce88284213c934adac8756981c1bd995a2f1718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:144-157 | app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt:990-1003 \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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:144\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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"884cabd85adf9febbd61671c3460ec859b2ec0fc32130d3120e553a7f7acbe3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:822-836 | app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:2725-2738 \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/org/mozilla/fenix/browser/BaseBrowserFragment.kt:822\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db87b000e37932f70d6b4fb091a7d04db8cee3d25c2b7ccd8f730eef0e73795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt:493-506 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:763-776 \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 before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt:491\u0060 calls \u0060withContext\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:762\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/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c778f71d5051e05f668908a01f20471b25d3cf8df1bd5c69870bdea7c7c44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:209-221 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:88-101 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:209\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89cbcf3b5aac27b6e47539a80f42911ad8fbd514ce0ffcbdd7a6ea9c7642f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:330-343 | app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabTools.kt:199-213 \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/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:330\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf30ef47cec35760b17424a07097e8a7a064472a05d918de6b9960e591c1a71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt:611-624 | app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt:635-648 \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/org/mozilla/fenix/home/topsites/TopSites.kt:611\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/org/mozilla/fenix/home/topsites/TopSites.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649f10a94a96de61f892e01f0f95b6d24a79cda68c8119cf67aa0395afa6e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt:76-89 | app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt:440-453 \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/org/mozilla/fenix/snackbar/SnackbarBinding.kt:440\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt:439\u0060 calls \u0060viewHasFocus\u0060 and \u0060app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt:75\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/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e5582e6444db1d8b12654b3dde09de51fad4c828cda6b4945f1599041e63c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:505-518 | app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt:534-547 \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/org/mozilla/fenix/settings/IPProtectionScreen.kt:505\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"00010bfb0334ffa805f0b42dd2fafc9350413155e4c87472c19ba62e6d708fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:343-356 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:278-289 \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/pt/dweep/sideraven/ui/EssentialsSection.kt:343\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/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10759a057a169eb072b050e0caa7f6c3ff94e5ab37a77c85cd2a5fa2be64c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:91-103 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:86-98 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:81-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:105\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:95\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/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67dfaefd61817f54a0629799d94b55643d9b391ccacce98126c4f1f1d37f5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:86-98 | app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt:69-81 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:76-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt:82\u0060 calls \u0060rememberScrollState\u0060 and \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:99\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/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b5c024141aae4b4df700fbdd008a26f39704f0c3eecf2de119169f71dc0983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:422-434 | app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:2704-2716 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfef54147d2c191d3cd1e4d6f31a6dbc0ebfdbe734852e7b236b8623e42872ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1207-1219 | app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1240-1252 \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/org/mozilla/fenix/bookmarks/BookmarksScreen.kt:1207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Text\u0060 names \u0060androidx.compose.material3.Text\u0060 in one and \u0060mozilla.components.compose.base.text.Text\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1a8a0703c73c941665fd10a615aed448c311b27694d1dc7900907df9c78f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:542-554 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:925-937 \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/org/mozilla/fenix/browser/TabPreview.kt:542\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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b999f2a44c4f8c1980d95f212d8d870b69d94f7fdd0ae5604abded0ff4217c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:628-640 | app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:816-828 \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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:628\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fffb7e2535d6ebd3c336707b9c5afc9634f5c8200bc738d10e326c810527cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:1129-1141 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:171-183 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:1129\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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"17686f31bc308bdc8fd4a461bee192ca3af768bd0984b7f0ed0d2dddbe0eda17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/LibraryMenuItem.kt:129-141 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:521-533 \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/org/mozilla/fenix/components/menu/compose/LibraryMenuItem.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ed7b80619166c62060e624e5abdabf1622b0df7ff90d3234a92464d0f54902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt:342-354 | app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt:393-405 \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/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt:342\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/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd40f0052aa20fa533acdb03daf42f556928b749697734f4379ee794985a9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:200-212 | app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserFragment.kt:176-187 \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/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e08b39c7c3bc0302b7397b1d48500ea583612e5f3e9f90aea59b52d2da0043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:461-473 | app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:503-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:461\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/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef73262535070fe9a4935137956ff82d54dade2d0ece6fed0cdd041d0259d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:181-193 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:280-292 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:181\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/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6899b8de9abf0d544dfdd999d5b5259065e22d4c8391549a95c5d396a0a3728d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:378-390 | app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:442-454 \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/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt:378\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/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c018f0901bc80d1e34e1ac4fec2526d35065642d9c52f23f3c0ca75ac75b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201314 lines \u00D7 4): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1686-1699 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1713-1717 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1737-1741 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1776-1789 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1686\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9048c82f226836410d45830487a333dbd0d4cd0a5ca1a82e89b4a8907f11ea41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:1144-1155 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:186-197 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4ffece9e3aaabedf736280c728fd902d162ba8b24e94dd7530206b3d9e9ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:136-147 | app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:160-171 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:150\u0060 calls \u0060HorizontalDivider\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:172\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10fc575196f94e2b81930484e1aaa1756f40f1a8e18aa2cc95a23a2fc5bedb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:204-215 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:228-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:218\u0060 calls \u0060HorizontalDivider\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:240\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/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8103f95693b4f0232d202c0c284791ebe43cb67b5d8c5930691782ce9b8af85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1554-1565 | app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:486-497 \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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1554\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ba081f4e0a6bfb34481ae5312821669836feac3929e11aeda9a4aa70b929b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt:76-87 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarTelemetryMiddleware.kt:40-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060AddNewPrivateTab\u0060 names \u0060org.mozilla.fenix.components.toolbar.TabCounterInteractions.AddNewPrivateTab\u0060 in one and \u0060org.mozilla.fenix.home.toolbar.TabCounterInteractions.AddNewPrivateTab\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt:74\u0060 calls \u0060trackToolbarEvent\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarTelemetryMiddleware.kt:39\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/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbba844e7b923130e4aba9ed151dbddd72e69497581c4e4b3c6626cb9ed837d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt:226-237 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:198-209 \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/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt:226\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/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da9ad3ac4035e623d7797b82eda247ac27a8bf243390604e0a96a9006ad65c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:229-240 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:367-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:229\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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea00dd6337e4ed5fc2a1ea12f0d308480abf714374b81679e8b1b0b79940956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:110-120 | app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt:127-137 | app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:98-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt:105\u0060 calls \u0060mutableStateOf\u0060 and \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/ToolbarOnboardingPage.kt:93\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/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9ef1ba605c3924630a69c6e4f4de40557af02cb737884a47b9090824f1dd38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:479-489 | app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:491-501 | app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:502-507 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:479\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:479\u0060 calls \u0060fillMaxWidth\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt:502\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/org/mozilla/fenix/debugsettings/tabs/TabGroupTools.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"50138d818ba1951a2f2daf3ed782a0928ba156ddd65e51b246bb29250ba0716f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:591-601 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:525-535 \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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:591\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fc4cc15e56d5fcfba072a5ad1d7ce4b27acd2e1bbb530121c55722db7585e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:331-341 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:266-276 \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/pt/dweep/sideraven/ui/EssentialsSection.kt:331\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b7b1bc3976214746085fdce95d35d6870f2791dec75bedf10c56fa318394a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1701-1723 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1725-1747 \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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"95201fe8d2252c2fb50022f70fefc056f5cbc918a91fc6e152a6350cbbb70666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:150-159 | app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:287-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ea6dafd24f61a31223fc6fe6fa2716f58de4a97119d9d64bbb0f32fa27f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:340-350 | app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:722-732 \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/pt/dweep/sideraven/ui/SpacesUi.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f928ae67d07daabc3c948414625dfbf91cba7527e4e3a032e3c5ea81312f450c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonInternalSettingsFragment.kt:62-71 | app/src/main/java/org/mozilla/fenix/addons/WebExtensionActionPopupFragment.kt:96-105 \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/org/mozilla/fenix/addons/AddonInternalSettingsFragment.kt:62\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/org/mozilla/fenix/addons/AddonInternalSettingsFragment.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86914e679f930ac8e07cdce0a129de748763194f182faacc7f2b6d0fa459ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:436-445 | app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:2718-2727 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt:436\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e7dc537fc43b37b323ac963ea8212d6da984859a377742172149fa905ef926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt:180-189 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt:392-401 \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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca8c7f2ec757ca6804b5b0c2b5299ac653aef03ad969eca05814ee85512f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1543-1552 | app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:477-486 \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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1543\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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c05cd6b7b69e7d73dde82438484b25fc3fd1cb5b26cd9e2eae6f4418b686a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt:1603-1612 | app/src/main/java/org/mozilla/fenix/home/topsites/ShortcutsFragment.kt:63-72 \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/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4a398e40a25a59e3c29d3a7551a4048a1f80fef23de859ea5b3778175a575e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyHeader.kt:49-58 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyRequestPrompt.kt:109-118 \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/org/mozilla/fenix/microsurvey/ui/MicrosurveyHeader.kt:49\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/org/mozilla/fenix/microsurvey/ui/MicrosurveyHeader.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f5675195fb4e60bc62ca9f0bf35327099812f3b0ba046534b36c73580b9bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt:51-60 | app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.kt:53-62 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.kt:50\u0060 calls \u0060getTelemetryToolbarType\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt:48\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/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a04fb82dd39813265b65e4a47ed6b80f42fdca2d503cdee9261f5940801f3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:282-290 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:224-232 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:508-516 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:293\u0060 calls \u0060Animatable\u0060, \u0060LaunchedEffect\u0060, \u0060animateTo\u0060 and \u0060app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:233\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/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c794e6a6e0f3fc7017f531e219030350252162900d44e4f9ef83bdaeac28454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:490-498 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:821-829 \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/org/mozilla/fenix/browser/TabPreview.kt:490\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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100777be33669fafe72fc1ac3a6708cc02c63180adae3978b525e3c1875ae45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt:82-89 | app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt:163-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/logins/ui/EditLoginScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa8a7135bad5985df15b60a0d736b3c9a8d5ca89859d1b1da9bba6800981ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt:115-122 | app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt:210-217 | app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt:90-97 | app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt:176-183 | app/src/main/java/org/mozilla/fenix/trackingprotection/ProtectionsDashboardFragment.kt:38-45 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/applinks/AppLinksPromptFragment.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"07803a51a8d4fc9434a7764b68e30ed0a03baeb6a25d97349d98e91159058a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt:497-504 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:767-774 | app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt:202-209 | app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserFragment.kt:178-185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ddc049ddc032f5cd91bbe593e68111478888a3ef2ab504fef454427dd9169f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:170-178 | app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedFragment.kt:59-66 \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/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:170\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/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9239fe794c13d8b09d0ebe01ca12375b86911e5b8aedd102a2d56e1a82947a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheet.kt:158-164 | app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyContent.kt:126-132 \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/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheet.kt:158\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/org/mozilla/fenix/microsurvey/ui/MicrosurveyBottomSheet.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"954f85edd129b11c1bebec6d4644138b7fd2e789a58c85d4f8885e13f05e99b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1649-1658 | app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:1792-1801 \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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4ec8aef5b678def6621b059f016368108eb3629628eba84d51a494d16efd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt:105-109 | app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt:126-130 \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/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt:105\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/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorMiddleware.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ceb6f0e93b975d74834203e8c78470e5494ce37fd730662647b21b48d3d0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/debug/java/org/mozilla/fenix/LeakCanarySetup.kt:53-59 | app/src/forkDebug/java/org/mozilla/fenix/LeakCanarySetup.kt:54-60 \u2014 before extracting anything, compare \u0060app/src/debug/java/org/mozilla/fenix/LeakCanarySetup.kt\u0060 and \u0060app/src/forkDebug/java/org/mozilla/fenix/LeakCanarySetup.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/debug/java/org/mozilla/fenix/LeakCanarySetup.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"29240332d22ea3e1d468de66f7d316ff91b38306fa3634d66826c867661b5287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt:62-69 | app/src/main/java/org/mozilla/fenix/browser/TranslationsBannerBehavior.kt:222-229 \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/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab28d686f8ce734117e8d199e72c008e1f3204297a3635a90f30f87fe04be500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt:72-79 | app/src/main/java/org/mozilla/fenix/browser/TranslationsBannerBehavior.kt:231-238 \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/org/mozilla/fenix/browser/AutofillSelectBarBehavior.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c9fe1e830f8ad6b03c8380d2c3a12435140f794301e1f9bb22b9d06de31633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt:612-617 | app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1644-1649 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:790-795 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a431f06e0f64e3d5bfd88fb815de9e3f84f489182913710929f117b28a7e00a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuItem.kt:461-468 | app/src/main/java/org/mozilla/fenix/components/menu/compose/MenuNavigation.kt:182-189 \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/org/mozilla/fenix/components/menu/compose/MenuItem.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae6ed86436bb2f4a8ec1c8c3189709bafff584e053043f6c5b4854d320ace5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt:1025-1035 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt:564-574 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2c04cb1056b58ba7ea1d29362d3055b4cab628365ae65a8d3e9018cd2a4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt:217-222 | app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarTelemetryMiddleware.kt:103-108 \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/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt:217\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/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174affd1d5c61498e44637d36fb2412b2d2090cb4309a4c93ec742375d7f403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt:84-101 | app/src/main/java/org/mozilla/fenix/reviewprompt/ui/CustomReviewPrompt.kt:82-99 \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/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt:84\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/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheet.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"858fb916b458504cd4a06a80a14efdfe14bdde6d6dc49d99576f4a36c65eaa11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt:539-550 | app/src/main/java/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:214-225 \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/org/mozilla/fenix/library/history/HistoryFragment.kt"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2e27f8e4321feb66cc650f2174067c4bb341989c31b90d0d2ffc4d575bc2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/reviewprompt/CustomReviewPromptBottomSheetFragment.kt:50-57 | app/src/main/java/org/mozilla/fenix/tabhistory/TabHistoryDialogFragment.kt:36-43 \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. 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/org/mozilla/fenix/reviewprompt/CustomReviewPromptBottomSheetFragment.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ed20ef8920858436cbf39e2b655f63793b5c2abbc146cae0894386b7e30904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt:50-60 | app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt:50-60 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt:48\u0060 calls \u0060getTelemetryToolbarType\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt:48\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/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a38f3c98c45121391083dc3e5cdd83ff9e1af516a0a0079697c8a778b09c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsManageExceptionsPhoneFeatureFragment.kt:220-225 | app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsManagePhoneFeatureFragment.kt:247-252 \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/org/mozilla/fenix/settings/sitepermissions/SitePermissionsManageExceptionsPhoneFeatureFragment.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c98f2acc2c412a340217cdaed65b760b2b735805221604e68ece9be70e7da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt:74-78 | app/src/main/java/org/mozilla/fenix/shortcut/CreateXiaomiShortcutFragment.kt:97-101 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/shortcut/CreateXiaomiShortcutFragment.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/org/mozilla/fenix/shortcut/CreateShortcutFragment.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb43fc5a12f78dbcb3dd017639a9b4db31cd7fbc0cbe9954ad2353cc87dba9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:265-277 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:331-343 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8cf6e8baf03d609da1c67305c08c8362ef4610d584fe4b346c6761b57d4556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt:332-342 | app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt:397-407 | app/src/main/java/org/mozilla/fenix/tabstray/ui/tabstray/TabsTray.kt:580-590 \u2014 before extracting anything, compare \u0060app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ca456b6f039870876ce3b55408e03f421aebf1729e31bb9a21facf23067ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt:1739-1747 | app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt:435-443 \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/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f81a0b6e52e8b7aa854291995b8daa8831d81addeea0b240acdc16aace9842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrPreferencesRepository.kt:110-124 | app/src/main/java/org/mozilla/fenix/onboarding/store/OnboardingPreferencesRepository.kt:104-118 \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/org/mozilla/fenix/debugsettings/cfrs/CfrPreferencesRepository.kt:110\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/org/mozilla/fenix/debugsettings/cfrs/CfrPreferencesRepository.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21ddc1a27040eb53a54b097b32305355d21c4cc40299aa7382d1ec9b7ddd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrTools.kt:174-181 | app/src/main/java/org/mozilla/fenix/debugsettings/gleandebugtools/ui/GleanDebugToolsScreen.kt:237-244 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060Text\u0060 names \u0060androidx.compose.material3.Text\u0060 in one and \u0060mozilla.components.compose.base.text.Text\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrTools.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd136453795b44a17b25a227f132f04016e08c09b074db3bfcfcf8df8b509f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/downloads/RenameAndChangeLocationDialogFragment.kt:186-198 | app/src/main/java/org/mozilla/fenix/settings/downloads/DownloadsSettingsFragment.kt:43-55 \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/org/mozilla/fenix/downloads/RenameAndChangeLocationDialogFragment.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"90be520bd4b84c008ee21913ee4598acaaccbf999ad9af061376818a6d2b0953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/exceptions/login/LoginExceptionsAdapter.kt:28-33 | app/src/main/java/org/mozilla/fenix/exceptions/trackingprotection/TrackingProtectionExceptionsAdapter.kt:31-37 \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/org/mozilla/fenix/exceptions/login/LoginExceptionsAdapter.kt:28\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/org/mozilla/fenix/exceptions/login/LoginExceptionsAdapter.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0493d9df8540a76078c95f1a285571f5be5ec671815889ca68dac889be8e143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt:567-580 | app/src/main/java/org/mozilla/fenix/library/historymetadata/HistoryMetadataGroupFragment.kt:282-295 \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/org/mozilla/fenix/library/history/HistoryFragment.kt"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd25527638497e19cee56ac4f705beac2e19cc19fbd8969cd6dc5d2b518199f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt:378-390 | app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.kt:343-355 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060itemOffset\u0060 to \u0060GridItemOffset\u0060 in one and \u0060ListItemOffset\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e350fd5a8c295adc7aad547fa8c408068fad816e8812a4b0f2c031c86e9553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/tabstray/redux/middleware/TabManagerUiStateStorageMiddleware.kt:39-51 | app/src/main/java/org/mozilla/fenix/tabstray/redux/middleware/TabStorageMiddleware.kt:128-140 \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/org/mozilla/fenix/tabstray/redux/middleware/TabManagerUiStateStorageMiddleware.kt:39\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/org/mozilla/fenix/tabstray/redux/middleware/TabManagerUiStateStorageMiddleware.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8814b0c1ad1a86ff62ef2b5e97ffc066bef1456136ab3a58fbcd01201e7d413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/home/recenttabs/view/RecentTabs.kt:199-211 | app/src/main/java/org/mozilla/fenix/home/recentvisits/view/RecentlyVisited.kt:181-193 \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/org/mozilla/fenix/home/recenttabs/view/RecentTabs.kt:199\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Text\u0060 names \u0060androidx.compose.material3.Text\u0060 in one and \u0060mozilla.components.compose.base.text.Text\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/recenttabs/view/RecentTabs.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f319713adf89bb32e2e1b65a95e50ecd29875f90e3b4b430284bacd12f9a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/mozilla/fenix/settings/HomeSettingsFragment.kt:76-88 | app/src/main/java/org/mozilla/fenix/settings/HomeSettingsFragment.kt:92-104 \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/org/mozilla/fenix/settings/HomeSettingsFragment.kt:76\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/org/mozilla/fenix/settings/HomeSettingsFragment.kt:73\u0060 calls \u0060setupPreferences\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/HomeSettingsFragment.kt:88\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/org/mozilla/fenix/settings/HomeSettingsFragment.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f67fc2cd0614ad7198e41b6effa3a208582ff195c5cb94c8ed48d2550c3f5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): plugins/conventions/src/main/java/org/mozilla/conventions/MachTasksPlugin.kt:231-239 | plugins/conventions/src/main/java/org/mozilla/conventions/MachTasksPlugin.kt:315-323 \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":"plugins/conventions/src/main/java/org/mozilla/conventions/MachTasksPlugin.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea81a5d8c662db9368968faad69cac29d65d7bb2fbbf5bcdcd016243d45952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/Spaces.kt:276-281 | app/src/main/java/pt/dweep/sideraven/Spaces.kt:290-294 \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/pt/dweep/sideraven/Spaces.kt:276\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/Spaces.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad37c047532e19a4abaebfb03a52c95f75e8b2771d63d1c8dfd6c278634e72e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt:130-135 | app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt:132-137 \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/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"817522e1402bc68a70bf70eba05a3e76a4d5d200fcb79f654fe3fcd0ceef4eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt:2516-2520 | app/src/main/java/pt/dweep/sideraven/ui/SpacesUi.kt:623-627 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4eb0e85998cfa0a0fcf75dac32c10d805c70f7da42a0afc9fc2ae5e3ca79d4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :app:longfox: :app:longfox: abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a5b503260e20f3b5dc4aa852b20ec79d0c17792d82e78042c0f3d1ffdfcdb1a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ControlPlacesTest (LCOM4 16): ControlPlacesTest\u0027s methods fall into 16 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 16 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/testSideraven/java/pt/dweep/sideraven/ControlPlacesTest.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa3b2e24220432a069a6e3cea91735ed2de6090ae10ea68eb60704cad256be"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomeActivity (LCOM4 15): HomeActivity\u0027s methods fall into 15 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 15 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/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bde4bee64df2e556d2a74d5f5375ebdc617e0952fbb09d949b0c0dd6003b73"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BrowserFragment (LCOM4 7): BrowserFragment\u0027s methods fall into 7 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 7 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/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"563fc9130bc5ea037808ffd40bc0498e375bb1949772029c7f13b8452cf38a99"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Settings (LCOM4 5): Settings\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/org/mozilla/fenix/utils/Settings.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca701ba26940c284cd0d09b1855a55b19895c333d92aca8d2bf43fa7c775aa7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PhoneSidebarTest (LCOM4 5): PhoneSidebarTest\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/testSideraven/java/pt/dweep/sideraven/PhoneSidebarTest.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f8e25b5182df44be63e48a00dd760f46f9e306079a3ecd19940530336fa0c7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ToolbarButtonsTest (LCOM4 5): ToolbarButtonsTest\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/testSideraven/java/pt/dweep/sideraven/ToolbarButtonsTest.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812e1247e4412ce619c6daeb2c58dc3c735dc01e92efcbe6b535045182a7cf5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArrangeModeTest (LCOM4 5): ArrangeModeTest\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/testSideraven/java/pt/dweep/sideraven/ui/ArrangeModeTest.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3498124d1279c40d66f6c7f0c392b8478423cb5e061d502a75031c0dfc3fbb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AccountSettingsFragment (LCOM4 4): AccountSettingsFragment\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/org/mozilla/fenix/settings/account/AccountSettingsFragment.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5bd005023ac6addf5aaf550551af81f5dbaff73f55f727902f9d9f536052c5"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: verifyTheDeleteBookmarkMenuItemInACustomTabTest: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Disabled for recently failing due to race conditions https://bugzilla.mozilla.org/show_bug.cgi?id=2050387\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/MainMenuTest.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c1e5894d2630f2d1abb5d3290274abddcf183551303819853b87f2af7f1bc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in BrowserToolbarMiddleware.invoke at line 295. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0866e90dc0bd475a0d430da4d1ee26b75c2c1a53a805d2da5055d805a1ece5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt: app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in ReleaseMetricController.process at line 156. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.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/org/mozilla/fenix/components/metrics/MetricController.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ce108214e76ed061b26df5ff6b1548addc69ef1b2e13524e00db0ef8bf98b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/pt/dweep/sideraven/SidebarState.kt: app/src/main/java/pt/dweep/sideraven/SidebarState.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in SidebarIntentHandler.handle at line 979. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/pt/dweep/sideraven/SidebarState.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/pt/dweep/sideraven/SidebarState.kt"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7cfeca0b2680cc4527332d7145e733f4694967eefd740958ec3b1309ee8e81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt: app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in SidebarContentKt.SidebarPanel at line 1253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/pt/dweep/sideraven/ui/SidebarContent.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/pt/dweep/sideraven/ui/SidebarContent.kt"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7e9a31ec788782da092d664c959b92850f05213c990db892bd0e562a7445e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/HomeActivity.kt: app/src/main/java/org/mozilla/fenix/HomeActivity.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HomeActivity.onCreate at line 472. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/HomeActivity.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/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ba1b9ade6b951e4136f9085d59557c71c5c51e371e503a14168c9233df5de4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.kt: app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in SearchFragmentStoreKt.searchStateReducer at line 418. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.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/org/mozilla/fenix/search/SearchFragmentStore.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"da440ce06a08a9f88692f3051aef3fbb7c984975018d27b7e7013e375eec3663"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in MenuNavigationMiddleware.invoke at line 78. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.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/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4792061ba14bca10747ff0f13b7ee0c7579fc9e3013fa4518cb55c3c82809200"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt: app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MenuDialogFragment.onCreateView at line 255. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa31e0c41dd46bd4d90873449f83a663808c0a39babef56a64bf7ff9bfb08369"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/pt/dweep/sideraven/SidebarHost.kt: app/src/main/java/pt/dweep/sideraven/SidebarHost.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in SidebarHostKt.SidebarRoot at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/pt/dweep/sideraven/SidebarHost.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/pt/dweep/sideraven/SidebarHost.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652f6dedfcc1f9c5d8b34e67508bcbd4835ddbce947ee7bff50529553a89d76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/FenixApplication.kt: app/src/main/java/org/mozilla/fenix/FenixApplication.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FenixApplication.setStartupMetrics at line 986. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/FenixApplication.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/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"329736676dee4a3657ca46a29b73362bdaee7c4c1aad549ebdb0e62afccf71aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt: app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BaseBrowserFragment.initializeUI at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.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/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"746d79d22ea3b088e03647fef61b0eef46417501e289f89e597c9b2485430a71"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt: app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in HomepageKt.Homepage at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/ui/Homepage.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/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d183604df89a6dfd318502d06da09612c79ae3f1f2d19466220d8c23c45204"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.kt: app/src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in AppStoreReducer.reduce at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/appstate/AppStoreReducer.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/org/mozilla/fenix/components/appstate/AppStoreReducer.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb8e8464dea597d11b3a4ef99ff3b3fdc988a0241590263cf8632b11dbe0ebd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in MenuTelemetryMiddleware.invoke at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.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/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35b97accfbdfbad5ec3b375e24af47dfdc6592e182aeb0d1e608487f9e7c3c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt: app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BrowserToolbarMiddleware.invoke at line 176. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b754d6ec4e73b4ad7389a1d03d5718d7c82420c01bcbcbe797b0db12d390505b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt: app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SnackbarBinding.onState at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.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/org/mozilla/fenix/snackbar/SnackbarBinding.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f9722d749bff10a80cfef7c0cf391c051ca08d69439b11165d986b3fff2e55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt: app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BrowserToolbarSearchMiddleware.buildAutocompleteProvidersList at line 421. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.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/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f195ef336e1549796137a465bcb74da80122f57305ef833f35915178e96a56b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt: app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CustomTabMenuKt.CustomTabMenu at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.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/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecf1b304c1dea5152471eff792d5533b73a78ad0f4894a3e17aa324a8f7dbfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.kt: app/src/main/java/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in DownloadUIStoreKt.downloadStateReducer at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.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/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5464f41e77f5be82f441ba15b41b7691d0f9c625bfb59c0a7c0299e12d435a87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt: app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in MainMenuKt.MainMenu at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.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/org/mozilla/fenix/components/menu/compose/MainMenu.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ec589dbdf6963672d14845623ea93b1d4ab4f9c65475d99f35e3ce7886352a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt: app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in PinnedTabsUiKt.PinnedTabRow at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/pt/dweep/sideraven/ui/PinnedTabsUi.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/pt/dweep/sideraven/ui/PinnedTabsUi.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6458fece64d551b3a2d6fb29b188d3b8f42bfe841142c8f255196efcd76942"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt: app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in EssentialsSectionKt.EssentialTile at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/pt/dweep/sideraven/ui/EssentialsSection.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/pt/dweep/sideraven/ui/EssentialsSection.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7a94468c9ecfbdb5ba8f594811b9a3861397312d47417cde2a2c76da8e75d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.kt: app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TabsTrayTelemetryMiddleware.handleTabGroupAction at line 179. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.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/org/mozilla/fenix/tabstray/TabsTrayTelemetryMiddleware.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45913f1a3ac88781960f11d82abe6a6cb7d687b9284744537287650112da0e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt: app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AwesomeBarComposable.SearchSuggestions at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.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/org/mozilla/fenix/search/awesomebar/AwesomeBarComposable.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee8989495a8d9f7cf605933acdc439367ae6f130ec64883b00e60a64ebf56fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/utils/Settings.kt: app/src/main/java/org/mozilla/fenix/utils/Settings.kt changed 25 times in last 90 days and 19 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Settings.shouldShowOnboarding at line 2480), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix merge\u201D; \u201CBug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u201D; \u201CBug 2060524 - [experiment] Part 1: Add a Nimbus feature flag and secret setting to control feature enablement. r=android-reviewers,sfamisa\u201D; \u201CBug 2058312 - Part 2: Wire up the Homepage PromoCard highlighting the Collections to Tab Groups migration r=android-reviewers,npoon\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/utils/Settings.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/org/mozilla/fenix/utils/Settings.kt"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"085f3537f881f5767666b110036416201ed06e28fc108561eceff0d2fa23a287"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt: app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.kt changed 15 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is SecretSettingsFragment.onCreatePreferences at line 128), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix #457\u201D; \u201CBug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u201D; \u201CBug 2060524 - [experiment] Part 1: Add a Nimbus feature flag and secret setting to control feature enablement. r=android-reviewers,sfamisa\u201D; \u201CRevert \u0022Bug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u0022 for causing fenix debug failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/SecretSettingsFragment.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/org/mozilla/fenix/settings/SecretSettingsFragment.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e9a224f056b40d7e2d8ccc2b8ace555f62617be96e8cff67037c606fb58bac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionTelemetryMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionTelemetryMiddleware.kt changed 9 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is IPProtectionTelemetryMiddleware.handleToggleFailedAction at line 138), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2068852 - Add operation and failure-state extras to vpn.error_encountered.  a=dmeehan\u201D; \u201CBug 2049041 - Part 3: Fold the location switch into the activation request. r=android-reviewers,sfamisa,skhan\u201D; \u201CBug 2049041 - Part 2: Add telemetry for a location switch failure r=android-reviewers,Roger,gmalekpour\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionTelemetryMiddleware.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/org/mozilla/fenix/components/ipprotection/IPProtectionTelemetryMiddleware.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"381b45fea3c0b378dff10dfd975b6048452789b0445297841264a80a3f77c72f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt: app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt changed 9 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is HomeDeepLinkIntentProcessor.handleDeepLinkSideEffects at line 102), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2060524 - [experiment] Part 2: Add the notification channel and logic to build and show the weekly privacy report notification, deep-linking to the protections dashboard. r=android-reviewers,sfamisa,android-l10n-reviewers,parker\u201D; \u201CRevert \u0022Bug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u0022 for causing fenix debug failures\u201D; \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CRevert \u0022Bug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u0022 for causing fenix-debug failures HomeDeepLinkIntentProcessorTest.kt.\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.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/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fbd579e1eb89333f5ef592ea7e56125b23a125b73b076154bf624f8aa42cc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt: app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is BrowserFragment.setupToolbarSwipeBehavior at line 214), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2062979 - Extract article text and language via PageExtractor on Listen tap r=android-reviewers,moyin\u201D; \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2020488 - Removed the duplicate SummarizationSettingsCache r=android-reviewers,matt-tighe\u201D; \u201CBug 2062612 - [UI] Wireframe for new Android PDF viewer tools r=android-reviewers,android-l10n-reviewers,parker,pollymce\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.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/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8497c19747742ae975a51f2fbd650c7837d7cc786ab76fff591d13354a7fdea4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/Components.kt: app/src/main/java/org/mozilla/fenix/components/Components.kt changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is Components.setupChecklistState at line 399), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2058312 - Part 2: Wire up the Homepage PromoCard highlighting the Collections to Tab Groups migration r=android-reviewers,npoon\u201D; \u201CBug 2048722 - Part 1: Add Google Lens to Firefox homescreen widget r=android-reviewers,skhan\u201D; \u201CBug 2020488 - Removed the duplicate SummarizationSettingsCache r=android-reviewers,matt-tighe\u201D; \u201CBug 2052287 - Remove Firefox Labs from Secret Settings r=gl,android-reviewers\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/Components.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/org/mozilla/fenix/components/Components.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a8045fc77ad225a6011b9f2dbb9de0c0fde954b15f7087c4c22edd482595f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt: app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is HistoryFragment.onMenuItemSelected at line 333), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062487 - Remove Android lint suppressions that no longer suppress anything. r=android-reviewers,adhingra\u201D; \u201CBug 2061667 - Display chooser actions when opening native share sheet through history, bookmarks, and recently closed r=android-reviewers,gl\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.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/org/mozilla/fenix/library/history/HistoryFragment.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d3884d4798062e245a59b5c3f5cbbd83b86aced668e12d598925ccebbeb049"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/onboarding/OnboardingFragment.kt: app/src/main/java/org/mozilla/fenix/onboarding/OnboardingFragment.kt changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is OnboardingFragment.onCreate at line 170), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2069211 - Discard onboarding cards that have an unexpected type  a=dmeehan\u201D; \u201CBug 2062950 - Move default browser prompt gating into DefaultBrowserPromptManager.  a=RyanVM\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062950 - Move default browser prompt gating into DefaultBrowserPromptManager. r=android-reviewers,alastun,aaronmt\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/onboarding/OnboardingFragment.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/org/mozilla/fenix/onboarding/OnboardingFragment.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a291bc1e390e7650aa6f4a6b82a67c6f4a488b08c66c0e5d835f64990f5724"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/pdf/PdfToolsIntegration.kt: app/src/main/java/org/mozilla/fenix/pdf/PdfToolsIntegration.kt changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is PdfToolsIntegration.start at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2061281 - Add telemetry for Android PDF signature dialog r=android-reviewers,pollymce\u201D; \u201CBug 2061279 - Add \u0022Add a signature\u0022 wireframe dialog r=android-reviewers,android-l10n-reviewers,parker,pollymce\u201D; \u201CBug 2065098 - Defer adding the PDF tools until the container has attached r=android-reviewers,adhingra\u201D; \u201CBug 2054918 - Add share button to Android PDF viewer r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/pdf/PdfToolsIntegration.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/org/mozilla/fenix/pdf/PdfToolsIntegration.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8dadd5e190d7bd34aec62b2d67e95746c5695a4e18eaef1890625ed972fe79"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/Core.kt: app/src/main/java/org/mozilla/fenix/components/Core.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Core.getSearchEngineSelectorConfig at line 721), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix fork\u201D; \u201CBug 2048722 - Part 1: Add Google Lens to Firefox homescreen widget r=android-reviewers,skhan\u201D; \u201CBug 2020488 - Removed the duplicate SummarizationSettingsCache r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/Core.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/org/mozilla/fenix/components/Core.kt"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2d46986e9d49fdc759096930c5e68bef052d7ced143f931e08fac69540e167"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt: app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is HomeFragment.initComposeHomepage at line 655), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2058312 - Part 2: Wire up the Homepage PromoCard highlighting the Collections to Tab Groups migration r=android-reviewers,npoon\u201D; \u201CBug 2066192 - When trending / recent searches is enabled on homepage, make new tab button on homepage tab strip navigate home with keyboard down r=android-reviewers,skhan\u201D; \u201CBug 2051230 - Move Sync to continuous onboarding day 5 and IP Protection to day 7. r=android-reviewers,gmalekpour\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/HomeFragment.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/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8453eb2107821384e5e005d67fbf4cd663a13cbd929552760f554f5563ef760f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.kt: app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DefaultTabManagerController.handleTabPageClicked at line 320), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2064507 - When all active normal tabs are selected for deletion, don\u0027t remove inactive tabs  a=RyanVM\u201D; \u201CBug 2051483 - Record telemetry about the trackers protection dashboard being opened where this happens r=android-reviewers,jdelorenzo\u201D; \u201CBug 2064507 - When all active normal tabs are selected for deletion, don\u0027t remove inactive tabs r=android-reviewers,007\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.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/org/mozilla/fenix/tabstray/controller/TabManagerController.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11eb20a8a469892becd4fbc18f6077eb23884e3633269133ac4821c8cfd560"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt: app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.kt changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is TopSitesKt.getMenuItems at line 535), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2065188 - Remove the Top Sites pager layout and its secret setting r=android-reviewers,gl\u201D; \u201CBug 2063302 - Add telemetry for collapse/expand shortcuts buttons r=android-reviewers,npoon\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2063070 - Show the add shortcut tile when the homepage shortcuts section is expanded. r=android-reviewers,skhan\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/topsites/TopSites.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/org/mozilla/fenix/home/topsites/TopSites.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"db24bb948f0af74ba49be91d3d3254734c7c011dc6280812451df003f31d3cbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt: app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is IPProtectionScreenKt.IPProtectionScreen at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix merge\u201D; \u201CBug 2064179 - Move debouncedToggleable modifier to Android Components r=android-reviewers,gmalekpour\u201D; \u201CBug 2061846 - Debounce vpn toggle  a=RyanVM\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.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/org/mozilla/fenix/settings/IPProtectionScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd047dda4f4a3f7dce6c6c0cdd841d04715c325124057107fc5b8894b65e7ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/onboarding/DefaultBrowserPromptManager.kt: app/src/main/java/org/mozilla/fenix/onboarding/DefaultBrowserPromptManager.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is DefaultBrowserPromptManager.maybePromptToSetAsDefaultBrowser at line 68), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2062950 - Move default browser prompt gating into DefaultBrowserPromptManager.  a=RyanVM\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062950 - Move default browser prompt gating into DefaultBrowserPromptManager. r=android-reviewers,alastun,aaronmt\u201D; \u201CRevert \u0022Bug 2062950 - Move default browser prompt gating into DefaultBrowserPromptManager. r=android-reviewers,alastun\u0022 for causing fenix.ui.efficiency.test failures. IGNORE BAD COMMIT MESSAGES\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/onboarding/DefaultBrowserPromptManager.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/org/mozilla/fenix/onboarding/DefaultBrowserPromptManager.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c78778a59f1deacb3870511b715f9abc43c0bbc3c5c8a94cb1cd6582ba5d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt: app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SummarizationFragment.onCreateView at line 138), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2020488 - Embedded the summarize settings in the summarization store r=android-reviewers,matt-tighe\u201D; \u201CBug 2020488 - Made the summarize settings learn more link state-driven r=android-reviewers,matt-tighe\u201D; \u201CBug 2020488 - Removed the duplicate SummarizationSettingsCache r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.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/org/mozilla/fenix/summarization/SummarizationFragment.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303eaa43624bd35687cc7a93d22578765a239731d2e8b2012f45775aacfef73"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/search/SearchEngineFragment.kt: app/src/main/java/org/mozilla/fenix/settings/search/SearchEngineFragment.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is SearchEngineFragment.onPreferenceTreeClick at line 333), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix dep\u201D; \u201Cfix type\u201D; \u201CBug 2048722 - Part 1: Add Google Lens to Firefox homescreen widget r=android-reviewers,skhan\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/search/SearchEngineFragment.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/org/mozilla/fenix/settings/search/SearchEngineFragment.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f40177cc83eb28faba7ac3904a81812bcedd291ead50e20b551b7bd3174ef67"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/menu/compose/IPProtectionMenuItem.kt: app/src/main/java/org/mozilla/fenix/components/menu/compose/IPProtectionMenuItem.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is IPProtectionMenuItemKt.descriptionText at line 123), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2064490 - Change VPN call-to-action from \u0022Try it\u0022 to \u0022Try it free\u0022 r=android-reviewers,android-l10n-reviewers,parker,twhite\u201D; \u201CBug 2061846 - Debounce vpn toggle  a=RyanVM\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2061846 - Debounce vpn toggle r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/menu/compose/IPProtectionMenuItem.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/org/mozilla/fenix/components/menu/compose/IPProtectionMenuItem.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cc118e7c435c2fc61534511d8881bd5768baee309244660999cf9bb6924aee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/TabsCleanupFeature.kt: app/src/main/java/org/mozilla/fenix/home/TabsCleanupFeature.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is TabsCleanupFeature.removeAllTabsAndShowSnackbar at line 96), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2064507 - When all active normal tabs are selected for deletion, don\u0027t remove inactive tabs  a=RyanVM\u201D; \u201CBug 2056446 - Bypass the load URI delegate when loading about:home r=android-reviewers,jonalmeida\u201D; \u201CBug 2064507 - When all active normal tabs are selected for deletion, don\u0027t remove inactive tabs r=android-reviewers,007\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/TabsCleanupFeature.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/org/mozilla/fenix/home/TabsCleanupFeature.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d08c0f11271e33760fef6ed5af908f0a15a75b350891a1932eb7b9f1dd1f74"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteState.kt: app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteState.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is TopSiteState.build at line 40), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2063070 - Show the add shortcut tile when the homepage shortcuts section is expanded. r=android-reviewers,skhan\u201D; \u201CBug 2062790 - Hide the shortcuts library button while the show more shortcuts experiment is active. r=android-reviewers,skhan\u201D; \u201CBug 2061011 - Add expand/collapse control to the homepage shortcuts section r=android-reviewers,android-l10n-reviewers,parker,skhan\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/topsites/TopSiteState.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/org/mozilla/fenix/home/topsites/TopSiteState.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f693cdf6ed6c721b8d175e5fba711062c0cbd9a3ee40d3383918352568b2c32"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt: app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is IPProtectionLocationsFragment.handleSelectedLocation at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2049041 - Part 1: Add catastrophic error handling to vpn locations screen r=android-reviewers,Roger,gmalekpour\u201D; \u201CBug 2049039 - Part 2: Show error snackbar when the previously selected r=android-reviewers,android-l10n-reviewers,jonalmeida,Roger,gmalekpour,parker\u201D; \u201CRevert \u0022Bug 2061058, Bug 2049039 - Replace activate Boolean with a data class r=android-reviewers,Roger,sfamisa\u0022 for causing fenix-debug failures.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.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/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a06493ceb71c2e213fdded92cd174d7a47272af47e767d911b630f3f8aa357"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettings.kt: app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettings.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is WallpaperSettingsKt.WallpaperThumbnailItem at line 237), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2061502 - Decode Fenix bitmaps at the size they are displayed at r=android-reviewers,jdelorenzo\u201D; \u201CBug 2064238 - Adds support for a new wallpaper section r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062487 - Remove Android lint suppressions that no longer suppress anything. r=android-reviewers,adhingra\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettings.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/org/mozilla/fenix/settings/wallpaper/WallpaperSettings.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231c7d1d8996db5977beecc5ef884feb31ca218ad016417ea752d03588a8c75"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/summarization/SummarizationStoreViewModel.kt: app/src/main/java/org/mozilla/fenix/summarization/SummarizationStoreViewModel.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is SummarizationStoreViewModel.factory at line 106), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2051605 - display error when summarizing paywalled content r=geckoview-reviewers,android-reviewers,android-l10n-reviewers,parker,fmasalha,kaya,bclark\u201D; \u201CBug 2020488 - Embedded the summarize settings in the summarization store r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2060624 - part 3 - Add \u0022Summarize page\u0022 to custom tabs\u0027 menu r=android-reviewers,matt-tighe\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/summarization/SummarizationStoreViewModel.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/org/mozilla/fenix/summarization/SummarizationStoreViewModel.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"367ba371ad8af98fb95bd332c920d7f7375aa4cb34823f02ae08b1536fac8c35"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.kt: app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is TabGroupCardKt.TabGroupCard at line 102), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2040670 part 2 : Add custom accessibility actions for reordering tabs r=android-reviewers,android-l10n-reviewers,parker,007\u201D; \u201CBug 2040670:  Add CollectionInfo, content descriptions to TabList/Grid for accessiblity r=android-reviewers,007\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2010687:  Add a fade to swipe to dismiss and update to Compose3 r=android-reviewers,007\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.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/org/mozilla/fenix/tabgroups/TabGroupCard.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"625806d3680dbda6e3fbe3b08aa843feff32dd7eb7ca6aba03a4ce4ac9315a26"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabGridTabItem.kt: app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabGridTabItem.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is TabGridTabItemKt.TabContent at line 154), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2040670 part 2 : Add custom accessibility actions for reordering tabs r=android-reviewers,android-l10n-reviewers,parker,007\u201D; \u201CBug 2040670:  Add CollectionInfo, content descriptions to TabList/Grid for accessiblity r=android-reviewers,007\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2010687:  Add a fade to swipe to dismiss and update to Compose3 r=android-reviewers,007\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabGridTabItem.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/org/mozilla/fenix/tabstray/ui/tabitems/TabGridTabItem.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a3b030ac391efc9c113e385e8699a3aa66b4dfeab0a4d6a28f3482e19b943"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt: app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is TabLayoutKt.ReorderableTabList at line 1541), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2040670 part 2 : Add custom accessibility actions for reordering tabs r=android-reviewers,android-l10n-reviewers,parker,007\u201D; \u201CBug 2040670:  Add CollectionInfo, content descriptions to TabList/Grid for accessiblity r=android-reviewers,007\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2010687:  Add a fade to swipe to dismiss and update to Compose3 r=android-reviewers,007\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.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/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c19cb77c45d2cce9ffa6cdaf8ffe9c5c7a3aa50498479094fbc2435a5f56612"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.kt: app/src/main/java/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is PrivateBrowsingLockFeature.onStop at line 222), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix merge\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2056523 - Part 2 - Fix Open in Firefox private lock suppression race. r=android-reviewers,twhite\u201D; \u201CBug 2056523 - Part 1 - Prevent redundant private mode lock actions. r=android-reviewers,alastun,twhite\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.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/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e48596b153509bb2c82dd16033b1bec74b31f57b05341b7aa1a368a0c52bdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.kt: app/src/main/java/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is PageSummariesSettingsFragment.onCreateView at line 42), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2020488 - Embedded the summarize settings in the summarization store r=android-reviewers,matt-tighe\u201D; \u201CBug 2020488 - Made the summarize settings learn more link state-driven r=android-reviewers,matt-tighe\u201D; \u201CBug 2020488 - Removed the duplicate SummarizationSettingsCache r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.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/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4be200294d6e36fecc5f6b69aa9ea399dc28548799992b99295b07c4e0a5b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt: app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is SettingsFragment.onCreate at line 145), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2052287 - Remove Firefox Labs from Secret Settings r=gl,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062487 - Remove Android lint suppressions that no longer suppress anything. r=android-reviewers,adhingra\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.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/org/mozilla/fenix/settings/SettingsFragment.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6ab29f088898748a95fb33703ca68af740ec5560cba08ab5e242eb3ff73124"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt: app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is TabManagementFragment.onCreateView at line 226), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2059494 - [TabGroups] Add TabGroups setting to tabs settings r=android-reviewers,android-l10n-reviewers,parker,007\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062075 - Move the pixelSizeFor helpers into android-components. r=android-reviewers,twhite\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.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/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a60b7dd8eb348e59854c9caeaa3f726fa2f8f603f54ee3328f6cf281241fc32"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.kt: app/src/main/java/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SnackbarStateReducer.reduce at line 13), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2049039 - Part 2: Show error snackbar when the previously selected r=android-reviewers,android-l10n-reviewers,jonalmeida,Roger,gmalekpour,parker\u201D; \u201CRevert \u0022Bug 2061058, Bug 2049039 - Replace activate Boolean with a data class r=android-reviewers,Roger,sfamisa\u0022 for causing fenix-debug failures.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.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/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"85973507de49e0bcb2191fcdd5a26cf21997f5cf95f4e15cf061a28639da1c13"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionSnackbarMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionSnackbarMiddleware.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is IPProtectionSnackbarMiddleware.invoke at line 37), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2049039 - Part 2: Show error snackbar when the previously selected r=android-reviewers,android-l10n-reviewers,jonalmeida,Roger,gmalekpour,parker\u201D; \u201CRevert \u0022Bug 2061058, Bug 2049039 - Replace activate Boolean with a data class r=android-reviewers,Roger,sfamisa\u0022 for causing fenix-debug failures.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionSnackbarMiddleware.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/org/mozilla/fenix/components/ipprotection/IPProtectionSnackbarMiddleware.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17128b980c2c34c1b62e6ee3abb907a2fbd619453efb7a54f4a19fe17494faf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/lens/LensCameraActivity.kt: app/src/main/java/org/mozilla/fenix/components/lens/LensCameraActivity.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is LensCameraActivity.decodeQrFromUri at line 364), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2048722 - Part 1: Add Google Lens to Firefox homescreen widget r=android-reviewers,skhan\u201D; \u201CBug 2061502 - Fix the QR code bounds decode discarding every image on API 26 and 27 r=android-reviewers,tthibaud\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/lens/LensCameraActivity.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/org/mozilla/fenix/components/lens/LensCameraActivity.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a517dc2475f98e8e352ce211cf9e02b05938699f6b4f78198a4f93891060d09c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesDialogFragment.kt: app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesDialogFragment.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is SendToDevicesDialogFragment.showSendResult at line 213), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2028535 - dismiss dialog behind sign in screen r=android-reviewers,gl\u201D; \u201CBug 1969984 - Part 1: Add retry action to the \u0022send to device\u0022 failure snackbar from Tabs Tray r=android-reviewers,twhite\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/share/SendToDevicesDialogFragment.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/org/mozilla/fenix/components/share/SendToDevicesDialogFragment.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92a3c641c202e91c0cb4cc4bccea97006211c325b4577d1bbb991810239a01e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt: app/src/main/java/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is DefaultTopSiteController.handleSelectTopSite at line 255), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2063302 - Add telemetry for collapse/expand shortcuts buttons r=android-reviewers,npoon\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062487 - Remove Android lint suppressions that no longer suppress anything. r=android-reviewers,adhingra\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/topsites/controller/TopSiteController.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/org/mozilla/fenix/home/topsites/controller/TopSiteController.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18a9bdbae3db68444678d922252aa5deba2156ff490c884e6f8818d972b9f5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/ipprotection/store/IPProtectionOnboardingPrompt.kt: app/src/main/java/org/mozilla/fenix/ipprotection/store/IPProtectionOnboardingPrompt.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is IPProtectionOnboardingPrompt.onState at line 39), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2057032 - Make vpn onboarding wait past WarmingUp  a=diannaS\u201D; \u201CRevert \u0022Bug 2057032 - Make vpn onboarding wait past WarmingUp\u0022 for causing android failures a=backout\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/ipprotection/store/IPProtectionOnboardingPrompt.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/org/mozilla/fenix/ipprotection/store/IPProtectionOnboardingPrompt.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e889eb027448a5729f8a60929ebe38ea7542d377f2f6b9720d4e9bb2d29fbfdf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt: app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is IPProtectionSnackbarBinding.onState at line 51), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2049039 - Part 2: Show error snackbar when the previously selected r=android-reviewers,android-l10n-reviewers,jonalmeida,Roger,gmalekpour,parker\u201D; \u201CRevert \u0022Bug 2061058, Bug 2049039 - Replace activate Boolean with a data class r=android-reviewers,Roger,sfamisa\u0022 for causing fenix-debug failures.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.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/org/mozilla/fenix/ipprotection/ui/IPProtectionSnackbarBinding.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c462073f7401406b07a2488f2cf0c9acfd0304760d9b07a760fec0433dff89a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedController.kt: app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedController.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is DefaultRecentlyClosedController.handleOpen at line 68), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2061667 - Display chooser actions when opening native share sheet through history, bookmarks, and recently closed r=android-reviewers,gl\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedController.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/org/mozilla/fenix/library/recentlyclosed/RecentlyClosedController.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef914c6019f414bd075a4e50c5d1ca688b53f0bb2dca1e6acb7e39c790e9b28"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt: app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is PrivacyReportNotificationWorker.doWork at line 68), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u201D; \u201CRevert \u0022Bug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u0022 for causing fenix debug failures\u201D; \u201CRevert \u0022Bug 2060524 - [experiment] Part 4: Added a secret setting to force the number of trackers to meet the threshold for showing the privacy report notification. r=android-reviewers,sfamisa\u0022 for causing fenix-debug failures HomeDeepLinkIntentProcessorTest.kt.\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.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/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470f4d50ce45bdb592ce72a268acc9020a45778574aa5a99b7ac5d16c7bf85a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocations.kt: app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocations.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is IPProtectionLocationsKt.LocationOption at line 211), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2062457 - Refactor Recommended location into an object r=android-reviewers,jonalmeida,Roger,gmalekpour\u201D; \u201CBug 2056379 - Add discription to unavailable locations r=android-reviewers,android-l10n-reviewers,gmalekpour,parker\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocations.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/org/mozilla/fenix/settings/ipprotection/IPProtectionLocations.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"67543bafcabac59738d1a40e4a07d200321bf1769dcd89ae271a445d0d7da32b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt: app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is TrustPanelFragment.onCreateView at line 192), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2022880 - Add url and one line title for all blocked trackers screens r=android-reviewers,petru\u201D; \u201CBug 2062129 - Hide the \u0022Clear cookies and site data\u0022 option from the security panel of private tabs r=android-reviewers,petru\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.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/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fba47b0ef87a87104a4a6e1230f02b36b1e189a5ed8b0e666d4467963ef406"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/share/ShareController.kt: app/src/main/java/org/mozilla/fenix/share/ShareController.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is DefaultShareController.handleShareToApp at line 134), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Simplify the tests for ShareTab#toTabData r=Roger,markh,android-reviewers\u201D; \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/share/ShareController.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/org/mozilla/fenix/share/ShareController.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6885a7e32cc7367684b5071306911456910967ea2677dd9a2ed8c7050457a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/perf/ThreadPenaltyDeathWithIgnoresListener.kt: app/src/main/java/org/mozilla/fenix/perf/ThreadPenaltyDeathWithIgnoresListener.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ThreadPenaltyDeathWithIgnoresListener.onThreadViolation at line 37), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2064671 - Support automationtest intent extra to bypass Fenix onboarding for WebDriver r=android-reviewers,sfamisa\u201D; \u201CRevert \u0022Bug 2064609, Bug 2064671 - Pass automationtest intent extra by default for Fenix launches r=geckodriver-reviewers,whimboo\u0022 for causing build bustages.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/perf/ThreadPenaltyDeathWithIgnoresListener.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/org/mozilla/fenix/perf/ThreadPenaltyDeathWithIgnoresListener.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d468bfdd1362dc3b0e73e069d2c219ae27f3d7edb437a480be62c523cdf7214"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingMapper.kt: app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingMapper.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is OnboardingMapperKt.isCardEnabled at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2069211 - Discard onboarding cards that have an unexpected type  a=dmeehan\u201D; \u201CBug 2065552 - Allow Nimbus to provide the marketing card title and copy for treatment C r=android-reviewers,rebecatudor273,cbect,android-l10n-reviewers,parker\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingMapper.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/org/mozilla/fenix/onboarding/view/OnboardingMapper.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"460c5931f70dae09b0313334e8353bcf2498a52101c59a9441fb7430d153f7b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/fake/FakeHomepagePreview.kt: app/src/main/java/org/mozilla/fenix/home/fake/FakeHomepagePreview.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is FakeHomepagePreview.stories at line 573), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2062991 - Change Jump back in to Continue and remove show all button r=android-reviewers,android-l10n-reviewers,mobiletest-reviewers,adhingra,aaronmt,parker\u201D; \u201CBug 2063302 - Add telemetry for collapse/expand shortcuts buttons r=android-reviewers,npoon\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/fake/FakeHomepagePreview.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/org/mozilla/fenix/home/fake/FakeHomepagePreview.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf66c9d105be43a04a7a7fb52567f4997e186cfc79a12e6fd095927988c69c2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/home/sessioncontrol/SessionControlInteractor.kt: app/src/main/java/org/mozilla/fenix/home/sessioncontrol/SessionControlInteractor.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is SessionControlInteractor.onCollectionAddTabTapped at line 181), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2062991 - Change Jump back in to Continue and remove show all button r=android-reviewers,android-l10n-reviewers,mobiletest-reviewers,adhingra,aaronmt,parker\u201D; \u201CBug 2063302 - Add telemetry for collapse/expand shortcuts buttons r=android-reviewers,npoon\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/home/sessioncontrol/SessionControlInteractor.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/org/mozilla/fenix/home/sessioncontrol/SessionControlInteractor.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75a7d1ddcf449bee37c08b88932dcc1a2be628706270d663f76d6c4a90e3ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/summarization/SummarizationTelemetryMiddleware.kt: app/src/main/java/org/mozilla/fenix/summarization/SummarizationTelemetryMiddleware.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is SummarizationTelemetryMiddleware.handleViewAppeared at line 154), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2047013 - Allows rating of summarizations r=android-reviewers,android-l10n-reviewers,matt-tighe,parker\u201D; \u201CBug 2020488 - Embedded the summarize settings in the summarization store r=android-reviewers,matt-tighe\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/summarization/SummarizationTelemetryMiddleware.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/org/mozilla/fenix/summarization/SummarizationTelemetryMiddleware.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9076fc3c8f7b60f2189573e191043df6de7f9e5a94bb7da651fa641a87905e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt: app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is BookmarkFragment.onCreateView at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2061667 - Display chooser actions when opening native share sheet through history, bookmarks, and recently closed r=android-reviewers,gl\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.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/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"847ea819f015b08bf4ad15a7570f67d7886d94ef1efa5a0e18b23f29fa1d5602"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt: app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is EditBookmarkFragment.onCreateView at line 36), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2061667 - Display chooser actions when opening native share sheet through history, bookmarks, and recently closed r=android-reviewers,gl\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.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/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4dbd11c97b2acb95bfb22a5f82039cf3a206aa81f4d2261920d8e625e32f7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt: app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is CustomTabBrowserToolbarMiddleware.invoke at line 140), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2046496 - Add an \u0022off\u0022 address bar state for VPN r=android-reviewers,android-l10n-reviewers,jonalmeida,parker\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.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/org/mozilla/fenix/components/toolbar/CustomTabBrowserToolbarMiddleware.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ee59a540c683e8d34c88771809044110c00e47c8048fc82c8e45662092b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.kt: app/src/main/java/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is DefaultHistoryMetadataGroupController.handleOpen at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2014026 - Include private flag in ShareData r=Roger,markh,android-reviewers\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2061667 - Display chooser actions when opening native share sheet through history, bookmarks, and recently closed r=android-reviewers,gl\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.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/org/mozilla/fenix/library/historymetadata/controller/HistoryMetadataGroupController.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a99e1be69057266f6e0765819844bf35a2b0ae5103e9fe6d0914d53b28d217"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/perf/StartupReportFullyDrawn.kt: app/src/main/java/org/mozilla/fenix/perf/StartupReportFullyDrawn.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is StartupReportFullyDrawn.onActivityCreateEndHome at line 29), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2064671 - Support automationtest intent extra to bypass Fenix onboarding for WebDriver r=android-reviewers,sfamisa\u201D; \u201CRevert \u0022Bug 2064609, Bug 2064671 - Pass automationtest intent extra by default for Fenix launches r=geckodriver-reviewers,whimboo\u0022 for causing build bustages.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/perf/StartupReportFullyDrawn.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/org/mozilla/fenix/perf/StartupReportFullyDrawn.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab281d7dd72ca7f2bfafe44369fd2c9e07cbd64f0bfa12ad77b7858f0e59dcca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/perf/StrictModeManager.kt: app/src/main/java/org/mozilla/fenix/perf/StrictModeManager.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is StrictModeManager.enableStrictMode at line 71), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2064671 - Support automationtest intent extra to bypass Fenix onboarding for WebDriver r=android-reviewers,sfamisa\u201D; \u201CRevert \u0022Bug 2064609, Bug 2064671 - Pass automationtest intent extra by default for Fenix launches r=geckodriver-reviewers,whimboo\u0022 for causing build bustages.\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/perf/StrictModeManager.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/org/mozilla/fenix/perf/StrictModeManager.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1c320b29dc957d2409bab0c25ad21901ce62caf81c8b730a74c5f276fb59f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt: app/src/main/java/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is WallpaperOnboardingDialogFragment.onWallpaperSelected at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CBug 2061502 - Decode Fenix bitmaps at the size they are displayed at r=android-reviewers,jdelorenzo\u201D; \u201CBug 2050591 - Format fenix source files with ktfmt. r=android-reviewers,jonalmeida\u201D; \u201CBug 2062487 - Remove Android lint suppressions that no longer suppress anything. r=android-reviewers,adhingra\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 21:12:48 \u002B00:00\u0027 --until=\u00272026-11-06 21:12:48 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/java/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.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/org/mozilla/fenix/onboarding/WallpaperOnboardingDialogFragment.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa87009579329293c4d3af0425b0f69a9c4adc5792c14794f30cde8d79b2fd0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 14 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/ProtectionPanelBanner.kt, app/src/main/java/org/mozilla/fenix/home/collections/migration/CollectionsToTabGroupsMigration.kt, app/src/main/java/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt, app/src/main/java/org/mozilla/fenix/home/topsites/ui/PopularSites.kt, app/src/main/java/org/mozilla/fenix/settings/quicksettings/AutoplayValue.kt, app/src/main/java/org/mozilla/fenix/debugsettings/info/ui/DebugInfoContent.kt, app/src/main/java/org/mozilla/fenix/home/topsites/middleware/ShortcutsMiddleware.kt, app/src/main/java/org/mozilla/fenix/components/menu/compose/SummarizationMenuItem.kt (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4d0797e64e688beb77ea4e9ebff6ff6d94b466fba7938fff9dd0bc601c4b1c6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 12 significant file(s) lose their only recent owner: plugins/conventions/src/main/java/org/mozilla/conventions/ProjectPlugin.kt, app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt, plugins/conventions/src/main/java/org/mozilla/conventions/MachTasksPlugin.kt, plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.kt, plugins/nimbus-gradle-plugin/src/main/kotlin/org/mozilla/appservices/tooling/nimbus/NimbusGradlePlugin.kt, plugins/conventions/src/main/java/org/mozilla/conventions/SettingsPlugin.kt, plugins/conventions/src/main/java/org/mozilla/conventions/BuildConfig.kt, automation/iceraven/toolkit/crashreporter/generate_crash_reporter_sources.py (\u002B4 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"10a899ebbd5105f473769e1d8b17954dbbd3964a33551af32c0ead553adc0f06"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 9 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/components/LensImageUploader.kt, app/src/main/java/org/mozilla/fenix/components/lens/LensPreviewTransform.kt, app/src/main/java/org/mozilla/fenix/components/lens/GoogleLensOptOutBottomSheet.kt, app/src/main/java/org/mozilla/fenix/widget/LensSearchActivity.kt, app/src/main/java/org/mozilla/fenix/components/lens/GoogleLensOptOutBottomSheetFragment.kt, app/src/main/java/org/mozilla/fenix/components/metrics/ReferralAttribution.kt, app/src/main/java/org/mozilla/fenix/settings/settingssearch/FenixRecentSettingsSearchesRepository.kt, app/src/main/java/org/mozilla/fenix/components/QrScanConfirmation.kt (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"724414ffb4046c50828778d8a0c712404071cae0f9b3dedfe67a9fbb965ddbe2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingFeature.kt, app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationWorker.kt, app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingScreen.kt, app/src/main/java/org/mozilla/fenix/privacyreport/PrivacyReportNotificationHelper.kt, app/src/main/java/org/mozilla/fenix/termsofuse/experimentation/TermsOfUsePromptContent.kt, app/src/main/java/org/mozilla/fenix/onboarding/continuous/ContinuousOnboardingStageProvider.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7e52eb81eb1d19f5cb664c5618c5abee61b280b14ac77f87ac3113e3f952a956"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 6 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyBottomSheet.kt, app/src/main/java/org/mozilla/fenix/experiments/UninstallSurveyBottomSheetFragment.kt, app/src/main/java/org/mozilla/fenix/experiments/view/UninstallSurveyFooter.kt, app/src/main/java/org/mozilla/fenix/experiments/UninstallSurveyManager.kt, app/src/main/java/org/mozilla/fenix/components/ShortcutManagerCompatWrapper.kt, app/src/main/java/org/mozilla/fenix/components/metrics/InstallAge.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"944b59fad6b299da73957de07c07bc5ee48a7c3599284b58a5a0620c835822a8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 5 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/experiments/prefhandling/NimbusGeckoPrefHandler.kt, app/src/main/java/org/mozilla/fenix/pdf/PdfToolsIntegration.kt, app/src/main/java/org/mozilla/fenix/pdf/ui/SignatureDialog.kt, app/src/main/java/org/mozilla/fenix/experiments/prefhandling/NimbusGeckoUtils.kt, app/src/main/java/org/mozilla/fenix/settings/labs/middleware/LabsTelemetryMiddleware.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f0831e11e307a5dd18410956df8a86f5b4af59d80805231882c6877d42abc09"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 5 significant file(s) lose their only recent owner: app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/NewGameScreen.kt, app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/GameCanvas.kt, app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/DrawFoxBody.kt, app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/LongFoxFeature.kt, app/longfox/src/main/kotlin/org/mozilla/fenix/longfox/LongFoxDataStore.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c509e1a0da89d083460261896c032934c507171b5848c3598074d52838babaa2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 5 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/perf/StartupPathProvider.kt, app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorAction.kt, app/src/main/java/org/mozilla/fenix/settings/creditcards/ui/CreditCardEditorReducer.kt, app/src/main/java/org/mozilla/fenix/navigation/compat/MotionAwareFragmentNavigator.kt, app/src/main/java/org/mozilla/fenix/home/TopSitesRefresher.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f64e5fa1da61204bb54acf6a79313fb60c1bfd326e2f4ca3c66641722ccb0fa"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #9: If anonymized user #9 becomes unavailable, 4 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/components/toolbar/gestures/ToolbarVerticalGesturesHandler.kt, app/src/main/java/org/mozilla/fenix/trackingprotection/TrackerBuckets.kt, app/src/main/java/org/mozilla/fenix/summarization/SummarizationNavigator.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f0f2fa85f5529241a59ce36453c758403b053c4347ad67970507090d89f7dc6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #10: If anonymized user #10 becomes unavailable, 4 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractionState.kt, app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractionMode.kt, app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabReorderAccessibilityActions.kt, app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabReorderGeometry.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eba72ed4480b526a49082b7dde2a523c95daeda606f726eeb4f303f6f389166b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #11: If anonymized user #11 becomes unavailable, 3 significant file(s) lose their only recent owner: app/src/main/java/org/mozilla/fenix/tabgroups/UngroupTabGroupConfirmationDialog.kt, app/src/main/java/org/mozilla/fenix/tabgroups/CloseLastTabAndDeleteTabGroupConfirmationDialog.kt, app/src/main/java/org/mozilla/fenix/tabgroups/DeleteTabGroupConfirmationDialog.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c959c30beb49c545b621311cb495bdba6a41e9931ff6baa2f0d405071ad4979f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 13 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (90 single-owned of 1026 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1026 of the 1713 production source files in this repository met that bar). They are anonymized user #12 (2 file(s)), anonymized user #13 (2 file(s)), anonymized user #14 (2 file(s)), anonymized user #15 (2 file(s)), anonymized user #16 (1 file(s)), anonymized user #17 (1 file(s)) (\u002B7 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerHandlingService.kt, app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerWorker.kt, app/src/main/java/org/mozilla/fenix/browser/NativeShareSheetContextMenuCandidate.kt, benchmark/src/main/java/org/mozilla/fenix/benchmark/utils/MacrobenchmarkScope.kt, app/src/main/java/org/mozilla/fenix/settings/ipprotection/IPProtectionLocationsFragment.kt, app/src/main/java/org/mozilla/fenix/iconpicker/ui/AppIconSelectionFragment.kt, app/src/main/java/org/mozilla/fenix/settings/address/store/AddressState.kt, app/src/main/java/org/mozilla/fenix/components/ClientUuid.kt (\u002B9 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo-bug-2069535: Hook up to the coordinator storage layer when it is ready \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/redux/middleware/TabStorageMiddleware.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6406e015aeb14190490691930816631280efe5ae9d8559d953ac703d2ca41ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo-bug-2069535: Hook up to the coordinator storage layer when it is ready \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/flow/TabGroupFlowReducer.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200efaae77d13102c180f63d5c529bca834ef70d11c87f8828a35cebfc47b8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo replace with localized text */ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/data/TabGroupTheme.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"849a227f9aeb9586eb15ca0d5ef1ba3ab19a78e40f28e36ccbada0e83b6b35b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo-bug-2069525: support up the expanded group from this fragment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/flow/TabGroupFlowFragment.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"120046c5721e9918b7b351d63528018ec2b016ef556ff4b965d6489ca6fbcb4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo-bug-2069525: support up the expanded group from this fragment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/flow/TabGroupFlowFragment.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c335e8fef4c68baa3516e26ea0246ccae041bca5f0ffab19e2a1eefdda581970"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX - \u0060getAccessToken()\u0060 catches all FxA exceptions, so there\u0027s no way to know \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/SyncDebugFragment.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"191e96bb5c7ce9852a8091f7dbbea71f3bfe2d7a7b96f0f5113373c075bb3eb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO The sign-in web content populates session history, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/account/AccountProblemFragment.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"de67ba223910b18449014f1af21e810dc26b7f256cd3d46644704505f99c5a38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO The sign-in web content populates session history, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/account/TurnOnSyncFragment.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d09819239ad7b22d6c0d7cf5514bf00a4a9508bcd0f4d3cfb1961d0e954b5c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX considering an empty group to have a non-zero offset is the obvious \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/library/history/HistoryDataSource.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20499317366681227fcb69b33020cb665c21076aebf44aa0510b6fce2f7b265"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(IPP): the user might navigate into try now faster than the account check completes, in which case, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ipprotection/ui/IPProtectionBottomSheetFragment.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cc2d41a24a2b64f51a0da08aa90de595ce2e318e1065838cf8eeaa9be14835"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(#19967): Migrate to non-deprecated API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc427622f4f72586d1edc42da4365f2bbfc683224c026804ff15ae10290686"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(#19967): Migrate to non-deprecated API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"323765d34004bd4c24bbefc134802b1770d7e95e1cd94ae871fc51f5b364bbc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Bug 1959344): CustomTab should be visible to add-ons through the tabs API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/compose/ExtensionsMenuItem.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dabe92d6706766034656769dafc6789e28b22559d3fbce7f9117cfe307ccbc7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(IPP) the engine should pass the error code through: https://bugzilla.mozilla.org/show_bug.cgi?id=2066553"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionTelemetryMiddleware.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0203f0a204d40007c110fa64a55390cd4087f5ca573406c5b16f882a21c23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksReducer.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c912d164a3032bb8bac4b926cbf8ec98df12261edd89f2312ea746071b2caaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO https://bugzilla.mozilla.org/show_bug.cgi?id=2006505"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/ui/SelectFolderScreen.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4738dae68acf6eef8a24b9e1531b7c5756f267955be44345d5d45f8e9c744fae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Bug 2076265 - Need a more specific content description. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/ExtensionsMenuItemProvider.kt"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd461f97c84da4c8cd4d69a7577702833cc9d429d95f406fc7b8705a8e8fc09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (I. RIOS 3/20/2026): add to BaseTest for State Machine \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/tests/BookmarksTest.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a0cd7680db39233f5f9adc77833771047388101ae290d284310d1195683e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (I. RIOS 3/20/2026): add to BaseTest for State Machine \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/tests/HistoryTest.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca596ce021eb4699d57631f8921c3ee81f8381d3a743aabea89c84c8cc1038d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (M. Barone 3/20/2026): add getting \u0027appName\u0027 to our base helpers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/selectors/MainMenuSelectors.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5b55bbcd945cb38761f6d69b13304a695d179a38b5d222bc65f9ba5d2fa2bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Jackie J. 10/30/2025): replace hard-coded value with self-selecting x,y boundaries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/helpers/BasePage.kt"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"654994626bffa6fc6ec9decc484df7e51a4b12271dec07282bc698bfebae6d34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Jackie J. 3/23/2026): fix all of these horrible names, they\u0027re temporary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/generation/NavigationTestPlanner.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e5672c8f76565336beddbd95847fa15d8870b6a1c5ba7c1e18e3945d7ea49e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Jackie J. 3/23/2026): fix all of these horrible names, they\u0027re temporary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/devtools/ReachabilityCaseGenerator.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecdf7260e8a0fb61b1faaf7c6c3c29d438df56c4e867d50145fee4b3f5e5447"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Jackie J. 3/23/2026): fix all of these horrible names, they\u0027re temporary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/ui/efficiency/devtools/ReachabilityPlanLogger.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"318587e730fa08b3befe4993f471bc478763a06fa924b8e6194e9b9caa96cea7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getAdvertisingID\u0060 spells \u0060ID\u0060 where 466 names in the project spell it \u0060Id\u0060: 466 of 471 names in project app spell the token \u0060Id\u0060 (466 of 471; unit: names in project app containing \u0060Id\u0060). Peers: PagedAMOAddonsProvider.loadIconAsync(addonId) (app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:286); BrowserDirection.fragmentId (app/src/main/java/org/mozilla/fenix/BrowserDirection.kt:15); GlobalDirections.destinationId (app/src/main/java/org/mozilla/fenix/GlobalDirections.kt:17); HomeActivity.onSendTabSignInDestinationChanged(destinationId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1175); HomeActivity.openToBrowserAndLoad(customTabSessionId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1565). Rename to \u0060getAdvertisingId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/MetricsUtils.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367ec916911b658f9e9956d7b228fbe0e9a35b0d54980e10943438fc7b20cd4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getAPIFonts\u0060 spells \u0060API\u0060 where 14 names in the project spell it \u0060Api\u0060: 14 of 15 names in project app spell the token \u0060Api\u0060 (14 of 15; unit: names in project app containing \u0060Api\u0060). Peers: org.mozilla.fenix.components.metrics.GleanUsageReportingApi (app/src/main/java/org/mozilla/fenix/components/metrics/GleanUsageReportingApi.kt:8); GleanUsageReportingLifecycleObserver.gleanUsageReportingApi (app/src/main/java/org/mozilla/fenix/components/metrics/GleanUsageReportingLifecycleObserver.kt:14); Companion.create(nimbusApi) (app/src/main/java/org/mozilla/fenix/debugsettings/info/DebugInfoProvider.kt:31); NimbusExperimentsDebugInfoRepository.nimbusApi (app/src/main/java/org/mozilla/fenix/debugsettings/info/DebugInfoRepository.kt:69); NimbusGeckoPrefHandler.nimbusApi (app/src/main/java/org/mozilla/fenix/experiments/prefhandling/NimbusGeckoPrefHandler.kt:41). Rename to \u0060getApiFonts\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/fonts/FontEnumerationWorker.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e74a75f8e0fb73569f7af5aba807c9b17e2ac72093e5aedb4dfaf96e5b3219"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060UnknownID\u0060 spells \u0060ID\u0060 where 466 names in the project spell it \u0060Id\u0060: 466 of 471 names in project app spell the token \u0060Id\u0060 (466 of 471; unit: names in project app containing \u0060Id\u0060). Peers: PagedAMOAddonsProvider.loadIconAsync(addonId) (app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:286); BrowserDirection.fragmentId (app/src/main/java/org/mozilla/fenix/BrowserDirection.kt:15); GlobalDirections.destinationId (app/src/main/java/org/mozilla/fenix/GlobalDirections.kt:17); HomeActivity.onSendTabSignInDestinationChanged(destinationId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1175); HomeActivity.openToBrowserAndLoad(customTabSessionId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1565). Rename to \u0060UnknownId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/address/store/AddressStructureMiddleware.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5119d05abfc510497913e1c8d6499c8b2c368a97de4dc2c7e7512b736a48a9e9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060InvalidIDException\u0060 spells \u0060ID\u0060 where 466 names in the project spell it \u0060Id\u0060: 466 of 471 names in project app spell the token \u0060Id\u0060 (466 of 471; unit: names in project app containing \u0060Id\u0060). Peers: PagedAMOAddonsProvider.loadIconAsync(addonId) (app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:286); BrowserDirection.fragmentId (app/src/main/java/org/mozilla/fenix/BrowserDirection.kt:15); GlobalDirections.destinationId (app/src/main/java/org/mozilla/fenix/GlobalDirections.kt:17); HomeActivity.onSendTabSignInDestinationChanged(destinationId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1175); HomeActivity.openToBrowserAndLoad(customTabSessionId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1565). Rename to \u0060InvalidIdException\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/address/ui/edit/EditAddressScreen.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"573f56e9b5f52825ff305f4b6a615d6408d5a6a9d4bc700f6ae9c68c4cdf3956"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060valueForID\u0060 spells \u0060ID\u0060 where 466 names in the project spell it \u0060Id\u0060: 466 of 471 names in project app spell the token \u0060Id\u0060 (466 of 471; unit: names in project app containing \u0060Id\u0060). Peers: PagedAMOAddonsProvider.loadIconAsync(addonId) (app/src/main/java/io/github/forkmaintainers/iceraven/components/PagedAMOAddonsProvider.kt:286); BrowserDirection.fragmentId (app/src/main/java/org/mozilla/fenix/BrowserDirection.kt:15); GlobalDirections.destinationId (app/src/main/java/org/mozilla/fenix/GlobalDirections.kt:17); HomeActivity.onSendTabSignInDestinationChanged(destinationId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1175); HomeActivity.openToBrowserAndLoad(customTabSessionId) (app/src/main/java/org/mozilla/fenix/HomeActivity.kt:1565). Rename to \u0060valueForId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/address/ui/edit/EditAddressScreen.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"092d146cb340190aa618e746749277c2d3caeb8db618fd3b44b91b977480925a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060FloatingToolbarFAB\u0060 spells \u0060FAB\u0060 where 21 names in the project spell it \u0060Fab\u0060: 21 of 22 names in project app spell the token \u0060Fab\u0060 (21 of 22; unit: names in project app containing \u0060Fab\u0060). Peers: PdfToolsKt.SignPdfFab (app/src/main/java/org/mozilla/fenix/pdf/ui/PdfTools.kt:207); TabGroupTelemetry.recordCreatedFromFab (app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupTelemetry.kt:83); org.mozilla.fenix.tabstray.browser.TabsTrayFabController (app/src/main/java/org/mozilla/fenix/tabstray/browser/TabsTrayFabController.kt:8); TabsTrayFabController.handleNormalTabsFabClick (app/src/main/java/org/mozilla/fenix/tabstray/browser/TabsTrayFabController.kt:10); TabsTrayFabController.handlePrivateTabsFabClick (app/src/main/java/org/mozilla/fenix/tabstray/browser/TabsTrayFabController.kt:13). Rename to \u0060FloatingToolbarFab\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/fab/TabManagerFloatingToolbar.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9013345e863163e22ac07270ad7ed507829fddd4d79f74c9c66d9ef0508c3c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sync and verify bookmarks\u0022 repeats the code it sits on: 3 of its 3 words (sync, verify, bookmarks) are already in \u0060Phase(\u0022phase1\u0022, [[Sync], [Bookmarks.verify, bookmarksExpected]]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/syncintegration/test_bookmark_desktop.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d90c9b419b08031b4ccbeb00e21d6b8729945a59515c61d131074433b9d2ff"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sync and verify history\u0022 repeats the code it sits on: 3 of its 3 words (sync, verify, history) are already in \u0060Phase(\u0022phase1\u0022, [[Sync], [History.verify, historyExpected]]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/androidTest/java/org/mozilla/fenix/syncintegration/test_history_desktop.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e3927ef3cda2c5637d1475d733203c870ac3c802f8c08b64e0caf64337ef5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (212931 LoC, 5032 module-visible types across 366 directories) overshoots its size bounds. 1 of 7 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 7.1/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de47536f778b3f379d96d4d5744ef34ecb173636a030d03881c671e3cd71c15c"}},{"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":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"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":"b084deba18fe695fd181ce54d9bc60c94af417f07daf68e37cdadef3853e8975"},"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":"d1b1a56f51d12aee8302b31a191c09ff92b53b0506d933e2858150fe67e2da5e"},"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":"21a26165041283ea2e546ab06eafb4cf5fdbe00b9c62dbeba22e0064bdbf75f1"},"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":"4df62fe04e09c3888d8ababf23d6fa02647325025014e2f520370f0a01701ece"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f056320d26e61788537052ce71a4b2f83ee2138799611683ae728af4083cf39d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1c3a2ab66c1284873a5ccaf0ae2605d25ad95d350cafcc09b6352524aebf554"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6035de7276602c30c0c7210fd8653bc5b48bc90a557f920fdae5039ae46f1e6f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8381cdd9539330ccdf5f2819fb2f0ec8e0d20d645b1467a3e5e48700a37b69b"},"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":"ebac61d292e4757946ff83f15293e2fa751db1ae0044345ec1ca160a7804b230"},"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":"17c766048720a8335fe9cee4b5c94d175d687786ce4fe5ac15a7d88cc7deda62"},"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"f33f08448d372bbe3db6c1d9147aa1391c03aa82c80dcb4619fcd2569de9b530"},"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":"97f81ddf7a038167f6a92f1dca81c8940e2ae2d64d13335a80ead4fdd7f7d807"},"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":"32e65447496d119efa90bdbabbafbb4dd3dbe464d7ff4ca1d243e7fd2f01a950"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41642467e5fa7686a7c46ac8ea67b519d557279ea3f51e449acebf7ae3f04a56"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c86493bc84921ef2de7239fa8c9b42ca2461d0eb11dbea4454228c1de686e326"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f375360d28336f84d92ad22d73392a8150843ed7b6fcb0e09ea6696a0406905"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"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":"e28424fedc360265a4515c4fa929e6bf297e08d2621025a4f057e7095c665354"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"768276cec34c66a5796b7c1f89ffc23fee6dd45492d832ff82f20d497a1e6997"},"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":"032339a4a2968a952de638ff43b01253a820d2ab5c469ca6305d813a4bcd8e23"},"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":"f4d55807366710999f4f09017290a0944e4be7f35c89382a66512842e80f1ac4"},"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":"ed80c732b4bdfbcd15f162e91d2b3bb75cde2cbfdf6fc60c536e43e252c2aca5"},"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":"c8456d16cb48d20583aa5e02d27969d33d2dc70444cff5c194babc940dd80f05"},"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":"01d0e27497ed0f196a7e59f2accbcc454e3d5847964b2c821e451dd60002f09a"},"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":"8c02a44e376a08dfe68e4a2f41a26df4ac2de507ec2dea8aed75910ab80d0c27"},"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":"ab893350737bd61fe5fcf7cf55dd7e97f020bdc1e580a039768c600dd2f77ff5"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83cf384511f781b15c11a53849cb049c5d02f3b2b40b75f6085920d3ff2df375"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"0c5ed51f578281f9fef14c8e9afc2a3afd25f15347bec1c7bc1fec286727586d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"459d4c080d325ed0bab39a5b579f614b046e77b5e9d6bfc9b51fc0211c3c98cd"},"taxa":[{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"1fcecb1f9887b048e23a368e41a1270e9135f97b1e2499cdece7f18bcc7fc857"},"taxa":[{"id":"CWE-489","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"de3103019ae7bfd3240826f1a9c83f816f7eb122211e7ec26bc1739a57182184"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bef8dfe18cf8fe7b13965f2f5d1ad1fe6048901e7b48338759591cec28749af0"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cf143d57e5ccf7d25cf291fb6bd62220715144c8f943554bb86ab6aec13bd87"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"2fda3b593d45ca1349b57865a20e0a6cb23a2d3e8b9161532eca8abd4e98f389"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"7cf6cd6ac157ea95617c084d94a88268d0b3c444f2a40b54fd4871e224e16f31"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d71d7b88c6922435c1933628be3f0789a74aa1a34e3e93583a38806b88c50998"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c236b5cbf8ee5ea50ec52751c19178834457728a7349ddca5075d65411d10f8a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9adff7d34f7e6127347b3f7994014d405d2e03d5e3146340408f3d585c7ed891"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 61 of 1026 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1026 of the 1713 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogStore.kt, app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt, app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt, app/src/main/java/org/mozilla/fenix/perf/ProfilerViewModel.kt, app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelMiddleware.kt, app/src/main/java/org/mozilla/fenix/components/metrics/fonts/FontParser.kt, app/src/main/java/org/mozilla/fenix/perf/ProfilerService.kt, app/src/main/java/org/mozilla/fenix/translations/TranslationsBottomSheet.kt (and 53 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogStore.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c2b9011820b69fd3d9f02fe96fada7ac627153479040da92d4e0abdf1ca6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e0aae5c536a86eb5cb3e88439b19bb8b3af0535e72db478e95477541a3a28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383829c5bf6c04f7ea1051e26e9a84761f5ee0ce85e0578323804a5c05aad95d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/perf/ProfilerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c8f1f431dbdbea5caa9f0334aaf7593784a6e4f39acf2d8d6d59fe8cc5d17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b581092c085b2de7329b79fd2eca7ac4910220b36fc345ccd038d83cb3163df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/fonts/FontParser.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f9959dc80488dd630fc761b95d380206a64283f60ddfc89dd90e087c3bc3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/perf/ProfilerService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9788c7689ad3f1b0376de167fb17c358c2d3c4f6e0a7c616cc4991ef9ea23437"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/messaging/state/MessagingMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b46d124407fe8d50bf7defd36f634b1ad7db725ea17b62f70d69aff974a31f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationsBottomSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a02b705f0f577b5ac835e87ad0927e2598465e7937af217eaf70c588cbbd2f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonDetailsBindingDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ecc232824fa79be71d9b31044433cb556a97f94f93bafd34da31032adfcb8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/downloadlanguages/LanguageDialogPreferenceFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65589d12b2526799229f4481813cdeaee3f148a6938b69cf92370db7fca50d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsNavHost.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f38ae6052df24502e91363d412e177ffa9b4b16836d59c67bbb6eaced9cccc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/store/TrustPanelState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5858b829a5bbdbfb92ba4b67819b54c4847600d425d39e7c322dd0e69639d111"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/recentvisits/controller/RecentVisitsController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc1d9d00a6e5d86c2fe76f9102958353dd4886a1cd77c1d092939fd115ef56b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bfe81af212d35b9e8a647575845499cfc509ba3315e9959273278a3d1cc6b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/splashscreen/SplashScreenManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da7fb513e9bd4dfe96b8d86c1467a82eaa43f62fc5cc46326c2e6b13a438c08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/advanced/DefaultLocaleSettingsController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2798d82629fd926fd004d654100e8e840ea1b5fea0f1bb0b8c08975c52727db2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e0a1e8a7ad57779c7613113f235046c8f24139de213b2576653a67bfeb8a88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/fonts/FontEnumerationWorker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67719436b2afd974cc29367f26de20b05166478c226cdaacb09a3b5dc2fdaa19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperMetadataFetcher.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea80caa9b39214f3f59388ae49ddca929184b365699950c50293f15643ae37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/advanced/LocaleViewHolders.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc83e473a0b32eb0211bd527958f0c511497536d6046cfd4e489a0e0673989b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/tabstrip/TabStripState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99f83c81d305c8f859abd424c4c992fdc26267c251395d75998eccdd210047"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953a7587de9918d91b48cba991c2c68ec0483e2e20d210e937d44a6439000c11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/advanced/LocaleSettingsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4d8941075fcd3b76254241e4daf23fe6d9568ea4c14d3f407fd2f1e4823f30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/downloads/DefaultDownloadLocationFormatter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91534b5e881ff09ee2c884b9ac979ff038f3ce50179e2a96dc21277c219f1cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperDownloader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22648730d6f37601f7237b1a9739a45ab82dc52589c0ba7a40a3592a790db5ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/OpenInFirefoxBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfd41d86927651b05537dab9192b764887e402f83e1482f213509586ccbe3e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/shortcut/CreateXiaomiShortcutFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677ddee77afdf3231ecf7beb8b202563e1c04c481fc354783908587be7724b8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/HorizontalFadingEdgeBox.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c257b160caf9bdff4c05e7c4a541787b1ae98adf9c3f1629ae6466ac0f9b11f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/SwipeToDismiss.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ed9ca0212e6d37c20e1ea770101d58ce9e630df666ae30a0d4a74769b9edc6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/Image.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3eb81b2d3ac2afb707770eab3466235257e040b359c8badb1e78b12f77336"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/TranslationSwitchItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4daec5374c237d668a3e715e0799d4b4049fbcc85d2437d3b8170b2c74080a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/automatic/AutomaticTranslationItemPreference.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff375ee7653d40cfb15da82a2c003b24a91843cdcab17000bf6fd70c28a7befc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/ClickableSubstringLink.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e2d60cea59ee923f44e7137521156195fb854925c217bdbeb698e1e6dc93af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/PermissionStorage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de54d7f34f62924449f88ff381efa518ad04e6704d8df9b73241df3fb1fbf099"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/WebExtensionsMenuBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96090e2381fccf814240ef1d69c5690cc5bfee7973cdc0c9d39912f7cb32a480"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1637d704806543b61cd18ee230ef6b128a8ff64dd4e2577b1ce3030ceb7cbfb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporterPreviewSampleJsonData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdcee7855863e1de7001ffd6237a79b373f07838c386194f66e85af63e0ecf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/StandardSnackbarErrorBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"435cce1880cecd1fa43affe92012db4df81e3a7301de442ad26b5ccf930ba5e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/messaging/MicrosurveyMessageController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6980f94df1a77e3db331e864492472b682fccae21e7bbceb687720bb44fefd53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperFileManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f265d3844743bb88dbf76423f6218645c68af0cd8c9ab00e79bd79472c919"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ext/String.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5f11e5ea24f5a08aca2ec8a1a647c3a50bb61d4a005039272eb3044f6708e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/automatic/AutomaticTranslationOptionsPreference.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b092811b2471e67f28c688b7f23066253cb39606d35300432b6b7ef404d4a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/animation/NavigationAnimation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280d49b1a9819bd24ee7d8307db58889e3ed23428584b3a94e7e65bb744ce2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohUrlValidator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1562a71bc0bfb281be3cf38cdcbb4428b49643c8029b920a5677be2055ddda9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/src/main/java/org/mozilla/fenix/benchmark/BaselineProfilesStartupBenchmark.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e230d3763ac5470da2f49a2e782b33f266e2e18be2d01f942736cabcae3365f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/doh/DohSettingsReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90880613e8a85ff951239410900cdd21408370a69895bad645c77fa1218523bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/ext/NavController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bf8ed1af1ba49d10319a95547d88f76c4f54054b47d8aff93d9346d0ae32ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/crashes/CrashFactCollector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96447cba0d3b4b697d3d6437701dccbe79978945e78962eb75edb5b18711ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/downloadlanguages/DownloadLanguagesFeature.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21db630bec681c4a549bde0035c7ca7df96945a321553a2993b46f8570cda51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/compose/Banner.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1d29e0c4acdf2641860a877903003448dfa84e95b51f0dfcfcf1e98ee4c216"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/middleware/TabGroupMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae6631a651a897aaeaca79835b16df45e8c9fbdcb88b9165bff3791eaa74547"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bindings/ExternalAppLinkStatusBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce06af31dfc9af3d906ca3c4b8bff877ebeff76a5a97dc250388e34d7c0cd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/Push.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ad73cb49f7cb975191f19ccc4f5898350e14c41dd16cb12f63b2408cd6589"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/middleware/DownloadTelemetryMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0571073303f014bbeb2b961674c8cf691e34c779e786f56b2c9d0e8109daeb0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/desktopmode/DesktopModeMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89676570564db6c19ea159dffc53cbce0defb83ad49346bae6a31d681596f2d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonsManagementView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf0ec56c2ae334971b2a6be98ac9f8fe01bdebda1fdbcdc0129558e32915b86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/reviewprompt/CustomReviewPromptNavigationMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65dba2df018c520f81b5cc3641db752699e40270a3bcc90d7c309e27bdc03e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/desktopmode/DesktopModeRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e37e067855aef5d41214d72f3aa111eac9bf1e41578a827d5b76bdfec457830"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/DownloadService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9e5cc0b6f12b1f1c158b756d6e9f9f4662b9dbe3deb4c9493dc1459ddf4890"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/translations/preferences/automatic/AutomaticTranslationOptionsPreferenceFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f273446ce67036fd8f3b6bfb4f2936bfa10bc7c941cf0c6c41ebf3c79e5b28b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SnackbarStateReducer.kt \u2194 SnackbarBinding.kt: \u0060app/src/main/java/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/snackbar/SnackbarBinding.kt\u0060 change together 100% of the time (13 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u006016314e85\u0060 Bug 2049039 - Part 2: Show error snackbar when the previously selecte\u2026; \u00607a3573eb\u0060 Revert \u0022Bug 2061058, Bug 2049039 - Replace activate Boolean with a da\u2026; \u006066326010\u0060 Bug 2049039 - Part 2: Show error snackbar when the previously selecte\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/appstate/snackbar/SnackbarStateReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4c90d60a14ad8040daa5f45c28f108f6849c400c631da6bcab76971e81dc5c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: RemoteImprovementsFragment.kt, SettingsFragment.kt, DataChoicesMiddleware.kt, StudiesView.kt: 4 files \u2014 \u0060app/src/main/java/org/mozilla/fenix/settings/RemoteImprovementsFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/datachoices/DataChoicesMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/studies/StudiesView.kt\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/RemoteImprovementsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3a2264ebfaa90f962e12f5bcbc0b3655b9ac1e748d18185fed1e5eb155bd63"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BrowserToolbarTelemetryMiddleware.kt \u2194 ToolbarTelemetryConstants.kt: \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/telemetry/ToolbarTelemetryConstants.kt\u0060 change together 93% of the time (13 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00601c13b9ed\u0060 Bug 2051292 - part 3 - Record telemetry for when the user edits the t\u2026; \u0060f71967ae\u0060 Bug 2043252 - Add telemetry information to distinguish if a button is\u2026; \u006012474387\u0060 Bug 2047626 - part 5 - Add telemetry for when the summarize button is\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarTelemetryMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd485ba5b9d66f9c36ab7277de321269b383e828045169878668438ece96814"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MenuTelemetryMiddleware.kt \u2194 MenuStore.kt: \u0060app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/store/MenuStore.kt\u0060 change together 92% of the time (34 of the 37 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 34 shared commits counted here, the most recent 3 are \u0060aabf1f96\u0060 Bug 2051321 - Remove the Menu CFR r=android-reviewers,android-l10n-re\u2026; \u0060db7357c7\u0060 Bug 2029200 - Part 4: Added IPProtection menu button r=android-review\u2026; \u00601e776c2a\u0060 Bug 1973136 - Re-introduce \u0027Move to non-private tab\u0027 in the menu r=an\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d469bf9c41e08039264709c195529a2439829d9cf2182ddf85f1489510a6b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BaselineProfilesPrivateBrowsingBenchmark.kt \u2194 UiDevice.kt: \u0060benchmark/src/main/java/org/mozilla/fenix/benchmark/BaselineProfilesPrivateBrowsingBenchmark.kt\u0060 and \u0060benchmark/src/main/java/org/mozilla/fenix/benchmark/utils/UiDevice.kt\u0060 change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060ed2a9414\u0060 Revert \u0022Bug 2040608 - Part 3: Update baseline profile generators for \u2026; \u0060c19cc319\u0060 Bug 2040608 - Part 3: Update baseline profile generators for onboardi\u2026; \u00602e1ae8b4\u0060 Revert \u0022Bug 2040608 - Part 3: Update baseline profile generators for \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/src/main/java/org/mozilla/fenix/benchmark/BaselineProfilesPrivateBrowsingBenchmark.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5f6678bbb6272d4a54879dd1e37dde14fca16b51b5fac76ff7d209385baf46"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TabsTray.kt \u2192 TabGroupActionReducer.kt, TabManagementFragment.kt, TabsTrayBanner.kt, NormalTabsPage.kt, PrivateTabsPage.kt: \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabstray/TabsTray.kt\u0060 changes together with 5 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/tabstray/redux/reducer/TabGroupActionReducer.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/banner/TabsTrayBanner.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/NormalTabsPage.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabstray/TabsTray.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaf95da9948c4bb50edfa4be9dd76d85bef2012c76cb7102ad0def299270d0c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BrokenSiteReporterTestTags.kt \u2194 WebCompatReporter.kt: \u0060app/src/main/java/org/mozilla/fenix/webcompat/BrokenSiteReporterTestTags.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporter.kt\u0060 change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00609b31b04a\u0060 Bug 2065169 - Create new report broken site related smoke tests r=jaj\u2026; \u00605f3a5118\u0060 Bug 2038699 - [WebCompat Reporter v3] Add delete icon to deselect bro\u2026; \u00603218ce3e\u0060 Bug 2038697 - [WebCompat Reporter v3] Update reasons dropdown strings\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/webcompat/BrokenSiteReporterTestTags.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6bcfc684cfd9b0d7e40da33f8c663ea4f3bca9bdbd88a5526a81d12d524283"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TabManagementFragment.kt \u2192 TabGroupActionReducer.kt, NormalTabsPage.kt, PrivateTabsPage.kt: \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/tabstray/redux/reducer/TabGroupActionReducer.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/NormalTabsPage.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/TabManagementFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee3f4af691a49e53a5162009705b4b7daef7866e50e7840aeabb8a6d36d7bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BookmarkFragment.kt \u2194 EditBookmarkFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/EditBookmarkFragment.kt\u0060 change together 86% of the time (30 of the 35 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 30 shared commits counted here, the most recent 3 are \u0060f255b7dd\u0060 Bug 2014026 - Include private flag in ShareData r=Roger,markh,android\u2026; \u00603e86ecbe\u0060 Bug 2061667 - Display chooser actions when opening native share sheet\u2026; \u00602855ce68\u0060 Bug 2046172 - Create the new UI and remove old bookmarks search code \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarkFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8403a7a5507d290e022726119992d0e3195a8a9eb5a7ba2fefae2179d06ef"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BaselineProfilesNormalBrowsingBenchmark.kt \u2194 UiDevice.kt: \u0060benchmark/src/main/java/org/mozilla/fenix/benchmark/BaselineProfilesNormalBrowsingBenchmark.kt\u0060 and \u0060benchmark/src/main/java/org/mozilla/fenix/benchmark/utils/UiDevice.kt\u0060 change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060ed2a9414\u0060 Revert \u0022Bug 2040608 - Part 3: Update baseline profile generators for \u2026; \u0060c19cc319\u0060 Bug 2040608 - Part 3: Update baseline profile generators for onboardi\u2026; \u00602e1ae8b4\u0060 Revert \u0022Bug 2040608 - Part 3: Update baseline profile generators for \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/src/main/java/org/mozilla/fenix/benchmark/BaselineProfilesNormalBrowsingBenchmark.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f467020a8b73cdc195150ff082a19806ac000e21323fcf5155f3a90cc9ec4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FenixApplication.kt \u2194 FirstSessionMetricsService.kt: \u0060app/src/main/java/org/mozilla/fenix/FenixApplication.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/metrics/FirstSessionMetricsService.kt\u0060 change together 84% of the time (16 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060b649bafe\u0060 Bug 1950473 - Refactoring DistributionIdUtil into DistributionIdManag\u2026 (at that commit the file was still \u0060app/src/main/java/org/mozilla/fenix/components/metrics/FirstSessionPing.kt\u0060); \u00607f95272c\u0060 Bug 1928453 - Adding content resolver to distribution ID util r=andro\u2026 (at that commit the file was still \u0060app/src/main/java/org/mozilla/fenix/components/metrics/FirstSessionPing.kt\u0060); \u0060d39cb32c\u0060 Bug 1920176 Adding google search codes for vivo deal.  Saving distrib\u2026 (at that commit the file was still \u0060app/src/main/java/org/mozilla/fenix/components/metrics/FirstSessionPing.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ca70586a2f36ddb6a9cd54415fd7e123fd3b462a35f8d78ea9a415a9285b7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SummarizationFeatureDiscoveryConfiguration.kt \u2192 BrowserFragment.kt, CustomizationFragment.kt, SummarizationFragment.kt, Settings.kt: \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/SummarizationFeatureDiscoveryConfiguration.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/utils/Settings.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/summarization/onboarding/SummarizationFeatureDiscoveryConfiguration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d59039416936f0642bb8b60a74519764d57928fd16b7b59dacb25729c738be"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CfrTools.kt \u2194 CfrToolsPreferencesMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrTools.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrToolsPreferencesMiddleware.kt\u0060 change together 83% of the time (10 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060798cea28\u0060 Bug 2034135 - Remove the Encourage Use of Search experiment r=android\u2026; \u0060b9109b3a\u0060 Bug 1973310 - Remove the Synced Tabs CFR from the homepage r=android-\u2026; \u00608cc544f3\u0060 Bug 1943102- Removed private mode CFR. a=pascalc \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrTools.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fda040edce02d1af5a7a673d169866bc68085bbf01e69f31679cf86ee936341"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: BookmarksReducer.kt \u2192 BookmarksMiddleware.kt, BookmarksScreen.kt, BookmarksTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksReducer.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998d25e1e9283baf837e098aa9b0484385bf576a9bc232ca3dd6963573634553"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TabLayout.kt \u2192 ExpandedTabGroup.kt, TabGroupCard.kt, TabGroupRow.kt, TabGridTabItem.kt, NormalTabsPage.kt, PrivateTabsPage.kt: \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt\u0060 changes together with 6 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/tabgroups/ExpandedTabGroup.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupRow.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/TabGridTabItem.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/NormalTabsPage.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/TabLayout.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3acd71ca18ae4d74ede42e63621402c225e51de594a407f5f37323feb002052"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TrustPanelNavigationMiddleware.kt \u2194 TrustPanelTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelNavigationMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelTelemetryMiddleware.kt\u0060 change together 82% of the time (14 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006018a242f9\u0060 Bug 2032124 - Add a IP Protection button to the trust panel r=android\u2026; \u0060dc35f3fe\u0060 Bug 2011941 - implement QWACs UI for Fenix r=boek,geckoview-reviewers\u2026; \u0060fab3e7ca\u0060 Bug 2006685 - Part 1: Move certificate view logic to navigation middl\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelNavigationMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b463838edec792a408969834b2282412b5a0c58462b1cbf66c66dadb01f931db"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LabsMiddleware.kt \u2194 FirefoxLabsScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/labs/middleware/LabsMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/labs/ui/FirefoxLabsScreen.kt\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060813346b4\u0060 Bug 2050108 - Handle Lab error edge cases r=android-reviewers,gl; \u0060a353aa01\u0060 Bug 2032111 - Deserialize Nimbus information into LabsItem r=gl,andro\u2026; \u00608c1beea7\u0060 Bug 2035830 - [Telemetry] Add feedback and empty state telemetry to L\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/labs/middleware/LabsMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eabd576ce801b04d05fcf2ac3c185ba641958a36efd5667be5c0b20d147ed6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: PageSummariesSettingsFragment.kt \u2192 HomeActivity.kt, BrowserFragment.kt, Core.kt, SummarizationFragment.kt, FenixSummarizationFeatureConfiguration.kt, SummarizationFeatureDiscoveryConfiguration.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.kt\u0060 changes together with 6 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/HomeActivity.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/Core.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/FenixSummarizationFeatureConfiguration.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/SummarizationFeatureDiscoveryConfiguration.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/pagesummaries/PageSummariesSettingsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b6fd12e0c48f134b4e8bfbec85b98f9def9ffbaffae155fd34fa3fb612e98d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: IPProtectionInfoPrompter.kt \u2192 BaseBrowserFragment.kt, MenuDialogFragment.kt, IPProtectionFragment.kt, IPProtectionScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionInfoPrompter.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/IPProtectionFragment.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/IPProtectionScreen.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionInfoPrompter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"327c476b3ed8338e166c83af60c63969545ae9c1f4700b822d7d2ba745c0a135"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdjustThirdPartySharingController.kt \u2194 InstallReferrerWorker.kt: \u0060app/src/main/java/org/mozilla/fenix/components/metrics/AdjustThirdPartySharingController.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerWorker.kt\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006066c08bb5\u0060 Bug 2056312 - Add Rakuten as a new marketing partner in Adjust.  a=di\u2026; \u00605cafe5c8\u0060 Bug 2056302 - Add Moloco as a new marketing partner in Adjust.  a=dia\u2026; \u006094690cbb\u0060 Bug 2056312 - Add Rakuten as a new marketing partner in Adjust. r=and\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/AdjustThirdPartySharingController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c1c30967bea11b5ff583632a6e72951b71c5c4647ab78caeafb6adf7a50f99"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdjustThirdPartySharingController.kt \u2194 InstallReferrerHandlingService.kt: \u0060app/src/main/java/org/mozilla/fenix/components/metrics/AdjustThirdPartySharingController.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerHandlingService.kt\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006066c08bb5\u0060 Bug 2056312 - Add Rakuten as a new marketing partner in Adjust.  a=di\u2026; \u00605cafe5c8\u0060 Bug 2056302 - Add Moloco as a new marketing partner in Adjust.  a=dia\u2026; \u006094690cbb\u0060 Bug 2056312 - Add Rakuten as a new marketing partner in Adjust. r=and\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/AdjustThirdPartySharingController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a3407c1655581e6d502e92f55dd2b0989c71f1caacdb9d504e76e550142be1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TrustPanelMiddleware.kt \u2192 TrustPanelNavigationMiddleware.kt, TrustPanelTelemetryMiddleware.kt, TrustPanelStore.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelMiddleware.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelNavigationMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelTelemetryMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/store/TrustPanelStore.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62dc378df6da541de446be2a3a312c28086e2636d8b6e6c5a17ad98ee2ffec5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BookmarksMiddleware.kt \u2194 BookmarksTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt\u0060 change together 74% of the time (17 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u00607464e675\u0060 Bug 2048941 - Add import_cancelled event to bookmarks import r=androi\u2026; \u00606cc22855\u0060 Bug 2037185 - Add telemetry for bookmarks importing events r=android-\u2026; \u00600044af23\u0060 Bug 2035342 - Integrates lib-bookmarks-file into feature-importer r=a\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a13e82ca1c7adf198f9cd51fd0a7a81be3cbe90ef0f436a0a54ac28f4364aa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: AdjustMetricsService.kt \u2192 InstallReferrerHandlingService.kt, InstallReferrerMetricsService.kt, InstallReferrerWorker.kt: \u0060app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerHandlingService.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerMetricsService.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/metrics/InstallReferrerWorker.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c5fc4f9266c68f8f7dac2fb71b2cee4bd83e80229e534803d4a9cce1df30dd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LensCameraActivity.kt \u2194 LensCameraScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/components/lens/LensCameraActivity.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/lens/LensCameraScreen.kt\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00608cb301e9\u0060 Bug 2055299 - Opt out screen for users on first Google Lens open r=pa\u2026; \u00604eef008e\u0060 Bug 2055299 - Opt out screen for users on first Google Lens open r=an\u2026; \u00607a339573\u0060 Bug 2042953 - Part 2: Scan QR codes from gallery images in Lens camer\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/lens/LensCameraActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a173de0d17807c764ee245325d946a1dfd93360441fd183e0bf6bfee61d9e31d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExpandedTabGroup.kt \u2194 PrivateTabsPage.kt: \u0060app/src/main/java/org/mozilla/fenix/tabgroups/ExpandedTabGroup.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabpage/PrivateTabsPage.kt\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060f99026a9\u0060 Bug 2038719 part 2: Add in-place reordering to InteractableGrid r=and\u2026; \u00603bd16fc1\u0060 Revert \u0022Bug 2038719 part 3: Add in-place reordering to tab list view \u2026; \u0060fb5cf766\u0060 Bug 2038719 part 2:  Add in place reorder handling to InteractableGri\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/ExpandedTabGroup.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2fd06cb224bb0358cface69922703e6085fc502414e553a3e64bc07a0df739"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AddonPopupBaseFragment.kt \u2194 BaseBrowserFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 change together 67% of the time (14 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060cfc8fb37\u0060 Bug 2062075 - Move the pixelSizeFor helpers into android-components. \u2026; \u00607ddf4000\u0060 Bug 1842361 - Download confirmation notification can be overlaid over\u2026; \u00604833c38b\u0060 Bug 2002273 - Download file dialog: allow to rename and change locati\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f10cc57d25bf33f81f48e8779739f5c6e7a4f12996b656e4beddfaefb6c75d2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BrowserFragment.kt \u2194 FenixSummarizationFeatureConfiguration.kt: \u0060app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/FenixSummarizationFeatureConfiguration.kt\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006032732a4d\u0060 Bug 2022904 - move summarization settings feature caching layer into \u2026; \u00605dac309e\u0060 Revert \u0022Bug 2022904 - move summarization settings feature caching lay\u2026; \u00609e4c8e09\u0060 Bug 2022904 - move summarization settings feature caching layer into \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d37ff5713525049d4acd9b5e52eba4bcf9ee970b465d31202e6e00b80b472e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DownloadTelemetryMiddleware.kt \u2194 DownloadUIStore.kt: \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/middleware/DownloadTelemetryMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/store/DownloadUIStore.kt\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060477b13ab\u0060 Bug 2002257 - Enable renaming download files r=android-reviewers,andr\u2026; \u00600a4f35e1\u0060 Bug 1954688 - [Downloads v2] Add missing telemetry probes for downloa\u2026; \u00604b79aa7c\u0060 Backed out changeset be512bd64897 (bug 1954688) for causing fenix fai\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/middleware/DownloadTelemetryMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c54a392d2beb1127f82db04e7163e7987babc0de4ea2491d6ac403f43457a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OnboardingFragment.kt \u2194 OnboardingScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/onboarding/OnboardingFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt\u0060 change together 66% of the time (23 of the 35 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 23 shared commits counted here, the most recent 3 are \u0060fd7e4a21\u0060 Bug 2056032 - Only add the marketing card when required instead of ad\u2026; \u0060c5927017\u0060 Bug 2048756 - Part 1: Resume Android onboarding on the page the user \u2026; \u00603c072cb4\u0060 Bug 2010810 - Part 1: Adding onboarding ping r=android-reviewers,twhite \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/onboarding/OnboardingFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd65877527b279429897fb19aa98b395511b6a76ce0ed78fefee8c4c94d91f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProfilerStartDialogFragment.kt \u2194 ProfilerStopDialogFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/perf/ProfilerStartDialogFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/perf/ProfilerStopDialogFragment.kt\u0060 change together 64% of the time (9 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00608c606650\u0060 Bug 1956859: Enable profiler control via adb and sync profiler state \u2026; \u0060e6fdf687\u0060 Revert \u0022Bug 1956859: Enable profiler control via adb and sync profile\u2026; \u0060c45933fb\u0060 Bug 1956859: Enable profiler control via adb and sync profiler state \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/perf/ProfilerStartDialogFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b3a0faec0c33f1d5db4004c6721f0b40e4a86ced4f9fe9fa38d984180857ef"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FenixApplication.kt \u2194 FakeCreditCardsAddressesStorage.kt: \u0060app/src/main/java/org/mozilla/fenix/FenixApplication.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/addresses/FakeCreditCardsAddressesStorage.kt\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060042e61ba\u0060 Bug 1979760 - Use dedicated count methods in setAutofillMetrics r=and\u2026; \u00609275674c\u0060 Revert \u0022Bug 1979206 - Handled AutofillApiException and changed getAll\u2026; \u006012f85047\u0060 Bug 1979206 - Handled AutofillApiException and changed getAllCreditCa\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e6a2c0d934b17a2cc39292b3673e9aead71d96ec73d376cb00f9ce8a06dcaf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: MenuDialogFragment.kt \u2192 MainMenu.kt, MoreSettingsSubmenu.kt, FenixSummarizationFeatureConfiguration.kt: \u0060app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/MainMenu.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/menu/compose/MoreSettingsSubmenu.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/FenixSummarizationFeatureConfiguration.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb33b9c562d4186123931c32c23cff8d0a641bb99ab936f98bf8c15ae32e420"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentRecommendationsReducer.kt \u2194 PocketMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/PocketMiddleware.kt\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006053fa5cd7\u0060 Bug 2013405 - Part 3: Remove Pocket Spocs Integration from Fenix r=an\u2026; \u006069723ea7\u0060 Bug 1945729 - Update sponsored content impressions when shown r=andro\u2026 (at that commit the file was still \u0060app/src/main/java/org/mozilla/fenix/home/PocketUpdatesMiddleware.kt\u0060); \u0060778d0841\u0060 Bug 1945729 - Update sponsored content impressions when shown r=andro\u2026 (at that commit the file was still \u0060app/src/main/java/org/mozilla/fenix/home/PocketUpdatesMiddleware.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ff7c67dacd109f161036b0760e17b2cec129b841270197dee817d3b425936"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TabGroupCard.kt \u2194 SharedTabItemUi.kt: \u0060app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/ui/tabitems/SharedTabItemUi.kt\u0060 change together 62% of the time (13 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060729c65b5\u0060 Bug 2010687:  Add a fade to swipe to dismiss and update to Compose3 r\u2026; \u0060118b3353\u0060 Bug 2047027 - [Ungrouping] Add new menu item to 3 dot menu r=android-\u2026; \u00601f1c588b\u0060 Bug 2039969:  Add a tab group entrance animation r=android-reviewers,007 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabgroups/TabGroupCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7497e6f6f85663ead832bc457facbaa986ecf73f3d2e78c7d57e010fe891056b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AIControlsFragment.kt \u2194 AIControlsScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/ai/AIControlsFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/ai/AIControlsScreen.kt\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060e0c266a1\u0060 Bug 2039336 - Move Firefox-owned features to top of AI controls setti\u2026; \u0060746d33ad\u0060 Bug 2033888 - Add AI controls to settings search r=android-reviewers,\u2026; \u006090480ca5\u0060 Bug 2030486 - Added AI controls telemetry r=android-reviewers,sfamisa \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/ai/AIControlsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"465843f4187bae9b73c629e154195f92d05595ad48f0177cde6d09379802c790"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ProtectionPanel.kt \u2192 TrustPanelNavigationMiddleware.kt, TrustPanelAction.kt, TrustPanelStore.kt, ProtectionPanelHeader.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/ProtectionPanel.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/middleware/TrustPanelNavigationMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/store/TrustPanelAction.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/store/TrustPanelStore.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/ProtectionPanelHeader.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/ProtectionPanel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9079261e65eb8d7a6b0d9c02165a3bdda62a80743f6f3442d825031277588018"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChecklistView.kt \u2194 SetupChecklist.kt: \u0060app/src/main/java/org/mozilla/fenix/home/setup/ui/ChecklistView.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/setup/ui/SetupChecklist.kt\u0060 change together 61% of the time (14 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006053fa376c\u0060 Bug 1993856 - Part 12: Migrate SetupChecklist and ChecklistView to M3\u2026; \u0060f0ae0902\u0060 Revert \u0022Bug 1993856 - Part 13: Migrate WallpaperState to M3 Acorn col\u2026; \u00609f84f4cc\u0060 Bug 1993856 - Part 12: Migrate SetupChecklist and ChecklistView to M3\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/setup/ui/ChecklistView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c99b6ac64c042f89ed6becfa92629fec2b28675710123dc16e34269ad123bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BookmarksScreen.kt \u2194 BookmarksTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt\u0060 change together 61% of the time (14 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006007c17306\u0060 Bug 2041751 - removed showbookmarksimport in empty state and removed \u2026; \u00606cc22855\u0060 Bug 2037185 - Add telemetry for bookmarks importing events r=android-\u2026; \u0060bff669cf\u0060 Bug 2009032: add select item in bookmark options menu r=android-revie\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"912312efb4d913b2b96dbff232ae831bcdfe5675168e17112e6dab17195a6e7a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Homepage.kt \u2192 ExperimentalHomepageHeader.kt, HomepageHeader.kt, SearchBar.kt: \u0060app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/home/ui/ExperimentalHomepageHeader.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/ui/HomepageHeader.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/ui/SearchBar.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/ui/Homepage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94144fd5ed749cf84e7b840896c9e9a6bcd8ab34576344a14669ef91b748c1d4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BookmarksScreen.kt \u2194 DebugDrawerHome.kt: \u0060app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawerHome.kt\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060b500034d\u0060 Bug 2000031 - Update existing SnackbarHost to use reusable Snackbar c\u2026; \u0060a9e51b3e\u0060 Bug 1983070 - Part 2 - Snackbars should use displaySnackbar instead o\u2026; \u00607d33f39a\u0060 Bug 1975266 - Part 4 - Remove AcornSnackbarHostState and SnackbarStat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fba7a4c9ea5c33e425696980ce2bb1038496039bb2c7a86cb1cdb191e022b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: HomeFragment.kt \u2192 IPProtectionInfoPrompter.kt, BrowserNavigationBar.kt, CfrToolsPreferencesMiddleware.kt, CfrToolsStore.kt, HomepageInteractor.kt, HomeToolbarStoreBuilder.kt, ShortcutsFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt\u0060 changes together with 7 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/components/ipprotection/IPProtectionInfoPrompter.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserNavigationBar.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrToolsPreferencesMiddleware.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/debugsettings/cfrs/CfrToolsStore.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/interactor/HomepageInteractor.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/store/HomeToolbarStoreBuilder.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/topsites/ShortcutsFragment.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abb851a556ae137281262bb1a5f94c128861be9e52de68a4372dd8db11a817a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TabGroupAction.kt \u2194 TabGroupFormState.kt: \u0060app/src/main/java/org/mozilla/fenix/tabstray/redux/action/TabGroupAction.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/tabstray/redux/state/TabGroupFormState.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d94e6899\u0060 Bug 2047039 - Tab Group Page FAB opens a new tab group r=android-revi\u2026; \u00602751b50e\u0060 Bug 2018314:  Implementing color picker r=android-reviewers,007; \u0060e6572009\u0060 Bug 2017778 - Stitch AddToTabGroup and CreateTabGroup into the Tab Ma\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/tabstray/redux/action/TabGroupAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db344d6fe54bcd695dfe790ce59c722efcfc54f1e85cea1e2d20b79f6348d3a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TermsOfUsePromptRepository.kt \u2194 TermsOfUsePromptStore.kt: \u0060app/src/main/java/org/mozilla/fenix/termsofuse/store/TermsOfUsePromptRepository.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/termsofuse/store/TermsOfUsePromptStore.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060be9b4755\u0060 Bug 2016742 - Fixing a multitude of issues regarding when the ToU bot\u2026; \u006094980dea\u0060 Bug 2016742 - Fixing a multitude of issues regarding when the ToU bot\u2026; \u00600567d19e\u0060 Bug 1981147 - Updating when the terms of use bottom sheet trigger beh\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/termsofuse/store/TermsOfUsePromptRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c510cb76ac4c33967060a6cab858fcfb5d119a98c5214e7ff180b86f6e68c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StoriesScreen.kt \u2194 StoryCard.kt: \u0060app/src/main/java/org/mozilla/fenix/home/pocket/ui/StoriesScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/pocket/ui/StoryCard.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060c3b7863b\u0060 Bug 1993856 - Part 14: Migrate StoryCard and StoriesScreen to M3 Acor\u2026; \u0060c5071dac\u0060 Bug 1988271- Update number of columns on the Stories Discover More pa\u2026; \u006082854d67\u0060 Bug 1988204- Update Stories Discover More screen to match figma. r=an\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/pocket/ui/StoriesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa02552ec76838068ed7c406554315d2fbec58642c579a5cd784315b6c53d8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SummarizationFragment.kt \u2194 FenixSummarizationFeatureConfiguration.kt: \u0060app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/summarization/onboarding/FenixSummarizationFeatureConfiguration.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006032732a4d\u0060 Bug 2022904 - move summarization settings feature caching layer into \u2026; \u00605dac309e\u0060 Revert \u0022Bug 2022904 - move summarization settings feature caching lay\u2026; \u00609e4c8e09\u0060 Bug 2022904 - move summarization settings feature caching layer into \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/summarization/SummarizationFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d097eedfe64f96f0c7ca2f77d4801d7e7ba9014a3fd9aabfe7ff29a675425185"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DownloadFragment.kt \u2194 DownloadTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/middleware/DownloadTelemetryMiddleware.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600a4f35e1\u0060 Bug 1954688 - [Downloads v2] Add missing telemetry probes for downloa\u2026; \u00604b79aa7c\u0060 Backed out changeset be512bd64897 (bug 1954688) for causing fenix fai\u2026; \u006071f49d46\u0060 Bug 1954688 - [Downloads v2] Add missing telemetry probes for downloa\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15287da1d2da26864dc276f7ebc293564fac808b0ddb3ee8d4e251a8204b2dd1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TrustPanelFragment.kt \u2194 TrackersBlockedPanel.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/trustpanel/ui/TrackersBlockedPanel.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00608fa8233b\u0060 Bug 2022880 - Add url and one line title for all blocked trackers scr\u2026; \u006047824aad\u0060 Bug 2030355 - part 3 - Navigate to the tracking protections dashboard\u2026; \u00604c9eac7b\u0060 Bug 2030355 - part 2 - Show the number of trackers blocked this week \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/trustpanel/TrustPanelFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d24d1e1f5697dfda02e5cf9ab1387b679d508d36545d1dacfd7074fe175fa8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DebugDrawerRoute.kt \u2194 FenixOverlay.kt: \u0060app/src/main/java/org/mozilla/fenix/debugsettings/navigation/DebugDrawerRoute.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/ui/FenixOverlay.kt\u0060 change together 58% of the time (15 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00602ef157e3\u0060 Bug 2035997 - Add a Debug Tool for the Homepage Sports Widget  a=dmeehan; \u00607895a4a1\u0060 Bug 2035997 - Add a Debug Tool for the Homepage Sports Widget r=andro\u2026; \u0060421e0aac\u0060 Bug 2031797 - remove LLM tools from the debug drawer r=android-review\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/navigation/DebugDrawerRoute.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f58c2e4cf60ae44355453d7d7e8ac2c2c3029e57f41f42a5fdaea0bc4411d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: HomepageState.kt \u2192 HomepageInteractor.kt, PocketState.kt, PocketSection.kt: \u0060app/src/main/java/org/mozilla/fenix/home/store/HomepageState.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/mozilla/fenix/home/interactor/HomepageInteractor.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/pocket/PocketState.kt\u0060, \u0060app/src/main/java/org/mozilla/fenix/home/pocket/ui/PocketSection.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/store/HomepageState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4c1106368808e3caaf40a7ef912d56dec0f4cdf0c6bbe15dcebe0398babb1e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WebExtensionsMenuBinding.kt \u2194 MenuTelemetryMiddleware.kt: \u0060app/src/main/java/org/mozilla/fenix/components/menu/WebExtensionsMenuBinding.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuTelemetryMiddleware.kt\u0060 change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060aff9d7dd\u0060 Bug 1972333 - Part 4: Remove UpdateShowDisabledExtensionsOnboarding m\u2026; \u0060386f087e\u0060 Bug 1920539 - Integrate new WebCompat feature into Menu redesign via \u2026; \u00608399324a\u0060 Bug 1923874 - [Menu Redesign] Show extension promotion with updated s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/menu/WebExtensionsMenuBinding.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc4113fffdb5ff7f3903aedd912538d88b02bd50e280532a1b6920be289a277"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FakeCreditCardsAddressesStorage.kt \u2194 AutofillSettingFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/debugsettings/addresses/FakeCreditCardsAddressesStorage.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00609275674c\u0060 Revert \u0022Bug 1979206 - Handled AutofillApiException and changed getAll\u2026; \u006012f85047\u0060 Bug 1979206 - Handled AutofillApiException and changed getAllCreditCa\u2026; \u0060f7c7f936\u0060 Bug 1979206 - Handled AutofillApiException and changed getAllAddresse\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/addresses/FakeCreditCardsAddressesStorage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"710a458fd1aba694507442f5527696f1204f8e524a83005a60e6e5a47c82bc63"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BaseBrowserFragment.kt \u2194 HomeToolbarStoreBuilder.kt: \u0060app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/store/HomeToolbarStoreBuilder.kt\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060733f1900\u0060 Bug 1989033 - Use fragment\u0027s context when calculating toolbar height \u2026; \u006054b738ae\u0060 Revert \u0022Bug 1989033 - Use fragment\u0027s context when calculating toolbar\u2026; \u00604e00258f\u0060 Bug 1989033 - Use fragment\u0027s context when calculating toolbar height \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2dd742afa6c0d3417bd9cb0225ecb3aafc3fbda26aa904f046ed8cab53dd0b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DebugDrawerHome.kt \u2194 DownloadsScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawerHome.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b500034d\u0060 Bug 2000031 - Update existing SnackbarHost to use reusable Snackbar c\u2026; \u00607d33f39a\u0060 Bug 1975266 - Part 4 - Remove AcornSnackbarHostState and SnackbarStat\u2026; \u00609d2e94e2\u0060 Bug 1975266 - Part 4 - Remove AcornSnackbarHostState and SnackbarStat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/ui/DebugDrawerHome.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df491e327bf86957c32f551cd71dcb8e4e87946ab8091f127afa5b5efd1e22"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TermsOfUseBottomSheet.kt \u2194 TermsOfUseBottomSheetFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/termsofuse/ui/TermsOfUseBottomSheet.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/termsofuse/ui/TermsOfUseBottomSheetFragment.kt\u0060 change together 52% of the time (13 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u006005ef20de\u0060 Bug 2008712 - Part 3: Update \u0060TermsOfUseBottomSheet\u0060 to use the Nimbu\u2026; \u0060e3c4ccbe\u0060 Bug 2008712 - Part 3: Update \u0060TermsOfUseBottomSheet\u0060 to use the Nimbu\u2026; \u0060a10d4941\u0060 Bug 2000709: Adding a nimbus flag for hiding the terms of use prompt \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/termsofuse/ui/TermsOfUseBottomSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bc4abe67f7188e3cfa655b4d54f50b69697706db287f223e9974c086f77203"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentRecommendationsReducer.kt \u2194 PocketStoriesController.kt: \u0060app/src/main/java/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/pocket/controller/PocketStoriesController.kt\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006053fa5cd7\u0060 Bug 2013405 - Part 3: Remove Pocket Spocs Integration from Fenix r=an\u2026; \u0060b758fb47\u0060 Bug 1928577 - Implement click and impression telemetry for Merino Con\u2026; \u00604baf897e\u0060 Bug 1928250 - Part 6: Update the content recommendation impressions w\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/components/appstate/recommendations/ContentRecommendationsReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ec7a8000c49d0baa74459aa9157e310a5dd52d8bde6f7dd9b25ac7921f8ea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AddressManagementFragment.kt \u2194 AutofillSettingFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/settings/address/AddressManagementFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/settings/autofill/AutofillSettingFragment.kt\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00609275674c\u0060 Revert \u0022Bug 1979206 - Handled AutofillApiException and changed getAll\u2026; \u0060f7c7f936\u0060 Bug 1979206 - Handled AutofillApiException and changed getAllAddresse\u2026; \u00600896d998\u0060 Revert \u0022Bug 1979206 - Handled AutofillApiException and changed getAll\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/settings/address/AddressManagementFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15585f845194fc3ee88b85b7677910f0fc4d9ef4b1b5fe8c87c81834618ef43"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AppIconPreference.kt \u2194 AppIconSelectionFragment.kt: \u0060app/src/main/java/org/mozilla/fenix/iconpicker/ui/AppIconPreference.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/iconpicker/ui/AppIconSelectionFragment.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f29c4f46\u0060 Bug 1982805 - Making app icon selection feature support use case of a\u2026; \u00600ca838d3\u0060 Bug 1979161 - Add telemetry for app icon selection feature r=android-\u2026; \u00601b9c3080\u0060 Bug 1977906 - Part 1: Refactor the app icon data layer r=android-revi\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/iconpicker/ui/AppIconPreference.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a296180cc89583ca1fd9c3075c4bdbbec2a4afb779ef18ccd7de24f8ef0e00f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ShortcutsFragment.kt \u2194 ShortcutsScreen.kt: \u0060app/src/main/java/org/mozilla/fenix/home/topsites/ShortcutsFragment.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/home/topsites/ui/ShortcutsScreen.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006057698a73\u0060 Bug 2050288 - Add telemetry for the Add Shortcuts dialog r=android-re\u2026; \u00600d78b382\u0060 Bug 2023646 - Implement popular sites section in Add to homepage bott\u2026; \u0060d7f49863\u0060 Bug 2023627 - Implement Add to homepage bottom sheet r=android-review\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/home/topsites/ShortcutsFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ee0db8b1baa11e274c7d9596ba0e70b024a664b9f302db0403037be87e91c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WebCompatReporterSubmissionMiddleware.kt \u2194 WebCompatReporterPreviewSheet.kt: \u0060app/src/main/java/org/mozilla/fenix/webcompat/middleware/WebCompatReporterSubmissionMiddleware.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporterPreviewSheet.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00603895e9c7\u0060 fix merge; \u0060e6e5084a\u0060 Bug 2038713 - [WebCompat Reporter v3] Update \u0022Preview report\u0022 bottom \u2026; \u006009d5ca80\u0060 Bug 2038713 - [WebCompat Reporter v3] Update \u0022Preview report\u0022 bottom \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/webcompat/middleware/WebCompatReporterSubmissionMiddleware.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13396606cca7382463369b4a5ea289a79e2fd846d1d53fca1d3e39ba179c617a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DownloadsScreen.kt \u2194 DownloadUIMiddlewareProvider.kt: \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/downloads/listscreen/di/DownloadUIMiddlewareProvider.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00606537a624\u0060 Bug 2002334 - Part 1: Update download settings screen to show confirm\u2026; \u0060477b13ab\u0060 Bug 2002257 - Enable renaming download files r=android-reviewers,andr\u2026; \u0060e7b24374\u0060 Bug 2008736 - Create a download navigational middleware r=android-rev\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/downloads/listscreen/DownloadsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bbadbcb3abe398d71f33b6c60bce7c32bff920bcfb81a05c424aead884e156"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GleanDebugToolsScreen.kt \u2194 TabTools.kt: \u0060app/src/main/java/org/mozilla/fenix/debugsettings/gleandebugtools/ui/GleanDebugToolsScreen.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/debugsettings/tabs/TabTools.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060a99c9cc9\u0060 Bug 2009058 - Part 3: Refactoring compose previews to use @PreviewPar\u2026; \u006005115242\u0060 Bug 1920232 - Part 6: Refactor TextField into compose-base r=android-\u2026; \u0060ef4d5652\u0060 Bug 1924157 - Support 2 trailing icons and passwords to be displayed \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/debugsettings/gleandebugtools/ui/GleanDebugToolsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d23a0043f327a9e540357a2bc2f5d88d5e862d4ae8656161b327d67f078c86"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WebCompatReporter.kt \u2194 WebCompatReporterPreviewSheet.kt: \u0060app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporter.kt\u0060 and \u0060app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporterPreviewSheet.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006002b27aab\u0060 Bug 2057504 - [WebCompat Reporter v3] \u0027Send\u0027 button should not be dis\u2026; \u0060e6e5084a\u0060 Bug 2038713 - [WebCompat Reporter v3] Update \u0022Preview report\u0022 bottom \u2026; \u006009d5ca80\u0060 Bug 2038713 - [WebCompat Reporter v3] Update \u0022Preview report\u0022 bottom \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/mozilla/fenix/webcompat/ui/WebCompatReporter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cc910a37e601d494a9196be91a1755ab70f7acbbf296303c21a1abde9f41d7"}},{"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":"81d0799af757bba1afbed34637d383ea39ed22bd8ff8ec5b09c5aa413595d701"},"taxa":[{"id":"CICD-SEC-6","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":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","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":"715f9ed8ae4da820d8c4bad907ea1f1e0d7b0b50f1c52c3989ef198657b3bbee"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SessionControlController (17 abstract methods): \u0060SessionControlController\u0060 declares 17 abstract methods: \u0060handleCollectionAddTabTapped\u0060, \u0060handleCollectionOpenTabClicked\u0060, \u0060handleCollectionOpenTabsTapped\u0060, \u0060handleCollectionRemoveTab\u0060, \u0060handleCollectionShareTabsClicked\u0060, \u0060handleDeleteCollectionTapped\u0060, \u0060handleRenameCollectionTapped\u0060, \u0060handleToggleCollectionExpanded\u0060, \u0060handleCreateCollection\u0060, \u0060handleMessageClicked\u0060, \u0060handleMessageClosed\u0060, \u0060handleShowWallpapersOnboardingDialog\u0060, \u0060handleReportSessionMetrics\u0060, \u0060onChecklistItemClicked\u0060, \u0060onRemoveChecklistButtonClicked\u0060, \u0060registerCallback\u0060, \u0060unregisterCallback\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/org/mozilla/fenix/home/sessioncontrol/SessionControlController.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f36a1190be32bd3ac0ef7535f73be08ef6e8c0e5cbc9468c76a3b73ab7a87a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TabManagerController (22 abstract methods): \u0060TabManagerController\u0060 declares 22 abstract methods: \u0060handleTabPageClicked\u0060, \u0060handleNavigateToBrowser\u0060, \u0060handleNavigateToHome\u0060, \u0060handleTabDeletion\u0060, \u0060handleDeletePrivateTabWarningAccepted\u0060, \u0060handleDeleteSelectedTabsClicked\u0060, \u0060handleBookmarkSelectedTabsClicked\u0060, \u0060handleAddSelectedTabsToCollectionClicked\u0060, \u0060handleShareSelectedTabsClicked\u0060, \u0060handleShareTabGroupClicked\u0060, \u0060handleNavigateToRecentlyClosed\u0060, \u0060handleForceSelectedTabsAsInactiveClicked\u0060, \u0060handleTabSelected\u0060, \u0060handleNavigationRequested\u0060, \u0060handleBackPressed\u0060, \u0060handleSignInClicked\u0060, \u0060onAccountSettingsClicked\u0060, \u0060onTabSettingsClicked\u0060, \u0060onCloseAllTabsClicked\u0060, \u0060onCloseAllPrivateTabsWarningConfirmed\u0060, \u0060onOpenRecentlyClosedClicked\u0060, \u0060onPrivacyReportTapped\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/org/mozilla/fenix/tabstray/controller/TabManagerController.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da292fab359fa038faae3ec4f1b19f8e5c9d503077855a3ef5859afdeef09f"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/Architecture-Decisions.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060build.gradle\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.gradle"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6315a7594cc33d6b975417119bbbeb33eef8acada489d1b9fa646cbfb1507a6"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 2 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings.googleLensIntegrationEnabled || !settings.googleLensIntegrationUserEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/LensFeature.kt, app/src/main/java/org/mozilla/gecko/search/SearchWidgetProvider.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/org/mozilla/fenix/components/LensFeature.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c0f3036256f8f80c39e5c0181bc78e4fea2b55de35dafc0cf14de0e2f1d75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!shouldUseExpandedToolbar || !isTallWindow || isWideWindow\u0060 appears character-identically in 3 files \u2014 app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt, app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b51abad796ada951fa8bc54b4e9f37ab0d934339a544ed89bf10dc37801ee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!shouldUseExpandedToolbar || !isTallWindow || isWideWindow) \u0026\u0026 pt.dweep.sideraven.SidebarGate.showsTabCounter(uiContext)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"d371690247dbc86aab8486c3234b6bcace0371635c567ab0d7b374bacb531eed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(action is AddNewTab || action is AddNewPrivateTab) \u0026\u0026 pt.dweep.sideraven.ToolbarSearch.openNewTab(uiContext, action is AddNewPrivateTab)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcbf5dd6b2ea5f769f00146cc0ffed5e39ca6eed068a0bcc009a83aa1d099e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(it.key == ShortcutType.SUMMARIZE \u0026\u0026 !isSummarizationAvailable) || (it.key == ShortcutType.TRANSLATE \u0026\u0026 !isTranslationsFeatureAvailable)\u0060 appears character-identically in 4 files \u2014 app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.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/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff32318091a57ae44304e8abd09085eb18e1e49c35f69d0aea4e70f58bcfde78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action is TabCounterClicked \u0026\u0026 pt.dweep.sideraven.SidebarGate.revealIfAutoHide(uiContext)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189bd6323663714ddd0d8a4ec8629bf774555424fa0415f61d16ec8d5e75d5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060customTabSession?.config?.externalAppType == ExternalAppType.PROGRESSIVE_WEB_APP || customTabSession?.config?.externalAppType == ExternalApp\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarComposable.kt, app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserFragment.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/org/mozilla/fenix/components/toolbar/BrowserToolbarComposable.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26b773ab78b5ec19208520855988f8b36c625d1d19e36a34176f6310d80ea31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downloadState.openInApp \u0026\u0026 downloadJobStatus == Status.COMPLETED\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt, app/src/main/java/org/mozilla/fenix/browser/DownloadUtils.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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3fea1e07a3dfd1447bad1f63b9e5f6cacf1b1fc95b4ea1876189c8cb4b2d21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dragAndDropEnabled || item.type !is InteractionType.Overlap\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt, app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableList.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/org/mozilla/fenix/tabstray/browser/compose/interactable/InteractableGrid.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df0851dff06edcf502c56e23323b779a65bd7e6efc00827a0ca0704da5f7dca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.action == KeyEvent.ACTION_DOWN \u0026\u0026 event.keyCode == KeyEvent.KEYCODE_MENU\u0060 appears character-identically in 3 files \u2014 app/src/main/java/org/mozilla/fenix/HomeActivity.kt, app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt, app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.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/org/mozilla/fenix/HomeActivity.kt"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d663a4c9bb2d6977be8026773ee3d1679f3471f51a109477e6d1a02095c05e91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existingFragment == null \u0026\u0026 isAdded \u0026\u0026 !childFragmentManager.isStateSaved\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt, app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.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/org/mozilla/fenix/addons/AddonPopupBaseFragment.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e2bc1411bf1f280c07be570dcbe246534b86b4a70a2a1da010db628432aa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLandscape \u0026\u0026 screenWidthPx \u003C minScreenWidth\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt, app/src/main/java/org/mozilla/fenix/components/menu/MenuFragment.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/org/mozilla/fenix/components/menu/MenuDialogFragment.kt"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fff12e44838573c307b6089a0ae375693bea81b55ac6844c7898dd05f0e580"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isTranslationEngineSupported \u0026\u0026 FxNimbus.features.translations.value().mainFlowToolbarEnabled \u0026\u0026 translationsFeatureSettings.isEnabled.first\u2026\u0060 appears character-identically in 3 files \u2014 app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt, app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9de04a7dd0db333ec621b6ecd548b35ad8e0251a6c4ae2278b39fb21bf0aa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isTranslationEngineSupported \u0026\u0026 isTranslationsFeatureEnabled \u0026\u0026 FxNimbus.features.translations.value().mainFlowToolbarEnabled\u0060 appears character-identically in 5 files \u2014 app/src/main/java/org/mozilla/fenix/settings/ToolbarExpandedShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.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/org/mozilla/fenix/settings/ToolbarExpandedShortcutPreference.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e1be1c3fff128760402e92e56ccc78b6507eef5f989f512a2283a055893f90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isWideScreen \u0026\u0026 !tabStripEnabled \u0026\u0026 !shareShortcutEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt, app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc2334516d2a074c699bff1da6df863075492187e829d2b046dff83fff5f87b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.value.private \u0026\u0026 it.value.isActiveDownload()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/tabstray/controller/TabManagerController.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/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7a652412c60022e34e23d139d60c182ec61f78013009236dc9b78df5e03aef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.key != ShortcutType.SUMMARIZE || isBrowsingInNormalMode\u0060 appears character-identically in 4 files \u2014 app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarSimpleShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripNoShortcutPreference.kt, app/src/main/java/org/mozilla/fenix/settings/ToolbarTabStripShortcutPreference.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/org/mozilla/fenix/settings/ToolbarSimpleNoShortcutPreference.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53159251bc0c308bc7aa9dca9a434dbc2bb609e705365bcd43da1d9e89a6739"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.syncSpaces || options.syncEssentials\u0060 appears character-identically in 2 files \u2014 app/src/main/java/pt/dweep/sideraven/sync/ZenProjection.kt, app/src/main/java/pt/dweep/sideraven/sync/ZenSync.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/pt/dweep/sideraven/sync/ZenProjection.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda5db8111a198445645c9265fb65e1e61ee63f2697f2663ab6139dcd113c6ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultCode == Activity.RESULT_OK \u0026\u0026 data != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/components/QrScanFenixFeature.kt, app/src/main/java/org/mozilla/fenix/components/VoiceSearchFeature.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/org/mozilla/fenix/components/QrScanFenixFeature.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf517e8ac8847d696fe695fd2b1fb092405e51e6440a6d85fed19842d4ef7c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedItemInfo == null || listState.isItemPartiallyVisible(selectedItemInfo)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/browser/tabstrip/TabStrip.kt, app/src/main/java/org/mozilla/fenix/downloads/listscreen/ui/Filters.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/org/mozilla/fenix/browser/tabstrip/TabStrip.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"24eabe6fe2e6be01665ed607b926ab8d2379ad0e40319042143f39eedafff25f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.enableHomepageEdgeToEdgeBackgroundFeature \u0026\u0026 settings.currentWallpaperName == Wallpaper.EDGE_TO_EDGE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/browser/tabstrip/TabStripColors.kt, app/src/main/java/org/mozilla/fenix/home/HomeFragment.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/org/mozilla/fenix/browser/tabstrip/TabStripColors.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c601f14622fe54bd65e1aead4b9ff323e682c94aacbdb4d34da91d0d6354ae6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.googleLensIntegrationEnabled \u0026\u0026 settings.googleLensIntegrationUserEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/FenixApplication.kt, app/src/main/java/org/mozilla/fenix/search/BrowserToolbarSearchMiddleware.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/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e7e715d1dd74d215ad7aae27c243856b0ec1b405eca9952836045d9e2e4a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.shouldShowSearchSuggestions \u0026\u0026 settings.shouldShowSearchSuggestionsInPrivate\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/search/FenixSearchMiddleware.kt, app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.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/org/mozilla/fenix/search/FenixSearchMiddleware.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc6fbe0414ab88477bc75b08f6dfb725a68399120de1e247e76bb5459c3f2e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.shouldUseDarkTheme || settings.shouldUseOledTheme\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/FenixApplication.kt, app/src/main/java/org/mozilla/fenix/components/Core.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/org/mozilla/fenix/FenixApplication.kt"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f9de06a656ce3e7161a83593ab0c55d31bcc8fc40b2b941d79016b006e6127"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.shouldUseExpandedToolbar \u0026\u0026 isTallWindow() \u0026\u0026 !isWideWindow()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/ext/Fragment.kt, app/src/main/java/org/mozilla/fenix/settings/CustomizationFragment.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/org/mozilla/fenix/ext/Fragment.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"364d53ef925df8699d5f76ef6786941680eae4bef5c1c71939a06981b212e6f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.showPocketRecommendationsFeature || settings.privateModeAndStoriesEntryPointEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt, app/src/main/java/org/mozilla/fenix/home/PocketMiddleware.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/org/mozilla/fenix/home/HomeFragment.kt"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f65112c9bbe0a4638919661e1830eb2d3604d2f407a09d0d13be22d4451f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldUseExpandedToolbar \u0026\u0026 isTallWindow \u0026\u0026 !isWideWindow\u0060 appears character-identically in 3 files \u2014 app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt, app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.kt, app/src/main/java/org/mozilla/fenix/home/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/browser/TabPreview.kt"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"24400ec3951bc67261925b11b78cb15df5f2c2dae170aef970402a24caa7a656"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab.trackingProtection.enabled \u0026\u0026 !hasTrackingProtectionException\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt, app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMiddleware.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/org/mozilla/fenix/browser/BrowserFragment.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"727f0c9328f46fec882ba5de60a6bfa8e75d4bdc962bf326d03be59415462db7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetItem != null \u0026\u0026 targetItem.key !in ignoredItems\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt, app/src/main/java/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableList.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/org/mozilla/fenix/tabstray/browser/compose/legacy/ReorderableGrid.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f07963115533ef6341d72c8baee96163abc55864cc796adfe6836686b2707"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; 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":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: viewArchivedVersion: \u0060viewArchivedVersion\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":"app/src/main/assets/lowMediumErrorPages.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e0af4be3fe9a8fe4af8c44d845b8f26640ad5dc37719ef42da988434ccfa66"}},{"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/org/mozilla/fenix/wallpapers/WallpapersUseCases.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaded6a70ca1f9c8dc77d1bf308f0fbf046f6559c025f32a3b81d243b719a84"}},{"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/org/mozilla/fenix/wallpapers/WallpapersUseCases.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ffc3d9c4fc552cea5359ec040f9d600ae3ef3f418f627b0b2da7f5a4f3c13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\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/org/mozilla/fenix/utils/Stories.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"567f2536b9789e6cf96133bdfcb8e7497505858344cf2042018d6249ebf8196b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\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/org/mozilla/fenix/utils/Stories.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ca01323fd6c7791779f441b8aae5c9ef38895aecd32ac32147ffa015f99fa"}},{"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/org/mozilla/fenix/components/lens/LensCameraFragment.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb89e5556bbb8bd565d1172168af1bf5ed866530545767111171b1d5ce7891ef"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"automation/sideraven/brand-strings.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1951bab5c5205b2c7cf3d04e63e43fa199e26924ba9766b7f9af88153c27aa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060downloadWallpaperList\u0060 swallows every exception into \u0060listOf()\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/org/mozilla/fenix/wallpapers/WallpaperMetadataFetcher.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f187ef4a409c714aafcd48b559816fef376cfb2c7c9b40f8dae31a5ef9263e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-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-489","guid":"b1d97a6c-8316-175f-ade8-b1bfbc14619d","name":"Active Debug Code","shortDescription":{"text":"Active Debug Code"},"helpUri":"https://cwe.mitre.org/data/definitions/489.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":48,"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."]}]}