{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"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":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"SuperClusterAlgorithm.buildIndex (cyclomatic 29): SuperClusterAlgorithm.buildIndex has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"da66d9bcd05f374455bdc94ad7df034661d6f188caa4d0d8e547865b55b23ca8"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderTask.run (cyclomatic 24): RenderTask.run 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"71943359fd903edcec120ec5c832fdcb18e14e72f451f4d876048cc86ce209d7"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderTask.run (cyclomatic 21): RenderTask.run 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"489d6868ec091baa069b1950a1754acabca29cc7e17a9bb2f9309c57042047bd"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderTask.run (cyclomatic 21): RenderTask.run 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818ed9d7326276650c2c3c9202e6eb52b98756647d873c5fb1c902b27fb9192"}},{"ruleId":"D1","level":"warning","message":{"text":"GeoJsonMapper.toFeature (cyclomatic 21): GeoJsonMapper.toFeature 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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GeoJsonMapper.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe4b8f05fe9c5aaa82f04b884942b1e87a7153ec7faa2746858db8c6882aed8"}},{"ruleId":"D1","level":"warning","message":{"text":"GeoJsonMapper.parseColor (cyclomatic 21): GeoJsonMapper.parseColor 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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GeoJsonMapper.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26e8214790fa25a0fdae016ee22ad2dd6abe5c015290f5992b3b237ae43bff1"}},{"ruleId":"D1","level":"warning","message":{"text":"MapViewRenderer.addGeometry (cyclomatic 21): MapViewRenderer.addGeometry 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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5598bbe74e95c7668ca60ac9d8ed6ea7d3a3bbfe0b0e1cb41dcd17bff7f97e"}},{"ruleId":"D1","level":"warning","message":{"text":"coverage_history.cmd_render (cyclomatic 20): coverage_history.cmd_render has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/coverage_history.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aec937fbf1394b4b698c74d8b54c518d83b883dcfc71e097919821d8d99594"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterRendererMultipleItems.onClusterItemUpdated (cyclomatic 16): ClusterRendererMultipleItems.onClusterItemUpdated has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b619c95f269ca9c4e89dbfa06abc783da4d20b28e9a1c66952889224d25a5"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateMarkerTask.perform (cyclomatic 16): CreateMarkerTask.perform has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2684f7c54afa7ae178343477acb217d4394682b42af170d1206ffb7fa0a1d02b"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultAdvancedMarkersClusterRenderer.onClusterItemUpdated (cyclomatic 16): DefaultAdvancedMarkersClusterRenderer.onClusterItemUpdated has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd448f603de7b6f475e370e4a8ed7ebe299114a72692970a27be41167988fa"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultClusterRenderer.onClusterItemUpdated (cyclomatic 16): DefaultClusterRenderer.onClusterItemUpdated has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0205e74fb01238986dc34304deef7bbd32e2e23d10bbb4e4f51bec8c99207b2"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_baseline_profiles.main (cyclomatic 16): compare_baseline_profiles.main has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/compare_baseline_profiles.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7561c11f8cb4ebac76f9870c61d8f269527c145908afde52b08f4f3afc7b3743"}},{"ruleId":"D2","level":"warning","message":{"text":"SuperClusterAlgorithm.buildIndex (cognitive 69): SuperClusterAlgorithm.buildIndex has cognitive complexity 69 (threshold 15). Drivers by points: if/else 37 (54 pts), loops 7 (15 pts) (nesting depth added 25). 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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be31d418686be2517a46c5aa36e6ce14897b4c728a2a171636de5fb30ca42ea"}},{"ruleId":"D2","level":"warning","message":{"text":"MapViewRenderer.addGeometry (cognitive 56): MapViewRenderer.addGeometry has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (40 pts), error handling 3 (15 pts), match/switch 1 (nesting depth added 36). 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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e9f285160296553be854755d1f58b7278198df78fc8b56a9feedcacab9e53"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderTask.run (cognitive 51): RenderTask.run has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 6 (15 pts), boolean chains 6, error handling 1 (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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"65249ebb870b21f71386d30f495b22491843f1b1880e2694af8c45c9406723ae"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateMarkerTask.perform (cognitive 50): CreateMarkerTask.perform has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 3 (13 pts), boolean chains 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89c56581965ae492c6ea008e98fc3417a475e7a6e7558501acbb4c49e974829"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderTask.run (cognitive 36): RenderTask.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 6, loops 4 (6 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c58e8647815ddff3a6cb25468bf0efcdd03ac538dbc153f27ca351497cc6cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderTask.run (cognitive 36): RenderTask.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 6, loops 4 (6 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe026f3a3b159b9206e1c6a34bbcf2cc61458f93caf73bc9d82b0a5151f5453"}},{"ruleId":"D2","level":"warning","message":{"text":"PolyUtil.locationIndexOnEdgeOrPath (cognitive 31): PolyUtil.locationIndexOnEdgeOrPath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"library/src/main/java/com/google/maps/android/PolyUtil.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e5f452bd00e5b55b61d7b01e237c8ebba1cdc0f51358e7f46f56fee69d0312"}},{"ruleId":"D2","level":"warning","message":{"text":"GeoJsonMapper.toFeature (cognitive 28): GeoJsonMapper.toFeature has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 12, 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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GeoJsonMapper.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af45a0d2db04c464e8bd898d5d32bb76766e29fe71583c0e60f80711922a7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"coverage_history.cmd_render (cognitive 26): coverage_history.cmd_render has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 6 (9 pts), boolean chains 2, loops 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":".github/scripts/coverage_history.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"655e75398fa891749f68c8c17a99a6ab7780439d72039c975f0768bd34e5b42b"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateMarkerTask.perform (cognitive 25): CreateMarkerTask.perform has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9447cfecbd5ce03c68dc9fa0378e9cd120a7549278625cd27567f59dceea42d"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateMarkerTask.perform (cognitive 25): CreateMarkerTask.perform has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8c11a0c26859df2e488171500417d5091d7253bcbfb7a2f265f86a04d25a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContinuousZoomEuclideanCentroidAlgorithm.getClusters (cognitive 22): ContinuousZoomEuclideanCentroidAlgorithm.getClusters has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (8 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e7229e67e510a94b181030ab5e0cc4b477e13c063312851d258b6eb92063d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterRendererMultipleItems.onClusterItemUpdated (cognitive 21): ClusterRendererMultipleItems.onClusterItemUpdated has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"3495e0fdbeadba10f75c650dd9882d83d958b7977602f23a0a574b952bab3b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAdvancedMarkersClusterRenderer.onClusterItemUpdated (cognitive 21): DefaultAdvancedMarkersClusterRenderer.onClusterItemUpdated has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45969aa0a42663f34c9a7db7bbd87d44f836ba8ad48865d1ed32e5112d276be"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultClusterRenderer.onClusterItemUpdated (cognitive 21): DefaultClusterRenderer.onClusterItemUpdated has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d84f6a5d2819fde6d1388ec89201affa85d458c8ecf581d9a3a58990d1124d7"}},{"ruleId":"D2","level":"warning","message":{"text":"check_agent_leftovers.main (cognitive 21): check_agent_leftovers.main has cognitive complexity 21 (threshold 15). Drivers by points: loops 8 (12 pts), if/else 5 (9 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_agent_leftovers.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d37a678b5057f23a07b650f12f5c430bab8168f012127e230ee163abfc01e7"}},{"ruleId":"D2","level":"warning","message":{"text":"HeatmapTileProvider.convolve (cognitive 20): HeatmapTileProvider.convolve has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 2 (6 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"heatmaps/src/main/java/com/google/maps/android/heatmaps/HeatmapTileProvider.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a0ae2cac82d002966aa3ab50dd3ddc9e623037090faec425e034efa554aaf3"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_baseline_profiles.main (cognitive 18): compare_baseline_profiles.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (3 pts) (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":".github/scripts/compare_baseline_profiles.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"013eee5e827a27b5845b16b3c92470eeaa176ef820066a88dba13c2841bf6816"}},{"ruleId":"D2","level":"warning","message":{"text":"coverage_history.collect (cognitive 18): coverage_history.collect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/coverage_history.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c01ed71f730d6b9f654de57a21ec58350668a32861caae7dbfb24568a484dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatKdTree.queryRange (cognitive 17): FlatKdTree.queryRange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bfe0f3b7dfdf63fb782ddec8c41fcea4851edbbb5921d6f5c561beb7a0b36e"}},{"ruleId":"D2","level":"warning","message":{"text":"triage_issue.main (cognitive 17): triage_issue.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 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":".github/scripts/triage_issue.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80f75b41bc4694810380ee988f1888434f9d54fb08b234befbff8c424b1813"}},{"ruleId":"D2","level":"warning","message":{"text":"PointQuadTree.remove (cognitive 16): PointQuadTree.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/quadtree/PointQuadTree.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b4f21ec81b1b1ea57f40aa9a1f0316f1389b3e1ef73383cc78e4c6330638c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClusterRendererMultipleItems: ClassTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 286 over it, 1.72\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7176b6ec5ae8ca91b03bc927c03cd2942bfd3362b8e4b0f549f2c4701d2fbf9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SuperClusterAlgorithm.buildIndex: MethodTooLong \u2014 buildIndex 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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a34240c7f2b218fb909473cf760893d035e9167792b82d4f7bc9e784ec786a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/ClusterRendererMultipleItems.kt: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ClusterRendererMultipleItems (76-1382). The bar is 500 significant lines; this is 241 over it, 1.48\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6edb955700a6ce9716378dd90801b08490763449f785e0415f79737104e2a90"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultAdvancedMarkersClusterRenderer: ClassTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 172 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daf2e50e1303dfa913aff52ea015002a9ccabadb73aac3e1059bd5f68fbfd45"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultClusterRenderer: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"331eba6fd1f8214df8ac9fc0bf8ff1775f04008855abb8c762acd2061949880a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/DefaultAdvancedMarkersClusterRenderer.kt: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: DefaultAdvancedMarkersClusterRenderer (72-1242). The bar is 500 significant lines; this is 123 over it, 1.25\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79f83bb43116f665a73a51b33ad331facada387bb24df9d044b79648f8ca3f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/DefaultClusterRenderer.kt: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: DefaultClusterRenderer (71-1250). The bar is 500 significant lines; this is 121 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f625dac75d61edfd6e0247e59d5e5cc21aeaea28bdbdb151c01167befaad4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SuperClusterAlgorithm: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 86 over it, 1.22\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9d28d7aa2c1ff3af3ebbcf88324f34f8c10fc6abf0eb89ece8902e23ad35a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterRendererMultipleItems: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c98a5fe6b0a7383182298a561e2186a29e74d07c46c50df53a143696fc19a2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KmlLayer: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 54 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"79732ad1a6de3f84d3a7bf6d7afee7fc90dc824b791ea0189183f4ce9fbd7b9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultAdvancedMarkersClusterRenderer: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"338c464f7a8debcb86c6b0cbf7557fb4dea3c9b817eb5ffd54a4c1375987dbeb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultClusterRenderer: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a21a7c40cefc523770cba8ef74baa9f55c6b3ed0448bf44a04f0a115a98175"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KmlLayer: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f6cf239fb52f45cfdab6c8047ddf4e9c0774de435777e2bcdd19c070bf67c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: android/Units.kt: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"library/src/main/java/com/google/maps/android/Units.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab11a857d3861a9cdf7a554496942dab35bbee4d58b6d401ecda2bd5adcc62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: algo/SuperClusterAlgorithm.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: SuperClusterAlgorithm (71-773). The bar is 500 significant lines; this is 2 over it, 1.00\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbdfb1ac13aaa1d2232484d7a8099851fbcb6aece9bd3a733078a38c371eeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:480-594 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:488-598 \u2014 These two members are one piece of code written twice and then edited apart: 111 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf19af3bb33caf9661cf8b314ee2ccfd52733dbcca9a95fa94361f15f9a34980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1105-1161 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1119-1169 \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc74b7e955e5045756c36b93a4feb716f7bf297c99d2cd15e807dc0eea10ec6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt:123-156 | clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt:188-225 \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":"clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82dd49a03d4f3b613932705a037f36fef9423b8ae4d06bcc0cccc1de4438de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt:24-71 | build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt:74-129 \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":"build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3a19c37fa6dcba84e058d33370eecfe427e8db01bc6dd0ac5cb51a0d0e2dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:334-357 | data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:369-403 \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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a6676ba21c0794fef96709c6eda239860a7053ef9e4f7ded9fb0e201acfc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:177-207 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:370-400 \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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0237b4ee5876880a36c12bd15c92b170798d54b4ff1fdeedb4b9428a5b99e68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): clustering/src/main/java/com/google/maps/android/quadtree/PointQuadTree.kt:59-83 | clustering/src/main/java/com/google/maps/android/quadtree/PointQuadTree.kt:120-140 \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":"clustering/src/main/java/com/google/maps/android/quadtree/PointQuadTree.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"894047a16f6b46d951dde1b34f886e142b6fdfcb56689869df00cd2b9c373992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): library/src/main/java/com/google/maps/android/location/LocationManager.kt:48-84 | library/src/main/java/com/google/maps/android/location/LocationManager.kt:103-139 \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":"library/src/main/java/com/google/maps/android/location/LocationManager.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0297fcacf4b8395aad557324d067430a778d4a0956f54f1d7fa3e7e8d61f5e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): library/src/main/java/com/google/maps/android/Units.kt:865-881 | library/src/main/java/com/google/maps/android/Units.kt:983-999 \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":"library/src/main/java/com/google/maps/android/Units.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c984ee5c7bfa0bc397c56cb4d20b2cb5df132a1863d9cb71b00b22b8633d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data/src/main/java/com/google/maps/android/renderer/GoogleMapRenderer.kt:111-128 | data/src/main/java/com/google/maps/android/renderer/GoogleMapRenderer.kt:130-149 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/com/google/maps/android/renderer/GoogleMapRenderer.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"14de4524a23ab0329fb58780d7ec874fd247482861389dc64129817943d37992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:966-975 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:903-912 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:907-919 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fb08402525b6eec37e4bfa40b22ccd1cd42862a209198660d806b551629177"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:282-290 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:244-252 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:252-260 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac72ea83a26c63c2c4f8daaba49af0e25af1340dbc86f6379fa296c1d56cfc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data/src/main/java/com/google/maps/android/data/renderer/mapper/GpxMapper.kt:64-73 | data/src/main/java/com/google/maps/android/data/renderer/mapper/GpxMapper.kt:75-82 \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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GpxMapper.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeed021a091cb0a13e72359e7480dc0e744cb76a19e112f951c6f9f47cda406"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:1357-1370 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1217-1229 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1225-1237 | ui/src/main/java/com/google/maps/android/ui/AnimationUtil.kt:77-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"30524b1a987d0bc5be559ed8c1b717720d1947f792abc752a6b98cfc86e60089"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:776-790 | clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:800-814 \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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd49406505dbafa96edeb5f3ce8c5ec15045b6510cfa109e4d6b15c77ac52dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:448-452 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:454-458 \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":"data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1549e067d84ef0c6dd567c98f4b7afc006141a07bee2580657f3469ba29cebb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:371-381 | data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:383-394 \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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff9a871d9cacb982832079ba130038940451619c0e5ad8360afd1cd2d9ea2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt:204-204 | clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:1380-1380 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1240-1240 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1248-1248 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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":"clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddab7f0fcc272c431de7fc4c2f522fd28e05acf52e948422a5a929502f684e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:520-589 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:524-593 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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 \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:520\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b5051f6394235f9edad236209aac29bab521eb338dc2759dcad55a22251a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:997-1041 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:934-978 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:941-985 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"0975c3dcdca877e6374cbc38f4c61970ff2a7cfae63203bccce3031e59abb370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:521-564 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:650-693 \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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"617c1ec771c840a1af95bd84154b5a26f1ee4fc1992db38b89b160712b576215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:389-423 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:343-377 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:351-385 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"7735b811ae2ffb37d171f6b48d1cf5ecd2ce7572cc47ceb162fefa604c4847f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:484-516 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:490-520 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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 \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:484\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"86052e65365ce243d4815a0dcd1aa5d9cc27eda500535c322a757c7a9d3026bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:817-846 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:754-783 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:758-787 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"1378b4ef985ac41c89a30a89bf8e1f26620763fabbf5b035714857d06be105b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/DataLayerLoader.kt:146-174 | data/src/main/java/com/google/maps/android/data/DataLayerLoader.kt:176-205 \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 \u0060data/src/main/java/com/google/maps/android/data/DataLayerLoader.kt:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/com/google/maps/android/data/DataLayerLoader.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8b7ffda7dce05eee73fec5fc87ea90534b6fba360caaba2c9ad19e2e39b866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt:62-89 | clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt:152-179 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt:62\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9796563297ba3ad728ab4ac8d23be29bb63e745cb02ba7cb42577016b71e0a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:334-359 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:288-313 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:296-321 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f64da42ecd31624fe19df407ef1b780580e0f298aa079dcc824de0c496e526a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt:45-70 | build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt:104-129 \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 \u0060build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt:45\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":"build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5959b3d74c9e090e012c6446d3f4883c636da07328b4ac83fb70ba85b1fd9cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:299-324 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:405-430 \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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14014c0be71938fb55c2f36d75170f428f90aaf8b14794156b764a813988bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:178-202 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:371-395 \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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbb3a8cf2d1affbe88849a5545bf1483d22a651e7928fa620379e7c2ab8aac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:210-233 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:218-241 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61239f1392f3fcd677a5ece8515f069eaae01a4accea01f99ec4a272bfe9163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): library/src/main/java/com/google/maps/android/location/LocationManager.kt:50-73 | library/src/main/java/com/google/maps/android/location/LocationManager.kt:105-128 \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 \u0060library/src/main/java/com/google/maps/android/location/LocationManager.kt:50\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":"library/src/main/java/com/google/maps/android/location/LocationManager.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56bc0dc555e52631cf6fe3aa9b31e47c38629dde12a80405d3151960e9a7550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:852-872 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:789-809 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:793-813 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb272d93b7301f0a9be1256844e9b85e28c023c9c4463a163dba093abc3e3d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:163-182 | data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:185-205 \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 \u0060data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:185\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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"622a2dfe2bacbe338664b885dfe36f031d1c6e0141708310b59dcbe5071f5881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:579-596 | clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:624-641 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:579\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"012343a2924bb6a589fe878499c6ad43a87183d6123ebaed106bf9028f7e1921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1126-1139 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1137-1152 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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 \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4aa705c2fa0653b793939a571702a4501c4de83141cf83a4a0a58fec10e35a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:689-702 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:653-666 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:657-670 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7fc6414969938fa6fc43a136098869ba1fc0f4f338d308a1025497df9729e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:1074-1087 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1011-1024 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1025-1038 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"82882d00e90234020d11a3908e7bef249c8948f3c5fef9fd5eb9a82dff1c398a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt:40-52 | clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt:138-150 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt:40\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33baf6fc6508e08474ab588110b1acccd7650f3ee7a1718ff85766a60ef8ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:293-304 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:255-266 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:263-274 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"626b3233541a488576912d9dae9e2152e82e186a4b61ba32fb4812920f029a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:366-377 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:320-331 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:328-339 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd135fe8144c73efd0818f523c2e45ffee9310445adbbefbc357aa6a7e187f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:552-563 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:557-565 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:561-569 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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 \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:552\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, \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:564\u0060 calls \u0060d\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:566\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deefbdf6a9d440d5b918b3ca436b90cc804f9f58a60fbb1943c4a1523587c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/CentroidNonHierarchicalDistanceBasedAlgorithm.kt:64-75 | clustering/src/main/java/com/google/maps/android/clustering/algo/ContinuousZoomEuclideanCentroidAlgorithm.kt:92-103 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/CentroidNonHierarchicalDistanceBasedAlgorithm.kt:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/algo/CentroidNonHierarchicalDistanceBasedAlgorithm.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4143f701ea3e9c5c784397b1d84867188c264e228e065210f8f79c7bd00f00a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:269-280 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:277-288 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ba3fbb212d5825cb96967e8a922fdb352e4af7855871c33a09cc9c5421255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1150-1161 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1158-1169 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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 \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1150\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ab70335c397f1a7c2347292f526e728e1e236bfe41c16a972e9c9cf150d897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:148-159 | data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:244-255 \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 \u0060data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee6b7a87b2212152474584a54ce483a182e37e8fef0ff555d3ec76e69d5fa98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:1358-1368 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1218-1228 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1226-1236 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70910ce8cf70f216d20a7e162568d5fa6aa5854b7817cb8b5caaf5692641e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:135-145 | data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt:149-158 \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 \u0060data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"184c2a91faeeffb9cbd6f3e9f1528bff16fab3fd2a552b34d6374fd36b2c3aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt:142-150 | clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt:211-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering/src/main/java/com/google/maps/android/clustering/algo/FlatKdTree.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf9690d41aa249d4490877872c20d6959cc358ddc733fac13e4e40baa3531ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:425-433 | clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:502-510 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:425\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33790fdc815e3f1f7c700f485e0c6494b2dc8163dcc99f8600a80707fc83ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:449-457 | clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:535-543 \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 \u0060clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt:449\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":"clustering/src/main/java/com/google/maps/android/clustering/algo/SuperClusterAlgorithm.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86a60383e8e928603d277726e1e80e5f7be5b4886338e06584392797793f7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:283-290 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:245-252 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:253-260 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32d41a30a86911bb14c81ab5f6be438356d6eff0d0ded5defdcb55967d6d65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:967-974 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:904-911 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:908-915 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:917\u0060 calls \u0060zIndex\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:975\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db6ed2fbf1ddad448e92e95a06b6949c1d796fd590852c655e845747cfc4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:339-343 | data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:374-380 \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 \u0060data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80d1f008c74bbd225f71192b28f961ee5017d64f88dbaf9c4a8ba87b2eb32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt:30-36 | build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt:84-90 \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":"build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73077b109d67209031e9195bfc22c8773e1e356db6d57fcd2756124a46c8224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): library/src/main/java/com/google/maps/android/PolyUtil.kt:453-458 | library/src/main/java/com/google/maps/android/PolyUtil.kt:462-467 \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":"library/src/main/java/com/google/maps/android/PolyUtil.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23ecebede170db3055aa58b55821468db96e5468ea83adf6d676a4dee6d78c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:273-280 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:235-242 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:243-250 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf646d34485224e403f19cf508e7df61131b43bd5b57494c039c826c1221b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt:900-917 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:837-854 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:841-858 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 274 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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d986df191e0847c29dfb01e79a87f92f545a868f3bccd828637dbccbf6883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:471-477 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:479-485 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eb86c1c8857945d218ef710c1715c9380173315bf8e1d4a0964538f1ec796e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:696-705 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:700-709 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"84450128c68ed125f9062ad55dfe856fdbe0e5c85fda31c676d27fca6abc4570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:713-722 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:717-726 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aa7669b47cfe0c5bcb54781ab9f82ff45e0635cc2c7021aaa23239930e6329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:745-751 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:749-755 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6061938eb1eb18f49e6fe0bc262314df28c42753b6a878efacdc1f5028c28701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1194-1201 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1202-1209 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"051e83a11e81a3092a1d5b06ab6d3407ff4b7f19263963978492bb672c4ea3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt:1203-1210 | clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt:1211-1218 \u2014 before extracting anything, compare \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt\u0060 and \u0060clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 491 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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"625509263cfcbfdfcb7f98f2193fd0b7f6d3b86b3de9b28a3ff39430b8e2d8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt:362-368 | data/src/main/java/com/google/maps/android/data/renderer/mapper/KmlMapper.kt:280-286 \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":"data/src/main/java/com/google/maps/android/data/kml/KmlLayer.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25e2e241a6bf3d8f07ba62978328f65344df227475ca7003c1346e0044a62da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): visual-testing/src/main/java/com/google/maps/android/visualtesting/GeminiVisualTestHelper.kt:106-119 | visual-testing/src/main/java/com/google/maps/android/visualtesting/GeminiVisualTestHelper.kt:246-259 \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. 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":"visual-testing/src/main/java/com/google/maps/android/visualtesting/GeminiVisualTestHelper.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c79e748d64d72914bb3cbb047e24ae14669787bdf7341e6d6e8743df4cbc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:274-295 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java: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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d8668041d47354c62ec291be79f241263b1e4b2b3ad80f6beda6de04d5a930"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:144-161 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:198-216 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e4395c157b38cba9736fa54f56eda18b5559566d7b204859b6793102db13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:97-125 | demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java:125-153 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:154-179 | demo/src/main/java/com/google/maps/android/utils/demo/ZoomClusteringDemoActivity.java:43-66 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72f73567386c80169f1d7e4b5b85eede969fee084c6c0651c8d39e81f97533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt:405-415 | demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt:419-435 \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":"demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6930ce1f044911d96935d96f75944abf63068f9f10684aef0dd400da3ad5c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt:304-315 | demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt:320-331 \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 \u0060demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt:304\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":"demo/src/main/java/com/google/maps/android/utils/demo/ZIndexDemoActivity.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef45df76ea2b0f912ba33e9e3672433004b1004d094cb75dfcfcb3680785701b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:99-118 | demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java:127-146 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e86af4173274f273e3e6e5fbbfc7de68452853659dde3831eea5c957356784b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:103-120 | demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java:131-148 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:158-174 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:103\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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f465784bdd8303d8a9b39d690f621facd004ca109f1fd6d62485f21957b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/PolySimplifyDemoActivity.java:89-104 | demo/src/main/java/com/google/maps/android/utils/demo/PolySimplifyDemoActivity.java:108-123 \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":"demo/src/main/java/com/google/maps/android/utils/demo/PolySimplifyDemoActivity.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6311618c76ceb46808b9be531eb549ef4b86c4de8ffce5e9021e0c708b4114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:145-157 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:199-212 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8917fad37d6d406578e229d4b6d907cd6f53dbc1fb633436897e4fb6a9642db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/StreetViewDemoJavaActivity.java:78-91 | demo/src/main/java/com/google/maps/android/utils/demo/StreetViewDemoJavaActivity.java:103-116 \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 \u0060demo/src/main/java/com/google/maps/android/utils/demo/StreetViewDemoJavaActivity.java:78\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":"demo/src/main/java/com/google/maps/android/utils/demo/StreetViewDemoJavaActivity.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca3f806a38951b61bc563c3fffd4cf4caa8da6f2aee1ab5c987df78c407f906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:211-223 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:63-75 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb41b82b7b518cf71321a62ee676010794abba827f238dc758d9f23d282000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java:47-59 | demo/src/main/java/com/google/maps/android/utils/demo/VisibleClusteringDemoActivity.java:57-69 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/VisibleClusteringDemoActivity.java\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. 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":"demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec645cf605825dfae2ca8fa5df54bf639cbc7b342e6606bf76c27c94a1d5730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:151-161 | demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java:184-194 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:206-216 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:151\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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab635bb3f6f6b3378e647d535b1fc13940d62b17ae1c3e61c5a5a1fd6b1687ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:157-167 | demo/src/main/java/com/google/maps/android/utils/demo/ZoomClusteringDemoActivity.java:46-56 \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 \u0060cluster\u0060 to \u0060Cluster\u003CPerson\u003E\u0060 in one and \u0060Cluster\u003CMyItem\u003E\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":"demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e308e455ed43e8bc988c53b755c94e1438939cf7cb92f3a4f29bc7a543a78362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:287-295 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:136-144 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 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 \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:287\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"995fb5525fe98c415a91f5d1467caa6f04f0e257c9566dd59c025d5a6f1513b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:275-282 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:127-133 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 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 \u0060demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java:275\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. 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":"demo/src/main/java/com/google/maps/android/utils/demo/ClusteringDiffDemoActivity.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c79bb924d8455dd66460f7a6781dd203111d53eafa9a5f2c56e19495cb6c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java:49-55 | demo/src/main/java/com/google/maps/android/utils/demo/ClusteringViewModel.java:41-47 | demo/src/main/java/com/google/maps/android/utils/demo/VisibleClusteringDemoActivity.java:59-65 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/VisibleClusteringDemoActivity.java\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. 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 \u0060demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java: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":"demo/src/main/java/com/google/maps/android/utils/demo/BigClusteringDemoActivity.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6a674adec046f7deaa4411aed77cfe6c8c7357178168f3f1bbb5b518af24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java:198-223 | demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java:220-245 \u2014 before extracting anything, compare \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java\u0060 and \u0060demo/src/main/java/com/google/maps/android/utils/demo/CustomMarkerClusteringDemoActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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":"demo/src/main/java/com/google/maps/android/utils/demo/CustomAdvancedMarkerClusteringDemoActivity.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d70310d23bb77dec98cc626263ec786548d3dd638d60764840af998eec4e89"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:visual-testing: .:visual-testing: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"214cc9284e301f6146d02d89a9a769e5d7b908cf3666040b83aabc3a935e18c8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:library: .:library: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ad6149d99ebfdaf321f41d249ae82567dbbb20d3ce50981f0f5bdb7947b2b267"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:ui: .:ui: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07db720d9ddf349789163988c5e972142dc2734262e3cd39c353490187e50320"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClusterRendererMultipleItems (LCOM4 5): ClusterRendererMultipleItems\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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb1e25548c195be5009f17102a9adbc59c24d3e22fd9e3a8cde7bbfc0055098"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultAdvancedMarkersClusterRenderer (LCOM4 5): DefaultAdvancedMarkersClusterRenderer\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8a5205736db328f6ccf8d866e15d49a9554a96f0a328b19cf1e5fcf0f28078"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultClusterRenderer (LCOM4 5): DefaultClusterRenderer\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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eb540b6b6be8e596c671ad459b233da8be88479fafcf651c089b45de42ff41"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Builder (LCOM4 5): Builder\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":"heatmaps/src/main/java/com/google/maps/android/heatmaps/HeatmapTileProvider.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd953076dfeb0a85550e18b9576e1746e7ffa8420e9cff3512e28f32d63330e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt: clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RenderTask.run at line 490. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:41:13 -07:00\u0027 --until=\u00272026-11-13 14:41:13 -07:00\u0027 --full-history --no-merges -- clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"47438464b8ee5f6f8ecb1ecf4477afcad1d858479108fd0c87df98d07c0715da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt: clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RenderTask.run at line 480. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:41:13 -07:00\u0027 --until=\u00272026-11-13 14:41:13 -07:00\u0027 --full-history --no-merges -- clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb64c1449d3496d26f471ef83674100544196237b49ba5ec993fbd042b2b80e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt: data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MapViewRenderer.addGeometry at line 156. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:41:13 -07:00\u0027 --until=\u00272026-11-13 14:41:13 -07:00\u0027 --full-history --no-merges -- data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.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":"data/src/main/java/com/google/maps/android/data/renderer/mapview/MapViewRenderer.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a13930f23a4e1e6fbd0c434e2bca3a39448c1ea9210251865521e1303a544"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt: clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DefaultClusterRenderer.onClusterItemUpdated at line 940. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:41:13 -07:00\u0027 --until=\u00272026-11-13 14:41:13 -07:00\u0027 --full-history --no-merges -- clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f215ad3a18e80150ea648962aea554b96eb4a27f17c879d94e07d07b457fdc3c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: library/src/main/java/com/google/maps/android/FlexiblePolyline.kt, build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt, data/build.gradle.kts, clustering/build.gradle.kts, heatmaps/build.gradle.kts, collections/build.gradle.kts, ui/build.gradle.kts, visual-testing/build.gradle.kts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf63b487f8c32bd7b8f60153e1afe93821897c3007b39ade9bb913b0642b1704"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt, library/src/main/java/com/google/maps/android/PolyUtil.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fb49ec27fa025ec3f808ce79b1783f4b01232ed87d0e49d8dd5ec7a7d20b7d78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test the gx:Tour when implemented \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":"data/src/test/java/com/google/maps/android/data/parser/kml/KmlParserTest.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df53b518ef6d56472f05866004d78027920326da84e43c1cfa24f424266e31b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Marker styling (marker-color, marker-size, marker-symbol) \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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GeoJsonMapper.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f137c9d4c73fe6aeb5c8c096215f12b1d94e0a627a08d2dec6bf6eaf9d5113"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Map other properties like heading, hotSpot if needed \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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/KmlMapper.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac8b60d6c3e311fbe1829087215958d23aef239fcf63e07fa6bbc8bd587535"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle outline property \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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/KmlMapper.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a17e9943c23fcf56dd8f2901f89fef32e326d10a2b9d9a5880ca95b4048e1b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"311f62779e836f31a44adf51d929589098d64881d68a3d2c36436fd3493555f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"052438113dcd6b2efd4dcbbab9c49cdd72e78b65371530519371fe38261631d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb51ef08946e01767865cc8906a129c9a2e2df2b18c9a13bd8ade141ca6d176d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d4d18d235bf19adf36ebba37a5a9f8bc316e575759d405a8e6ff3708cb405f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4334f9e7c2f3284c2ca1231ef0671622416135d048070dfe70f2d84f6ed6f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to remove this. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"3174aba41431ed95693e8959f13a3430842d7c2e1b8a4ec00bca667eb1580737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"810532f72ee5595d86a813c3adbca6af81dbeb079677809a42d470095cfd1029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ad21474286db478ad004af11acaefdf038e8358f3fd472704e4b6f9526903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce52471203a77af5626f9f35f1bcb2cb9cb8acabe686edd3dc1502523f4ff83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1e5aa48ca5198dbdfea0efaa31b79e942a259e3732a6405b09aa07369fd47c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcebbbcbadc34085e7af0b8fbe40242957768f6d60ab4067af07fb85b531640"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider adding anchor(.5, .5) (Individual markers will overlap more often) \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaae9894426334e7389d6e3b75b806595dd2c377593de9e801e2c64945c3bad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add some padding, so that markers can animate in from off-screen. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d8405bcfa29f7773c6c215d03722eb5818c530ccc13f4d8a61c4c775d690e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add some padding, so that markers can animate in from off-screen. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56ce13194768c226ba6a8aea428113e75333f7d5fea46b60a6896f3b2e54272"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drop animation based on speed of device \u0026 number of markers to animate. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63c9f9ccca0a26fc3ba90f8183d4b27e234256c4d51933185d702cf417ab71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drop animation based on speed of device \u0026 number of markers to animate. \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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.kt"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b67cc1375b307d41c3ab2be1f4b08f942d297e6693d8b69b4783528d65ca678"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Can this be optimized to update the item in-place if the location hasn\u0027t changed? \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":"clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d00e57e5b9ae29734c22d8c07ad8415c541054437e73cc6960e4169c8c6046"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use a span that takes into account the visual size of the marker, not just its \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":"clustering/src/main/java/com/google/maps/android/clustering/algo/NonHierarchicalDistanceBasedAlgorithm.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db97013bdb8f2ab94018290dce98adcca24577c71acb993d299b9d0dae34236"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate maxSize parameter for LruCache. \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":"clustering/src/main/java/com/google/maps/android/clustering/algo/PreCachingAlgorithmDecorator.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b36712e3ce339c4ba14320a79381702140e7073343ffa03fc301a5e314450d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if requests are already in-flight. \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":"clustering/src/main/java/com/google/maps/android/clustering/algo/PreCachingAlgorithmDecorator.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0561cb462125b2a9ee74603d9215461bd78a8a27dbf32a57fcf5446fdf184625"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 10 project(s) overshoot their size bounds, lowering Project Cohesion to 7.3/10. The most over is \u0060data\u0060 (6875 LoC, 170 module-visible types across 15 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"dc095da06ed0256267f33fb2a8d58563ccd9a50481d7a73ea99b5d6dbc160cc9"},"properties":{"commitSha":"83f961d13014bbc4333a7c89605646973a838cd6"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"dd29c2969e325a9c3dd4cf7544ee5ffbffa142734e1eb456cfb0db605b830a38"},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","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":"c264f87e07310bb82d85f643b6a371f8d870cd1bf50ec6192b9d75b764d925f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4029383ac4f09c15231dc999e513045a6459b9f4df8f30f4d180f1165e558fc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f7ec34435e2bf4e0637f34b5800d2dd9a4e6b29f48175556c61cbd619e9c4ec6"},"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":"27a88a6314b40e39fba87ca8520eb0641b7c9a9a7459a6886d5faaf8938f2a7e"},"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":"d03b7780e287165294ad4f5735a21bb34f584dcf88a806b8d32d6ce5efe4618a"},"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":"6a8783cbc1e625022d7dbae489c9948e2de55e3e457f483690c594cff2306a63"},"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":"fcc775c06e44de07f27827a90f7cfb5e001883a7b11ead1527533be3872e0892"},"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":"545556f38b6f2419605f2ea6f783f5a4165502559c252532be4db07d2dc7de8a"},"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":"33204460341f6135060f0e9944c6a0863e81f6ae98acd7049f95ef9ff04fc948"},"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":"867b303e3e5f5819f093156b6509ffaa1fd910e65d38ebc645d62acfb700915f"},"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":"af06e8ccca99e50b255f744114476b05998cd41b5d5663f11d0f1ca1d2fd7e9f"},"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":"ac04ba556af946e85f1048d0b2f7b2cb0c9fd82f8e70182b2af099167c8ebfe0"},"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":"8d453c1ab36d3e5d77cabeb51e210999af1b711cdb0a5dc243b01fd03d34e478"},"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":"e457e364fcb95622eb3a5684cc60e254a3372b482a44fe373f019935c6cfd152"},"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":"1f77f1efd3b314d05fb264348a1f62f6efefb5e26540de19924654c5eef8e424"},"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":"73966f4785b5169bc999986060891aa3af0b1f8a65b21f9ebdc3731f090deea1"},"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":"cfc00f1739e9b043050ffe9d4756a7cdb0589607f541307947419ad99c14b6ac"},"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":"aad4439519a341873edd6f690978c69e21013a22f8e819953332381ea3efe330"},"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":"5b378d2072b7b9640e4af1fa0c1d07073dd78de335360730ab9838d5edb4b3e2"},"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":"6e193026448d79c8a813d21a4c039fc192ef3c19552259bba0eef5bc98f1dbe3"},"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":"f6b5debd6fe96d634728eb20a180840fb488a06ca19925c7f9a1b42fe77c4573"},"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":"18c6602f22872cc16b01f1745eacff538ad5f0c7e7db90416ce1fe06927549aa"},"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":"4bf23bb247899dfa84f48e6ae5cf1fba69185a03c822ce92ee785a2f2ca7c474"},"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":"2eca5d2fef7de45617c98c01f7096fb2d73fe50fd8e81212095fdd232f0a19cc"},"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":"bab96ab9ae9a50f695ca19bb8c8788a8b9b7b4fe7c338b4fe2b18f979c6ba143"},"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":"cac2c003cd3f09791ebb0f6d8a25205e374f418ce762426e217b8b239be8e7ca"},"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":"be738d8a6b8747996e74b88a3eefff0eb47f91332966b2d557728051d24e65a0"},"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":"fbc747d4b4e3f071a66da5a8975ac35f86adc9833c4a7922c0e88c0b294917be"},"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":"21d28a27d92096250f3350277817f23958b8fc2580b36a80dd2f5770d2f81d81"},"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":"f3427cd2acb2124f76c47b21198d1f707992baee385f8037423a764eed626eee"},"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":"5f8c3958786c5dc7991045334fe6761bd0fe8333339041ddb1cf4b7f5426af9f"},"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":"6c75fa7884dd122a2f92efdb47543a5e9d009d515ad7a7133c6e510314ff3c58"},"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":"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bde68c06235b5edc50b6a1e947bf53b16cce371220325bea46ccb7e473f051d"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"734641833d40a06d8b4e7fb6903d640459c135eb8892553c910e8d2b12af4a21"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dbd316200c34066522dd69b75fb238a9cba20ec6901c83b4986fc8d165e263"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31acd0d2d0d3029a1624b613a2f97445dd7385defeb9894a5fe6b2f8b276ac2c"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d1e31d7b49a2d86c561850c5cfaa81ca8967d5c3e4bc0d53eb36916fdd4a9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e30f64cc22db56f44a59020107702220b2ab2ee7b78435b8a770ee81095f55"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.jsdelivr.net/npm/chart.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clustering_benchmark_dashboard.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d58330c7f9f50eaa2398110bb125b59f89313f927f9cb2c2491be2fdbb82b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!zoomingIn \u0026\u0026 zoomDelta \u003E -3 \u0026\u0026 onScreen \u0026\u0026 animate\u0060 appears character-identically in 2 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3074b76b40285076396261c76623550e4f1e61d1b899d00d97aa7a6343c0cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentBuckets.isEmpty() || size \u003C= currentBuckets[0]\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"43815dde57225c45e735c9ae40898c37ff6077e7e2b4d4e89096f4652bed4de6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060findProperty(\u0022signing.keyId\u0022)?.toString()?.isNotBlank() == true || findProperty(\u0022signing.secretKeyRingFile\u0022)?.toString()?.isNotBlank() == tr\u2026\u0060 appears character-identically in 2 files \u2014 build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt, build-logic/convention/src/main/kotlin/PublishingConventionPlugin.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":"build-logic/convention/src/main/kotlin/BomPublishingConventionPlugin.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"db061509299e3181b287223fea87528dc1f0f32ea24e3fb1460479ed5b20c6b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.title != null \u0026\u0026 item.snippet != null\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbba6324f589586f8a0e7b97b62dec1702edc739a40e3084477da5f348403b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060itemZIndex != null \u0026\u0026 marker.zIndex != itemZIndex\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa272e4ff80f68150bdffe6009ef8bad138e3386dbea6251cadcac21963dca2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lng.isFinite() \u0026\u0026 lat.isFinite() \u0026\u0026 (alt == null || alt.isFinite())\u0060 appears character-identically in 2 files \u2014 data/src/main/java/com/google/maps/android/data/parser/geojson/GeoJsonParser.kt, data/src/main/java/com/google/maps/android/data/parser/kml/LatLngAltSerializer.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":"data/src/main/java/com/google/maps/android/data/parser/geojson/GeoJsonParser.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fb6a3b07794d2acc23c2b9bc295c505cbe9cd0e5a5869208652a52468c8b55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mAnimate \u0026\u0026 sphericalMercatorProjection != null\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02ce69ebe3d506cc68f55278a292b44f34095f324074b49e5741ca7a64ee107"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mCreateMarkerTasks.isEmpty() \u0026\u0026 mOnScreenCreateMarkerTasks.isEmpty() \u0026\u0026 mOnScreenRemoveMarkerTasks.isEmpty() \u0026\u0026 mRemoveMarkerTasks.isEmpty()\u2026\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff15e11c9e455cc36a571206422f0f20374e6cd8c7b6fe797a9b1ecb65c6cdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mManagersMap == null \u0026\u0026 ( mMarkerManager != null || mPolygonManager != null || mPolylineManager != null || mGroundOverlayManager != null )\u0060 appears character-identically in 2 files \u2014 data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt, data/src/main/java/com/google/maps/android/data/kml/KmlLayer.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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a84daee53592accf4949bb252ae4c6236cb06e7931a82a5bba7a571f1cf96b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060map != null \u0026\u0026 mManagersMap != null \u0026\u0026 map !== mManagersMap\u0060 appears character-identically in 2 files \u2014 data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt, data/src/main/java/com/google/maps/android/data/kml/KmlLayer.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":"data/src/main/java/com/google/maps/android/data/geojson/GeoJsonLayer.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2118d7a7160effb396ecf80f79d1bbc964a5e65ef31806985376e4d30ef73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldRenderAsCluster(c) \u0026\u0026 visibleBounds.contains(c.position)\u0060 appears character-identically in 3 files \u2014 clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultAdvancedMarkersClusterRenderer.kt, clustering/src/main/java/com/google/maps/android/clustering/view/DefaultClusterRenderer.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":"clustering/src/main/java/com/google/maps/android/clustering/view/ClusterRendererMultipleItems.kt"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"742fedbc46c708b0da1cfe0380c6affb48abeea82345172d3843a6094c87e043"}},{"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":"data/src/main/java/com/google/maps/android/data/renderer/mapper/GeoJsonMapper.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f58b2bce51d796032c9028aec4eea7853e8f6c8dade017cf9d9b455a5600d6b"}},{"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":"data/src/main/java/com/google/maps/android/data/kml/DefaultKmlUrlSanitizer.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc8ab75ac68ac3c771b60f0dc3f8ec2f85c8f4cfc3c64d8d3fe8277ab66219"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":39,"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."]}]}